VirtualBox

Ignore:
Timestamp:
Nov 11, 2008 11:37:04 PM (16 years ago)
Author:
vboxsync
Message:

#1865: Some structures and external API for the ring-0 dynamic mapping cache (Darwin only). Some of these APIs will be / are shared with RC.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r14038 r14114  
    18941894
    18951895
     1896# ifdef IN_RC
    18961897/**
    18971898 * Temporarily maps one host page specified by HC physical address.
     
    19111912{
    19121913    AssertMsg(!(HCPhys & PAGE_OFFSET_MASK), ("HCPhys=%RHp\n", HCPhys));
    1913 # ifdef IN_RC
    19141914
    19151915    /*
     
    19611961    Log4(("PGMGCDynMapHCPage: HCPhys=%RHp pv=%p iPage=%d\n", HCPhys, pv, iPage));
    19621962    return VINF_SUCCESS;
    1963 
    1964 #else  /* VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 */
    1965     /** @todo @bugref{3202}: Implement ring-0 mapping cache similar to the one in
    1966      *        RC. To begin with, a simple but expensive one based on
    1967      *        RTR0MemObjEnterPhys can be used to get things started. Later a
    1968      *        global cache with mappings per CPU (to avoid shootdown) should be
    1969      *        employed. */
    1970     AssertFailed();
    1971     return VERR_NOT_IMPLEMENTED;
    1972 #endif /* VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 */
    1973 }
     1963}
     1964# endif /* IN_RC */
    19741965
    19751966
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