VirtualBox

vbox的更動 17251 路徑 trunk/src/recompiler_new


忽略:
時間撮記:
2009-3-2 下午01:55:31 (16 年 以前)
作者:
vboxsync
訊息:

VMM,REM,DevPcArch: VBOX_WITH_NEW_PHYS_CODE changes.

位置:
trunk/src/recompiler_new
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/recompiler_new/VBoxREM.def

    r8155 r17251  
    11; $Id$
    22;; @file
     3; VBoxREM Definition File.
    34;
    4 ; VBoxREM Definition File.
     5
    56;
    67; Copyright (C) 2006-2007 Sun Microsystems, Inc.
     
    3940    REMR3NotifyPhysRamRegister
    4041    REMR3NotifyPhysRamChunkRegister
    41     REMR3NotifyPhysReserve
     42    REMR3NotifyPhysRamDeregister
    4243    REMR3NotifyPhysRomRegister
    4344    REMR3NotifyHandlerPhysicalModify
  • trunk/src/recompiler_new/VBoxREMWrapper.cpp

    r17040 r17251  
    348348static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRamRegister)(PVM, RTGCPHYS, RTUINT, unsigned);
    349349static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRamChunkRegister)(PVM, RTGCPHYS, RTUINT, RTHCUINTPTR, unsigned);
    350 static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysReserve)(PVM, RTGCPHYS, RTUINT);
     350static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRamDeregister)(PVM, RTGCPHYS, RTUINT);
    351351static DECLCALLBACKPTR(void, pfnREMR3NotifyPhysRomRegister)(PVM, RTGCPHYS, RTUINT, void *, bool);
    352352static DECLCALLBACKPTR(void, pfnREMR3NotifyHandlerPhysicalModify)(PVM, PGMPHYSHANDLERTYPE, RTGCPHYS, RTGCPHYS, RTGCPHYS, bool, bool);
     
    410410    { REMPARMDESC_FLAGS_INT,        sizeof(unsigned), NULL }
    411411};
    412 static const REMPARMDESC g_aArgsNotifyPhysReserve[] =
     412static const REMPARMDESC g_aArgsNotifyPhysRamDeregister[] =
    413413{
    414414    { REMPARMDESC_FLAGS_INT,        sizeof(PVM), NULL },
     
    10481048    { "REMR3NotifyPhysRamRegister",             (void *)&pfnREMR3NotifyPhysRamRegister,             &g_aArgsNotifyPhysRamRegister[0],           RT_ELEMENTS(g_aArgsNotifyPhysRamRegister),             REMFNDESC_FLAGS_RET_VOID,   0,              NULL },
    10491049    { "REMR3NotifyPhysRamChunkRegister",        (void *)&pfnREMR3NotifyPhysRamChunkRegister,        &g_aArgsNotifyPhysRamChunkRegister[0],      RT_ELEMENTS(g_aArgsNotifyPhysRamChunkRegister),        REMFNDESC_FLAGS_RET_VOID,   0,              NULL },
    1050     { "REMR3NotifyPhysReserve",                 (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 },
    10511051    { "REMR3NotifyPhysRomRegister",             (void *)&pfnREMR3NotifyPhysRomRegister,             &g_aArgsNotifyPhysRomRegister[0],           RT_ELEMENTS(g_aArgsNotifyPhysRomRegister),             REMFNDESC_FLAGS_RET_VOID,   0,              NULL },
    10521052    { "REMR3NotifyHandlerPhysicalModify",       (void *)&pfnREMR3NotifyHandlerPhysicalModify,       &g_aArgsNotifyHandlerPhysicalModify[0],     RT_ELEMENTS(g_aArgsNotifyHandlerPhysicalModify),       REMFNDESC_FLAGS_RET_VOID,   0,              NULL },
     
    21982198}
    21992199
    2200 REMR3DECL(void) REMR3NotifyPhysReserve(PVM pVM, RTGCPHYS GCPhys, RTUINT cb)
     2200REMR3DECL(void) REMR3NotifyPhysRamDeregister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb)
    22012201{
    22022202#ifndef USE_REM_STUBS
    2203     Assert(VALID_PTR(pfnREMR3NotifyPhysReserve));
    2204     pfnREMR3NotifyPhysReserve(pVM, GCPhys, cb);
     2203    Assert(VALID_PTR(pfnREMR3NotifyPhysRamDeregister));
     2204    pfnREMR3NotifyPhysRamDeregister(pVM, GCPhys, cb);
    22052205#endif
    22062206}
  • trunk/src/recompiler_new/VBoxRecompiler.c

    r17106 r17251  
    26892689
    26902690#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);
    26952692#else
    26962693    if (!GCPhys)
     
    28102807 * @param   GCPhys      Start physical address.
    28112808 * @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 */
     2810REMR3DECL(void) REMR3NotifyPhysRamDeregister(PVM pVM, RTGCPHYS GCPhys, RTUINT cb)
     2811{
     2812    Log(("REMR3NotifyPhysRamDeregister: GCPhys=%RGp cb=%d\n", GCPhys, cb));
    28182813    VM_ASSERT_EMT(pVM);
    28192814
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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