Changeset 100185 in vbox for trunk/include
- Timestamp:
- Jun 16, 2023 6:54:50 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VMMDev.h
r98542 r100185 54 54 */ 55 55 56 /** The VMMDev assumed page size (not the real guest page size which might be different 57 * between guest and host, on ARM for example), 4KiB is the minimum supported by both 58 * ARM and x86 and was the one used back when the device supported x86 only. */ 59 #define VMMDEV_PAGE_SIZE _4K 60 /** The VMMDev assumed page shift. */ 61 #define VMMDEV_PAGE_SHIFT 12 62 /** The VMMDev assumed page offset mask. */ 63 #define VMMDEV_PAGE_OFFSET_MASK 0xfff 64 56 65 57 66 /** Size of VMMDev RAM region accessible by guest. … … 59 68 * For now: 4 megabyte. 60 69 */ 61 #define VMMDEV_RAM_SIZE (4 * 256 * PAGE_SIZE)70 #define VMMDEV_RAM_SIZE (4 * 256 * VMMDEV_PAGE_SIZE) 62 71 63 72 /** Size of VMMDev heap region accessible by guest. 64 73 * (Must be a power of two (pci range).) 65 74 */ 66 #define VMMDEV_HEAP_SIZE (4 * PAGE_SIZE)75 #define VMMDEV_HEAP_SIZE (4 * VMMDEV_PAGE_SIZE) 67 76 68 77 /** Port for generic request interface (relative offset). */ … … 71 80 * This works like VMMDevReq_AcknowledgeEvents when read. */ 72 81 #define VMMDEV_PORT_OFF_REQUEST_FAST 8 82 83 84 /** The MMIO region size if MMIO is used instead of PIO. */ 85 #define VMMDEV_MMIO_SIZE _4K 86 /** Port for generic request interface (relative offset). */ 87 #define VMMDEV_MMIO_OFF_REQUEST 0 88 /** Port for requests that can be handled w/o going to ring-3 (relative offset). 89 * This works like VMMDevReq_AcknowledgeEvents when read. */ 90 #define VMMDEV_MMIO_OFF_REQUEST_FAST 8 73 91 74 92
Note:
See TracChangeset
for help on using the changeset viewer.