ppc64: Don't set Kp bit on SLB
[openbios.git] / arch / sparc64 / ofmem_sparc64.h
blob58802b4dc085a4b7fd95edd4f325bd897428cf62
1 /*
2 * <ofmem_sparc64.h>
4 * OF Memory manager
6 * Copyright (C) 1999, 2002 Samuel Rydh (samuel@ibrium.se)
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation
14 #ifndef _H_OFMEM_SPARC64
15 #define _H_OFMEM_SPARC64
17 #include "libopenbios/ofmem.h"
19 extern void ofmem_map_pages(ucell phys, ucell virt, ucell size, ucell mode);
21 typedef int (*translation_entry_cb)(ucell phys, ucell virt,
22 ucell size, ucell mode);
24 extern void ofmem_walk_boot_map(translation_entry_cb cb);
26 extern translation_t **g_ofmem_translations;
28 extern void dtlb_miss_handler(void);
29 extern void itlb_miss_handler(void);
30 extern void bug(void);
32 #endif /* _H_OFMEM_SPARC64 */