vbox的更動 17251 路徑 trunk/src/recompiler_new
- 時間撮記:
- 2009-3-2 下午01:55:31 (16 年 以前)
- 位置:
- trunk/src/recompiler_new
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/recompiler_new/VBoxREM.def
r8155 r17251 1 1 ; $Id$ 2 2 ;; @file 3 ; VBoxREM Definition File. 3 4 ; 4 ; VBoxREM Definition File. 5 5 6 ; 6 7 ; Copyright (C) 2006-2007 Sun Microsystems, Inc. … … 39 40 REMR3NotifyPhysRamRegister 40 41 REMR3NotifyPhysRamChunkRegister 41 REMR3NotifyPhysR eserve42 REMR3NotifyPhysRamDeregister 42 43 REMR3NotifyPhysRomRegister 43 44 REMR3NotifyHandlerPhysicalModify -
trunk/src/recompiler_new/VBoxREMWrapper.cpp
r17040 r17251 348 348 static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRamRegister)(PVM, RTGCPHYS, RTUINT, unsigned); 349 349 static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRamChunkRegister)(PVM, RTGCPHYS, RTUINT, RTHCUINTPTR, unsigned); 350 static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysR eserve)(PVM, RTGCPHYS, RTUINT);350 static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRamDeregister)(PVM, RTGCPHYS, RTUINT); 351 351 static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRomRegister)(PVM, RTGCPHYS, RTUINT, void *, bool); 352 352 static DECLCALLBACKPTR(void, pfnREMR3NotifyHandlerPhysicalModify)(PVM, PGMPHYSHANDLERTYPE, RTGCPHYS, RTGCPHYS, RTGCPHYS, bool, bool); … … 410 410 { REMPARMDESC_FLAGS_INT, sizeof(unsigned), NULL } 411 411 }; 412 static const REMPARMDESC g_aArgsNotifyPhysR eserve[] =412 static const REMPARMDESC g_aArgsNotifyPhysRamDeregister[] = 413 413 { 414 414 { REMPARMDESC_FLAGS_INT, sizeof(PVM), NULL }, … … 1048 1048 { "REMR3NotifyPhysRamRegister", (void *)&pfnREMR3NotifyPhysRamRegister, &g_aArgsNotifyPhysRamRegister[0], RT_ELEMENTS(g_aArgsNotifyPhysRamRegister), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1049 1049 { "REMR3NotifyPhysRamChunkRegister", (void *)&pfnREMR3NotifyPhysRamChunkRegister, &g_aArgsNotifyPhysRamChunkRegister[0], RT_ELEMENTS(g_aArgsNotifyPhysRamChunkRegister), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1050 { "REMR3NotifyPhysR eserve", (void *)&pfnREMR3NotifyPhysReserve, &g_aArgsNotifyPhysReserve[0], RT_ELEMENTS(g_aArgsNotifyPhysReserve),REMFNDESC_FLAGS_RET_VOID, 0, NULL },1050 { "REMR3NotifyPhysRamDeregister", (void *)&pfnREMR3NotifyPhysRamDeregister, &g_aArgsNotifyPhysRamDeregister[0], RT_ELEMENTS(g_aArgsNotifyPhysRamDeregister), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1051 1051 { "REMR3NotifyPhysRomRegister", (void *)&pfnREMR3NotifyPhysRomRegister, &g_aArgsNotifyPhysRomRegister[0], RT_ELEMENTS(g_aArgsNotifyPhysRomRegister), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, 1052 1052 { "REMR3NotifyHandlerPhysicalModify", (void *)&pfnREMR3NotifyHandlerPhysicalModify, &g_aArgsNotifyHandlerPhysicalModify[0], RT_ELEMENTS(g_aArgsNotifyHandlerPhysicalModify), REMFNDESC_FLAGS_RET_VOID, 0, NULL }, … … 2198 2198 } 2199 2199 2200 REMR3DECL(void) REMR3NotifyPhysR eserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cb)2200 REMR3DECL(void) REMR3NotifyPhysRamDeregister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb) 2201 2201 { 2202 2202 #ifndef USE_REM_STUBS 2203 Assert(VALID_PTR(pfnREMR3NotifyPhysR eserve));2204 pfnREMR3NotifyPhysR eserve(pVM, GCPhys, cb);2203 Assert(VALID_PTR(pfnREMR3NotifyPhysRamDeregister)); 2204 pfnREMR3NotifyPhysRamDeregister(pVM, GCPhys, cb); 2205 2205 #endif 2206 2206 } -
trunk/src/recompiler_new/VBoxRecompiler.c
r17106 r17251 2689 2689 2690 2690 #ifdef VBOX_WITH_NEW_PHYS_CODE 2691 if (fFlags & MM_RAM_FLAGS_RESERVED) 2692 cpu_register_physical_memory(GCPhys, cb, IO_MEM_UNASSIGNED); 2693 else 2694 cpu_register_physical_memory(GCPhys, cb, GCPhys); 2691 cpu_register_physical_memory(GCPhys, cb, GCPhys); 2695 2692 #else 2696 2693 if (!GCPhys) … … 2810 2807 * @param GCPhys Start physical address. 2811 2808 * @param cb The size of the range. 2812 * @todo Rename to REMR3NotifyPhysRamDeregister (for MMIO2) as we won't 2813 * reserve any memory soon. 2814 */ 2815 REMR3DECL(void) REMR3NotifyPhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cb) 2816 { 2817 Log(("REMR3NotifyPhysReserve: GCPhys=%RGp cb=%d\n", GCPhys, cb)); 2809 */ 2810 REMR3DECL(void) REMR3NotifyPhysRamDeregister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb) 2811 { 2812 Log(("REMR3NotifyPhysRamDeregister: GCPhys=%RGp cb=%d\n", GCPhys, cb)); 2818 2813 VM_ASSERT_EMT(pVM); 2819 2814
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器