VirtualBox

source: vbox/trunk/src/VBox/VMM/VMMSwitcher/AMD64To32Bit.asm@ 22493

Last change on this file since 22493 was 16859, checked in by vboxsync, 16 years ago

Load hypervisor CR3 from CPUM (instead of hardcoded fixups in the switchers). Dangerous change. Watch for regressions.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1; $Id: AMD64To32Bit.asm 16859 2009-02-17 16:19:51Z vboxsync $
2;; @file
3; VMM - World Switchers, AMD64 to 32-bit
4;
5
6;
7; Copyright (C) 2006-2007 Sun Microsystems, Inc.
8;
9; This file is part of VirtualBox Open Source Edition (OSE), as
10; available from http://www.virtualbox.org. This file is free software;
11; you can redistribute it and/or modify it under the terms of the GNU
12; General Public License (GPL) as published by the Free Software
13; Foundation, in version 2 as it comes in the "COPYING" file of the
14; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16;
17; Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
18; Clara, CA 95054 USA or visit http://www.sun.com if you need
19; additional information or have any questions.
20;
21
22;*******************************************************************************
23;* Defined Constants And Macros *
24;*******************************************************************************
25%undef SWITCHER_TO_PAE
26%define SWITCHER_TO_32BIT 1
27%define SWITCHER_TYPE VMMSWITCHER_AMD64_TO_32
28%define SWITCHER_DESCRIPTION "AMD64 to/from 32-bit"
29%define NAME_OVERLOAD(name) vmmR3SwitcherAMD64To32Bit_ %+ name
30;%define SWITCHER_FIX_INTER_CR3_HC FIX_INTER_AMD64_CR3
31%define SWITCHER_FIX_INTER_CR3_GC FIX_INTER_32BIT_CR3
32
33
34;*******************************************************************************
35;* Header Files *
36;*******************************************************************************
37%include "VBox/asmdefs.mac"
38%include "VMMSwitcher/AMD64andLegacy.mac"
39
40
Note: See TracBrowser for help on using the repository browser.

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