]>
Commit | Line | Data |
---|---|---|
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 |