summaryrefslogtreecommitdiff
path: root/edk2/IntelFrameworkPkg
diff options
context:
space:
mode:
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-07 09:12:14 +0000
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>2010-01-07 09:12:14 +0000
commitbce480b91fbd0d6974a48a46135b32d2eb66e0d1 (patch)
treef8ca555e57c7ebb44bb54ef0050d50404a7870c7 /edk2/IntelFrameworkPkg
parent5730b4690339856ffd012d285a069d4f302a5e3b (diff)
Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk@9685 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'edk2/IntelFrameworkPkg')
-rw-r--r--edk2/IntelFrameworkPkg/Include/Library/SmmLib.h4
-rw-r--r--edk2/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h4
-rw-r--r--edk2/IntelFrameworkPkg/Include/Protocol/LegacyBios.h6
-rw-r--r--edk2/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c4
4 files changed, 7 insertions, 11 deletions
diff --git a/edk2/IntelFrameworkPkg/Include/Library/SmmLib.h b/edk2/IntelFrameworkPkg/Include/Library/SmmLib.h
index b35a7ce69..32372ed23 100644
--- a/edk2/IntelFrameworkPkg/Include/Library/SmmLib.h
+++ b/edk2/IntelFrameworkPkg/Include/Library/SmmLib.h
@@ -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 (
diff --git a/edk2/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h b/edk2/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h
index f8f3d043e..fe6382740 100644
--- a/edk2/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h
+++ b/edk2/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h
@@ -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_
diff --git a/edk2/IntelFrameworkPkg/Include/Protocol/LegacyBios.h b/edk2/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
index 62d0adfd6..c582cbc1d 100644
--- a/edk2/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
+++ b/edk2/IntelFrameworkPkg/Include/Protocol/LegacyBios.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
diff --git a/edk2/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c b/edk2/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
index be13dd70b..26d12e2a8 100644
--- a/edk2/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
+++ b/edk2/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
@@ -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 (