Clean up MdePkg source to correct some coding style issues, etc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9832 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2010-01-27 03:25:28 +00:00
parent bf586ab919
commit ea6898b902
16 changed files with 121 additions and 78 deletions

View File

@@ -1,7 +1,7 @@
/** @file
GCC inline implementation of BaseLib processor specific functions.
Copyright (c) 2006 - 2007, Intel Corporation<BR>
Copyright (c) 2006 - 2010, Intel Corporation<BR>
Portions copyright (c) 2008-2009 Apple Inc. All rights reserved.<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -1078,12 +1078,12 @@ InternalX86WriteGdtr (
VOID
EFIAPI
InternalX86ReadIdtr (
OUT IA32_DESCRIPTOR *Ldtr
OUT IA32_DESCRIPTOR *Idtr
)
{
__asm__ __volatile__ (
"sldt %0"
: "=m" (*Ldtr)
: "=m" (*Idtr)
);
}
@@ -1100,13 +1100,13 @@ InternalX86ReadIdtr (
VOID
EFIAPI
InternalX86WriteIdtr (
IN CONST IA32_DESCRIPTOR *Ldtr
IN CONST IA32_DESCRIPTOR *Idtr
)
{
__asm__ __volatile__ (
"lidt %0"
:
: "m" (*Ldtr)
: "m" (*Idtr)
);
}