#define mapRtMapDup 7
#define mapRtGuest 8
#define mapRtEmpty 9
-#define mapRtSmash 0xA /* Mapping already exists and doesn't match new mapping */
+#define mapRtSmash 10 /* Mapping already exists and doesn't match new mapping */
+#define mapRtBadSz 11 /* Requested size too big or more than 256MB and not mult of 32MB */
/*
* This struct describes available physical page configurations
extern int mapalc1(struct mappingblok *mb); /* Finds and allcates a 1-bit mapping entry */
extern int mapalc2(struct mappingblok *mb); /* Finds and allcates a 2-bit mapping entry */
extern void ignore_zero_fault(boolean_t type); /* Sets up to ignore or honor any fault on page 0 access for the current thread */
+extern void mapping_hibernate_flush(void);
extern void mapping_fake_zone_info( /* return mapping usage stats as a fake zone info */
int *count,