OpenCore
1.0.4
OpenCore Bootloader
|
#include <AppleRamDisk.h>
Data Fields | |
UINT64 | AllocatedExtents |
UINT64 | PageCount |
UINT64 | TotalSize |
APPLE_RAM_DISK_EXTENT | Extents [APPLE_RAM_DISK_MAX_EXTENTS] |
UINT64 | Reserved |
UINT8 | OwnExtentData [] |
RAM Disk outermost structure. Allocated in pages with matching MemoryType.
Definition at line 310 of file AppleRamDisk.h.
UINT64 APPLE_RAM_DISK::AllocatedExtents |
Amount of allocated extents in the RAM disk.
Definition at line 314 of file AppleRamDisk.h.
APPLE_RAM_DISK_EXTENT APPLE_RAM_DISK::Extents[APPLE_RAM_DISK_MAX_EXTENTS] |
All allocated and owned extents. First extent is special, as it points to OwnExtentData, and thus has APPLE_RAM_DISK_DEFAULT_SIZE - sizeof (APPLE_RAM_DISK) bytes.
Definition at line 331 of file AppleRamDisk.h.
UINT8 APPLE_RAM_DISK::OwnExtentData[] |
Own extent data lasting till PageCount end.
Definition at line 339 of file AppleRamDisk.h.
UINT64 APPLE_RAM_DISK::PageCount |
Amount of allocated pages in APPLE_RAM_DISK structure. Normally EFI_SIZE_TO_PAGES (APPLE_RAM_DISK_DEFAULT_SIZE).
Definition at line 319 of file AppleRamDisk.h.
UINT64 APPLE_RAM_DISK::Reserved |
Currently reserved or rather unknown. Padding?
Definition at line 335 of file AppleRamDisk.h.
UINT64 APPLE_RAM_DISK::TotalSize |
Total disk size allocated from memory map. It is bigger by sizeof(APPLE_RAM_DISK_CONTEXT) than actual requested size, when AllocateMemory = TRUE is specified.
Definition at line 325 of file AppleRamDisk.h.