VirtualBox

Changeset 4380 in vbox for trunk/src


Ignore:
Timestamp:
Aug 27, 2007 9:58:08 AM (17 years ago)
Author:
vboxsync
Message:

Fixed reserved memory reservation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r4379 r4380  
    25042504        uint32_t i;
    25052505# endif
    2506         cpu_register_physical_memory(GCPhys, cb, GCPhys | (fFlags & MM_RAM_FLAGS_RESERVED ? IO_MEM_UNASSIGNED : 0));
     2506        if (fFlags & MM_RAM_FLAGS_RESERVED)
     2507            cpu_register_physical_memory(GCPhys, cb, IO_MEM_UNASSIGNED);
     2508        else
     2509            cpu_register_physical_memory(GCPhys, cb, GCPhys);
    25072510
    25082511# ifndef REM_PHYS_ADDR_IN_TLB
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