Minor code enhancement.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9685 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24 2010-01-07 09:12:14 +00:00
parent 75a635ace8
commit ce9b1e3ae0
4 changed files with 7 additions and 11 deletions

View File

@ -3,7 +3,7 @@
SMM Library Services that abstracts both S/W SMI generation and detection. SMM Library Services that abstracts both S/W SMI generation and detection.
Copyright (c) 2007 - 2009, Intel Corporation Copyright (c) 2007 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -78,11 +78,9 @@ IsRuntimeSoftwareSmi (
); );
/** /**
Clear APM SMI Status Bit; Set the EOS bit. Clear APM SMI Status Bit; Set the EOS bit.
**/ **/
VOID VOID
EFIAPI EFIAPI
ClearSmi ( ClearSmi (

View File

@ -33,7 +33,7 @@
APs to help test system memory in parallel with other device initialization. APs to help test system memory in parallel with other device initialization.
Diagnostics applications may also use this protocol for multi-processor. Diagnostics applications may also use this protocol for multi-processor.
Copyright (c) 1999 - 2002, 2009, Intel Corporation.<BR> Copyright (c) 1999 - 2010, Intel Corporation.<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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<BR> which accompanies this distribution. The full text of the license may be found at<BR>
@ -42,7 +42,7 @@
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
--*/ **/
#ifndef _FRAMEWORK_MP_SERVICE_PROTOCOL_H_ #ifndef _FRAMEWORK_MP_SERVICE_PROTOCOL_H_
#define _FRAMEWORK_MP_SERVICE_PROTOCOL_H_ #define _FRAMEWORK_MP_SERVICE_PROTOCOL_H_

View File

@ -9,7 +9,7 @@
Thunk is the code that switches from 32-bit protected environment into the 16-bit real-mode Thunk is the code that switches from 32-bit protected environment into the 16-bit real-mode
environment. Reverse thunk is the code that does the opposite. environment. Reverse thunk is the code that does the opposite.
Copyright (c) 2007 - 2009, Intel Corporation Copyright (c) 2007 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -983,10 +983,10 @@ typedef struct _EFI_LEGACY_BIOS_PROTOCOL EFI_LEGACY_BIOS_PROTOCOL;
/// are kept for backward compatibility only. They convert 32-bit address (_Adr) /// are kept for backward compatibility only. They convert 32-bit address (_Adr)
/// to Segment:Offset 16-bit form. /// to Segment:Offset 16-bit form.
/// ///
/// @{ ///@{
#define EFI_SEGMENT(_Adr) (UINT16) ((UINT16) (((UINTN) (_Adr)) >> 4) & 0xf000) #define EFI_SEGMENT(_Adr) (UINT16) ((UINT16) (((UINTN) (_Adr)) >> 4) & 0xf000)
#define EFI_OFFSET(_Adr) (UINT16) (((UINT16) ((UINTN) (_Adr))) & 0xffff) #define EFI_OFFSET(_Adr) (UINT16) (((UINT16) ((UINTN) (_Adr))) & 0xffff)
/// @} ///@}
#define CARRY_FLAG 0x01 #define CARRY_FLAG 0x01

View File

@ -1,7 +1,7 @@
/** @file /** @file
NULL instance of SMM Library. NULL instance of SMM Library.
Copyright (c) 2009, Intel Corporation<BR> Copyright (c) 2009 - 2010, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -88,11 +88,9 @@ IsRuntimeSoftwareSmi (
} }
/** /**
Clear APM SMI Status Bit; Set the EOS bit. Clear APM SMI Status Bit; Set the EOS bit.
**/ **/
VOID VOID
EFIAPI EFIAPI
ClearSmi ( ClearSmi (