#define pmapBatIVal 0x0F000000
#define pmapFlags 0x00FF0000
#define pmapSubord 0x00800000
+#define pmapVMhost 0x00400000
#define pmapAltSeg 0x0000FFFF
unsigned int spaceNum; /* Space number */
/* PPC line boundary here - 020 */
#define pmap_phys_address(x) ((x) << PPC_PGSHIFT)
#define pmap_phys_to_frame(x) ((x) >> PPC_PGSHIFT)
+#define PMAP_DEFAULT_CACHE 0
+#define PMAP_INHIBIT_CACHE 1
+#define PMAP_GUARDED_CACHE 2
+#define PMAP_ACTIVATE_CACHE 4
+#define PMAP_NO_GUARD_CACHE 8
+
+/* corresponds to cached, coherent, not writethru, not guarded */
+#define VM_WIMG_DEFAULT VM_MEM_COHERENT
+#define VM_WIMG_IO VM_MEM_COHERENT | \
+ VM_MEM_NOT_CACHEABLE | VM_MEM_GUARDED
+
/*
* prototypes.
*/