Changeset 17538 in vbox for trunk/src/recompiler/VBoxRecompiler.c
- Timestamp:
- Mar 8, 2009 5:32:49 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 43972
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r17537 r17538 2783 2783 * @param GCPhys The physical address the RAM. 2784 2784 * @param cb Size of the memory. 2785 * @param fFlags Flags of the MM_RAM_FLAGS_* defines.2785 * @param fFlags Flags of the REM_NOTIFY_PHYS_RAM_FLAGS_* defines. 2786 2786 */ 2787 2787 REMR3DECL(void) REMR3NotifyPhysRamRegister(PVM pVM, RTGCPHYS GCPhys, RTGCPHYS cb, unsigned fFlags) 2788 2788 { 2789 Log(("REMR3NotifyPhysRamRegister: GCPhys=%RGp cb=%RGp fFlags=% d\n", GCPhys, cb, fFlags));2789 Log(("REMR3NotifyPhysRamRegister: GCPhys=%RGp cb=%RGp fFlags=%#x\n", GCPhys, cb, fFlags)); 2790 2790 VM_ASSERT_EMT(pVM); 2791 2791 … … 2796 2796 Assert(cb); 2797 2797 Assert(RT_ALIGN_Z(cb, PAGE_SIZE) == cb); 2798 2799 /* 2800 * Base ram? 2801 */ 2802 if (!GCPhys) /** @todo add a flag for identifying MMIO2 memory here (new phys code)*/ 2798 #ifdef VBOX_WITH_NEW_PHYS_CODE 2799 AssertMsg(fFlags == REM_NOTIFY_PHYS_RAM_FLAGS_RAM || fFlags == REM_NOTIFY_PHYS_RAM_FLAGS_MMIO2, ("#x\n", fFlags)); 2800 #endif 2801 2802 /* 2803 * Base ram? Update GCPhysLastRam. 2804 */ 2805 #ifdef VBOX_WITH_NEW_PHYS_CODE 2806 if (fFlags & REM_NOTIFY_PHYS_RAM_FLAGS_RAM) 2807 #else 2808 if (!GCPhys) 2809 #endif 2803 2810 { 2804 2811 if (GCPhys + (cb - 1) > pVM->rem.s.GCPhysLastRam)
Note:
See TracChangeset
for help on using the changeset viewer.