b3ac412efe3b6f23e68d4dc0dacaa047eefbd8ee
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / Thunk16.S
1 #------------------------------------------------------------------------------
2 #
3 # Copyright (c) 2006, Intel Corporation
4 # All rights reserved. This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11 #
12 # Module Name:
13 #
14 # Thunk.asm
15 #
16 # Abstract:
17 #
18 # Real mode thunk
19 #
20 #------------------------------------------------------------------------------
21
22 .global _m16Start, _m16Size, _mThunk16Attr, _m16GdtBase, _m16Gdt, _m16GdtrBase, _mTransition
23 ##########
24 # FIXME! #
25 ##########
26 # The following data are INVALID!!
27 # They just follow GAS syntax.
28 _m16Start: .byte 0x00
29 _m16Size: .word 0x00
30 _mThunk16Attr: .word 0x00
31 _m16Gdt: .word 0x00
32 _m16GdtrBase: .word 0x00
33 _mTransition: .word 0x00
34
35 .global _InternalAsmThunk16
36 _InternalAsmThunk16:
37
38 ##########
39 # FIXME! #
40 ##########
41 # This function won't work for now.
42 # it will directly enter dead loop.
43 jmp .
44