OSObject * saveBootDevice;
struct IOPolledFileIOVars * fileVars;
+ uint64_t fileMinSize;
+ uint64_t fileMaxSize;
vm_offset_t videoMapping;
vm_size_t videoAllocSize;
vm_size_t videoMapSize;
struct IOPolledFileIOVars
{
struct kern_direct_file_io_ref_t * fileRef;
+ IORegistryEntry * media;
class OSArray * pollers;
IOByteCount blockSize;
uint8_t * buffer;
IOByteCount lastRead;
IOByteCount readEnd;
uint32_t flags;
+ uint64_t fileSize;
uint64_t block0;
uint64_t position;
uint64_t extentPosition;
uint32_t
hibernate_sum_page(uint8_t *buf, uint32_t ppnum);
-extern vm_offset_t sectHIBB;
-extern unsigned long sectSizeHIB;
-extern vm_offset_t sectDATAB;
-extern unsigned long sectSizeDATA;
-#if defined(__i386__) || defined(__x86_64__)
-extern vm_offset_t sectINITPTB;
-#endif
+extern vm_offset_t segHIBB;
+extern unsigned long segSizeHIB;
+extern vm_offset_t segDATAB;
+extern unsigned long segSizeDATA;
extern ppnum_t gIOHibernateHandoffPages[];
extern uint32_t gIOHibernateHandoffPageCount;