VirtualBox

Ignore:
Timestamp:
Jun 27, 2012 6:37:33 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78801
Message:

VMMSwitcher: Drop the unused assembly switcher functions taking guest or host contexts as arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMSwitcher/LegacyandAMD64.mac

    r41907 r41933  
    33
    44;
    5 ; Copyright (C) 2006-2007 Oracle Corporation
     5; Copyright (C) 2006-2012 Oracle Corporation
    66;
    77; This file is part of VirtualBox Open Source Edition (OSE), as
     
    660660ENDPROC VMMGCGuestToHostAsm
    661661
    662 ;;
    663 ; VMMGCGuestToHostAsmHyperCtx
    664 ;
    665 ; This is an alternative entry point which we'll be using
    666 ; when the we have the hypervisor context and need to save
    667 ; that before going to the host.
    668 ;
    669 ; This is typically useful when abandoning the hypervisor
    670 ; because of a trap and want the trap state to be saved.
    671 ;
    672 ; @param    eax     Return code.
    673 ; @param    ecx     Points to CPUMCTXCORE.
    674 ; @uses     eax,edx,ecx
    675 ALIGNCODE(16)
    676 BEGINPROC VMMGCGuestToHostAsmHyperCtx
    677      int3
    678 
    679 ;;
    680 ; VMMGCGuestToHostAsmGuestCtx
    681 ;
    682 ; Switches from Guest Context to Host Context.
    683 ; Of course it's only called from within the GC.
    684 ;
    685 ; @param    eax     Return code.
    686 ; @param    esp + 4 Pointer to CPUMCTXCORE.
    687 ;
    688 ; @remark   ASSUMES interrupts disabled.
    689 ;
    690 ALIGNCODE(16)
    691 BEGINPROC VMMGCGuestToHostAsmGuestCtx
    692       int3
    693 
    694 GLOBALNAME End
     662
    695663;
    696664; The description string (in the text section).
     
    724692        at VMMSWITCHERDEF.offGCCallTrampoline,          dd NAME(vmmGCCallTrampoline)        - NAME(Start)
    725693        at VMMSWITCHERDEF.offGCGuestToHostAsm,          dd NAME(VMMGCGuestToHostAsm)        - NAME(Start)
    726         at VMMSWITCHERDEF.offGCGuestToHostAsmHyperCtx,  dd NAME(VMMGCGuestToHostAsmHyperCtx)- NAME(Start)
    727         at VMMSWITCHERDEF.offGCGuestToHostAsmGuestCtx,  dd NAME(VMMGCGuestToHostAsmGuestCtx)- NAME(Start)
    728694        ; disasm help
    729695        at VMMSWITCHERDEF.offHCCode0,                   dd 0
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