VirtualBox

Changeset 104840 in vbox for trunk/src/VBox/VMM/testcase


Ignore:
Timestamp:
Jun 5, 2024 12:59:51 AM (8 months ago)
Author:
vboxsync
Message:

VMM/PGM: Refactored RAM ranges, MMIO2 ranges and ROM ranges and added MMIO ranges (to PGM) so we can safely access RAM ranges at runtime w/o fear of them ever being freed up. It is now only possible to create these during VM creation and loading, and they will live till VM destruction (except for MMIO2 which could be destroyed during loading (PCNet fun)). The lookup handling is by table instead of pointer tree. No more ring-0 pointers in shared data. bugref:10687 bugref:10093

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp

    r99671 r104840  
    325325    CHECK_SIZE(PGMPAGE, 16);
    326326    CHECK_MEMBER_ALIGNMENT(PGMRAMRANGE, aPages, 16);
    327     CHECK_MEMBER_ALIGNMENT(PGMREGMMIO2RANGE, RamRange, 16);
     327    CHECK_SIZE_ALIGNMENT(PGMREGMMIO2RANGE, 16);
     328    CHECK_MEMBER_ALIGNMENT(PGMROMRANGE, aPages, 16);
    328329
    329330    /* TM */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette