]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Ia32/Thunk16.S
sync GCC assembly files with MASM assembly files
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / Thunk16.S
CommitLineData
878ddf1f 1#------------------------------------------------------------------------------\r
2#\r
3# Copyright (c) 2006, 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# Module Name:\r
13#\r
14# Thunk.asm\r
15#\r
16# Abstract:\r
17#\r
18# Real mode thunk\r
19#\r
20#------------------------------------------------------------------------------\r
21\r
bd0cd44b 22.global _m16Start, _m16Size, _mThunk16Attr, _m16GdtBase, _m16Gdt, _m16GdtrBase, _mTransition\r
23 ##########\r
24 # FIXME! #\r
25 ##########\r
26# The following data are INVALID!!\r
27# They just follow GAS syntax.\r
28_m16Start: .byte 0x00\r
29_m16Size: .word 0x00\r
30_mThunk16Attr: .word 0x00\r
31_m16Gdt: .word 0x00\r
32_m16GdtrBase: .word 0x00\r
33_mTransition: .word 0x00\r
878ddf1f 34\r
bd0cd44b 35.global _InternalAsmThunk16\r
36_InternalAsmThunk16:\r
878ddf1f 37\r
ab191ed4 38 ##########\r
39 # FIXME! #\r
40 ##########\r
bd0cd44b 41 # This function won't work for now.\r
42 # it will directly enter dead loop.\r
43 jmp .\r
44