diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-05 09:52:23 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-09-05 09:52:23 +0000 |
commit | 1abad90b73bfe991f98f8715bdf678f89f56160e (patch) | |
tree | 809b46f2fdcfc6350b6587c79888eab36b000dbd /UnixPkg/Library | |
parent | 7f5d7425efaaf4776355d30d965804375c2c3764 (diff) | |
download | edk2-platforms-1abad90b73bfe991f98f8715bdf678f89f56160e.tar.xz |
Update UnixPkg to use IA32_SEGMENT_DESCRIPTOR defined in BaseLib.h
Signed-off-by: li-elvin
Reviewed-by: lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12279 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Library')
-rw-r--r-- | UnixPkg/Library/UnixBaseLib/X86Thunk.c | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/UnixPkg/Library/UnixBaseLib/X86Thunk.c b/UnixPkg/Library/UnixBaseLib/X86Thunk.c index 014287b3c2..ae223b3163 100644 --- a/UnixPkg/Library/UnixBaseLib/X86Thunk.c +++ b/UnixPkg/Library/UnixBaseLib/X86Thunk.c @@ -1,7 +1,7 @@ /** @file
Real Mode Thunk Functions for IA32 and x64.
- Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -15,29 +15,6 @@ #include "BaseLibInternals.h"
-
-//
-// Byte packed structure for a segment descriptor in a GDT/LDT
-//
-typedef union {
- struct {
- UINT32 LimitLow:16;
- UINT32 BaseLow:16;
- UINT32 BaseMid:8;
- UINT32 Type:4;
- UINT32 S:1;
- UINT32 DPL:2;
- UINT32 P:1;
- UINT32 LimitHigh:4;
- UINT32 AVL:1;
- UINT32 L:1;
- UINT32 DB:1;
- UINT32 G:1;
- UINT32 BaseHigh:8;
- } Bits;
- UINT64 Uint64;
-} IA32_SEGMENT_DESCRIPTOR;
-
extern CONST UINT8 m16Start;
extern CONST UINT16 m16Size;
extern CONST UINT16 mThunk16Attr;
|