mirror of https://github.com/acidanthera/audk.git
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:
parent
75a635ace8
commit
ce9b1e3ae0
|
@ -3,7 +3,7 @@
|
|||
|
||||
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
|
||||
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
|
||||
|
@ -78,11 +78,9 @@ IsRuntimeSoftwareSmi (
|
|||
);
|
||||
|
||||
/**
|
||||
|
||||
Clear APM SMI Status Bit; Set the EOS bit.
|
||||
|
||||
**/
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
ClearSmi (
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
APs to help test system memory in parallel with other device initialization.
|
||||
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
|
||||
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>
|
||||
|
@ -42,7 +42,7 @@
|
|||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
--*/
|
||||
**/
|
||||
|
||||
#ifndef _FRAMEWORK_MP_SERVICE_PROTOCOL_H_
|
||||
#define _FRAMEWORK_MP_SERVICE_PROTOCOL_H_
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
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.
|
||||
|
||||
Copyright (c) 2007 - 2009, Intel Corporation
|
||||
Copyright (c) 2007 - 2010, Intel Corporation
|
||||
All rights reserved. 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
|
||||
|
@ -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)
|
||||
/// to Segment:Offset 16-bit form.
|
||||
///
|
||||
/// @{
|
||||
///@{
|
||||
#define EFI_SEGMENT(_Adr) (UINT16) ((UINT16) (((UINTN) (_Adr)) >> 4) & 0xf000)
|
||||
#define EFI_OFFSET(_Adr) (UINT16) (((UINT16) ((UINTN) (_Adr))) & 0xffff)
|
||||
/// @}
|
||||
///@}
|
||||
|
||||
#define CARRY_FLAG 0x01
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
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
|
||||
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
|
||||
|
@ -88,11 +88,9 @@ IsRuntimeSoftwareSmi (
|
|||
}
|
||||
|
||||
/**
|
||||
|
||||
Clear APM SMI Status Bit; Set the EOS bit.
|
||||
|
||||
**/
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
ClearSmi (
|
||||
|
|
Loading…
Reference in New Issue