Changeset 106957 in vbox for trunk/include/VBox/platforms/vbox-armv8.h
- Timestamp:
- Nov 12, 2024 12:09:04 PM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 165884
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/platforms/vbox-armv8.h
r106352 r106957 46 46 47 47 /** 48 * Memory region type. 49 */ 50 typedef enum VBOXPLATFORMARMV8REGIONTYPE 51 { 52 /** Invalid region type. */ 53 kVBoxPlatformArmv8RegionType_Invalid = 0, 54 /** Region is RAM. */ 55 kVBoxPlatformArmv8RegionType_Ram, 56 /** Region is ROM. */ 57 kVBoxPlatformArmv8RegionType_Rom, 58 /** Region is MMIO. */ 59 kVBoxPlatformArmv8RegionType_Mmio, 60 /** 32-bit hack. */ 61 kVBoxPlatformArmv8RegionType_32Bit_Hack = 0x7fffffff 62 } VBOXPLATFORMARMV8REGIONTYPE; 63 64 65 /** 66 * Memory region descriptor. 67 */ 68 typedef struct VBOXPLATFORMARMV8REGIONDESC 69 { 70 /** Base address of the region. */ 71 uint64_t u64PhysAddrBase; 72 /** Size of the region in bytes. */ 73 uint64_t cbRegion; 74 /** Region type. */ 75 VBOXPLATFORMARMV8REGIONTYPE enmType; 76 /** Reserved. */ 77 uint32_t aRsvd[3]; 78 } VBOXPLATFORMARMV8REGIONDESC; 79 AssertCompileSize(VBOXPLATFORMARMV8REGIONDESC, 32); 80 /** Pointer to a platform region descriptor. */ 81 typedef VBOXPLATFORMARMV8REGIONDESC *PVBOXPLATFORMARMV8REGIONDESC; 82 /** Pointer to a const platform region descriptor. */ 83 typedef const VBOXPLATFORMARMV8REGIONDESC *PCVBOXPLATFORMARMV8REGIONDESC; 84 85 86 /** 48 87 * The VBox region descriptor. 49 88 */ … … 86 125 /** Size of the RDSP/XSDP table, 0 if not available. */ 87 126 uint64_t cbAcpiXsdp; 127 /** Offset to any additional memory region descriptors, 0 if not available. */ 128 int64_t i64OffRegions; 129 /** Size of the memory region table in bytes, 0 if not available. */ 130 uint64_t cbRegions; 88 131 /** Padding to 64KiB. */ 89 uint8_t abPadding[_64K - 4 * sizeof(uint32_t) - 1 4* sizeof(uint64_t)];132 uint8_t abPadding[_64K - 4 * sizeof(uint32_t) - 16 * sizeof(uint64_t)]; 90 133 } VBOXPLATFORMARMV8; 91 134 AssertCompileSize(VBOXPLATFORMARMV8, _64K); … … 98 141 #define VBOXPLATFORMARMV8_VERSION 0x1 99 142 100 /** Physical address of the VBox platform descriptor ( 128MiB). */101 #define VBOXPLATFORMARMV8_PHYS_ADDR UINT64_C(0x08000000)143 /** Physical address of the VBox platform descriptor (end of 4GiB address space). */ 144 #define VBOXPLATFORMARMV8_PHYS_ADDR (_4G - _64K) 102 145 103 146 #endif /* !VBOX_INCLUDED_platforms_vbox_armv8_h */
Note:
See TracChangeset
for help on using the changeset viewer.