]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Minor code enhancement.
authorxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 Jan 2010 09:12:14 +0000 (09:12 +0000)
committerxli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 7 Jan 2010 09:12:14 +0000 (09:12 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9685 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkPkg/Include/Library/SmmLib.h
IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h
IntelFrameworkPkg/Include/Protocol/LegacyBios.h
IntelFrameworkPkg/Library/SmmLibNull/SmmLibNull.c

index b35a7ce692cf679183e1a19943483e5213074994..32372ed23aa2663aaf6b717dda63cab47c02d6f2 100644 (file)
@@ -3,7 +3,7 @@
   \r
   SMM Library Services that abstracts both S/W SMI generation and detection. \r
 \r
   \r
   SMM Library Services that abstracts both S/W SMI generation and detection. \r
 \r
-  Copyright (c) 2007 - 2009, Intel Corporation                                                         \r
+  Copyright (c) 2007 - 2010, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -78,11 +78,9 @@ IsRuntimeSoftwareSmi (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-\r
   Clear APM SMI Status Bit; Set the EOS bit. \r
   \r
 **/\r
   Clear APM SMI Status Bit; Set the EOS bit. \r
   \r
 **/\r
-\r
 VOID\r
 EFIAPI\r
 ClearSmi (\r
 VOID\r
 EFIAPI\r
 ClearSmi (\r
index f8f3d043ebe36109bf4470e5168d0eeb28637b47..fe6382740341cf6ec26dcad75921014ffceb4ad2 100644 (file)
@@ -33,7 +33,7 @@
   APs to help test system memory in parallel with other device initialization.\r
   Diagnostics applications may also use this protocol for multi-processor.\r
 \r
   APs to help test system memory in parallel with other device initialization.\r
   Diagnostics applications may also use this protocol for multi-processor.\r
 \r
-  Copyright (c) 1999 - 2002, 2009, Intel Corporation.<BR>\r
+  Copyright (c) 1999 - 2010, Intel Corporation.<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at<BR>\r
@@ -42,7 +42,7 @@
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
---*/\r
+**/\r
 \r
 #ifndef _FRAMEWORK_MP_SERVICE_PROTOCOL_H_\r
 #define _FRAMEWORK_MP_SERVICE_PROTOCOL_H_\r
 \r
 #ifndef _FRAMEWORK_MP_SERVICE_PROTOCOL_H_\r
 #define _FRAMEWORK_MP_SERVICE_PROTOCOL_H_\r
index 62d0adfd63d66dd664ae97138976c9c2b450c382..c582cbc1dbd5b911505d114070eb7f1ac91532a1 100644 (file)
@@ -9,7 +9,7 @@
   Thunk is the code that switches from 32-bit protected environment into the 16-bit real-mode\r
        environment. Reverse thunk is the code that does the opposite.\r
 \r
   Thunk is the code that switches from 32-bit protected environment into the 16-bit real-mode\r
        environment. Reverse thunk is the code that does the opposite.\r
 \r
-  Copyright (c) 2007 - 2009, Intel Corporation\r
+  Copyright (c) 2007 - 2010, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -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) \r
 /// to Segment:Offset 16-bit form.\r
 ///\r
 /// are kept for backward compatibility only.  They convert 32-bit address (_Adr) \r
 /// to Segment:Offset 16-bit form.\r
 ///\r
-/// @{\r
+///@{\r
 #define EFI_SEGMENT(_Adr)     (UINT16) ((UINT16) (((UINTN) (_Adr)) >> 4) & 0xf000)\r
 #define EFI_OFFSET(_Adr)      (UINT16) (((UINT16) ((UINTN) (_Adr))) & 0xffff)\r
 #define EFI_SEGMENT(_Adr)     (UINT16) ((UINT16) (((UINTN) (_Adr)) >> 4) & 0xf000)\r
 #define EFI_OFFSET(_Adr)      (UINT16) (((UINT16) ((UINTN) (_Adr))) & 0xffff)\r
-/// @}\r
+///@}\r
 \r
 #define CARRY_FLAG            0x01\r
 \r
 \r
 #define CARRY_FLAG            0x01\r
 \r
index be13dd70b8eae8de4b34f00d392db4ffb47e8eab..26d12e2a8f09ded5bfd3a1591af56b3053e5e38a 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   NULL instance of SMM Library.\r
 \r
 /** @file\r
   NULL instance of SMM Library.\r
 \r
-  Copyright (c) 2009, Intel Corporation<BR>\r
+  Copyright (c) 2009 - 2010, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
@@ -88,11 +88,9 @@ IsRuntimeSoftwareSmi (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-\r
   Clear APM SMI Status Bit; Set the EOS bit. \r
   \r
 **/\r
   Clear APM SMI Status Bit; Set the EOS bit. \r
   \r
 **/\r
-\r
 VOID\r
 EFIAPI\r
 ClearSmi (\r
 VOID\r
 EFIAPI\r
 ClearSmi (\r