summaryrefslogtreecommitdiffstats
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
commitce9b1e3ae0bdcf8f926ea5132f0bd34e7d384973 (patch)
treef84574925ac7d24a422c2bda422e094140417f7a
parent75a635ace809cfcf9556d15d3ff0ed0ce8314885 (diff)
downloadedk2-ce9b1e3ae0bdcf8f926ea5132f0bd34e7d384973.tar.gz
edk2-ce9b1e3ae0bdcf8f926ea5132f0bd34e7d384973.tar.bz2
edk2-ce9b1e3ae0bdcf8f926ea5132f0bd34e7d384973.zip
Minor code enhancement.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9685 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkPkg/Include/Library/SmmLib.h4
-rw-r--r--IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h4
-rw-r--r--IntelFrameworkPkg/Include/Protocol/LegacyBios.h6
-rw-r--r--IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c4
4 files changed, 7 insertions, 11 deletions
diff --git a/IntelFrameworkPkg/Include/Library/SmmLib.h b/IntelFrameworkPkg/Include/Library/SmmLib.h
index b35a7ce692..32372ed23a 100644
--- a/IntelFrameworkPkg/Include/Library/SmmLib.h
+++ b/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/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h b/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h
index f8f3d043eb..fe63827403 100644
--- a/IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h
+++ b/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/IntelFrameworkPkg/Include/Protocol/LegacyBios.h b/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
index 62d0adfd63..c582cbc1db 100644
--- a/IntelFrameworkPkg/Include/Protocol/LegacyBios.h
+++ b/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/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c b/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
index be13dd70b8..26d12e2a8f 100644
--- a/IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c
+++ b/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 (