]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/DebugSupportDxe/x64/AsmFuncs.S
Add DebugPort & DebugSupport drivers
[mirror_edk2.git] / MdeModulePkg / Universal / DebugSupportDxe / x64 / AsmFuncs.S
CommitLineData
c1f23d63 1#******************************************************************************\r
2#*\r
3#* Copyright (c) 2007, Intel Corporation \r
4#* All rights reserved. This program and the accompanying materials \r
5#* are licensed and made available under the terms and conditions of the BSD License \r
6#* which accompanies this distribution. The full text of the license may be found at \r
7#* http://opensource.org/licenses/bsd-license.php \r
8#* \r
9#* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10#* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11#*\r
12#******************************************************************************\r
13\r
14.globl _OrigVector\r
15.globl _InterruptEntryStub\r
16.globl _StubSize\r
17.globl _CommonIdtEntry\r
18.globl _FxStorSupport\r
19\r
20_AppEsp: .long 0x11111111 # ?\r
21_DebugEsp: .long 0x22222222 # ?\r
22_ExtraPush: .long 0x33333333 # ?\r
23_ExceptData: .long 0x44444444 # ?\r
24_Eflags: .long 0x55555555 # ?\r
25_OrigVector: .long 0x66666666 # ?\r
26_StubSize: .long _InterruptEntryStubEnd - _InterruptEntryStub\r
27\r
28.globl _FxStorSupport\r
29_FxStorSupport:\r
30 ret \r
31\r
32.globl _GetIdtr\r
33_GetIdtr:\r
34 ret \r
35\r
36.globl _WriteInterruptFlag\r
37_WriteInterruptFlag:\r
38 ret \r
39\r
40.globl _Vect2Desc\r
41_Vect2Desc:\r
42 ret \r
43\r
44.globl _InterruptEntryStub\r
45_InterruptEntryStub:\r
46 ret \r
47\r
48.globl _InterruptEntryStubEnd\r
49_InterruptEntryStubEnd:\r
50 ret \r
51\r
52.globl _CommonIdtEntry\r
53_CommonIdtEntry:\r
54 ret \r
55\r
56PhonyIretd:\r
57 iret \r