summaryrefslogtreecommitdiffstats
path: root/src/VBox/VMM/VMMSwitcher/AMD64To32Bit.asm
blob: d66e5a02a483656b9f05fd07465d15ba7a7608ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
; $Id: AMD64To32Bit.asm $
;; @file
; VMM - World Switchers, AMD64 to 32-bit
;

;
; Copyright (C) 2006-2019 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL) as published by the Free Software
; Foundation, in version 2 as it comes in the "COPYING" file of the
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
;

;*******************************************************************************
;*   Defined Constants And Macros                                              *
;*******************************************************************************
%undef  SWITCHER_TO_PAE
%define SWITCHER_TO_32BIT           1
%define SWITCHER_TYPE               VMMSWITCHER_AMD64_TO_32
%define SWITCHER_DESCRIPTION        "AMD64 to/from 32-bit"
%define NAME_OVERLOAD(name)         vmmR3SwitcherAMD64To32Bit_ %+ name
;%define SWITCHER_FIX_INTER_CR3_HC   FIX_INTER_AMD64_CR3
%define SWITCHER_FIX_INTER_CR3_GC   FIX_INTER_32BIT_CR3


;*******************************************************************************
;* Header Files                                                                *
;*******************************************************************************
%include "VBox/asmdefs.mac"
%include "VMMSwitcher/AMD64andLegacy.mac"