Changeset 48707 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Sep 26, 2013 12:26:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevEFI.h
r48666 r48707 49 49 * 8-bit reads returns the info as a byte sequence. */ 50 50 #define EFI_INFO_PORT (EFI_PORT_BASE+0x0) 51 /** Information requests. 52 * @todo Put this in DEVEFIINFO, that's much easier to access. */ 51 /** 52 * Information requests. 53 */ 53 54 typedef enum 54 55 { … … 155 156 } EFIVAROP; 156 157 157 /**158 * DevEFI Info stored at DEVEFI_INFO_PHYS_ADDR159 */160 typedef struct DEVEFIINFO161 {162 /** 0x00 - The physical address of the firmware entry point. */163 uint32_t pfnFirmwareEP;164 /** 0x04 - Spaced reserved for the high part of a 64-bit entrypoint address. */165 uint32_t HighEPAddress;166 /** 0x08 - The address of the firmware volume. */167 RTGCPHYS PhysFwVol;168 /** 0x10 - The size of the firmware volume. */169 uint32_t cbFwVol;170 /** 0x14 - Amount of memory below 4GB (in bytes). */171 uint32_t cbBelow4GB;172 /** 0x18 - Amount of memory above 4GB (in bytes). */173 uint64_t cbAbove4GB;174 /** 0x20 - see flags values below */175 uint32_t fFlags;176 /** 0x24 - The nubmer of Virtual CPUs. */177 uint32_t cCpus;178 /** 0x28 - Reserved for future use, must be zero. */179 uint32_t pfnPeiEP;180 /** 0x2c - Reserved for future use, must be zero. */181 uint32_t u32Reserved2;182 } DEVEFIINFO;183 AssertCompileSize(DEVEFIINFO, 0x30);184 /** Pointer to a DevEFI info structure. */185 typedef DEVEFIINFO *PDEVEFIINFO;186 /** Pointer to a const DevEFI info structure. */187 typedef DEVEFIINFO const *PCDEVEFIINFO;188 189 /** The physical address where DEVEFIINFO can be found. */190 #define DEVEFI_INFO_PHYS_ADDR (0xfffff000)191 #define DEVEFI_INFO_FLAGS_AMD64 RT_BIT(0)192 193 158 /** @} */ 194 159 195 #define KB(x) ((x) * 1024)196 #define MB(x) ((KB(x)) * 1024)197 198 160 #endif
Note:
See TracChangeset
for help on using the changeset viewer.