summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Core/RuntimeDxe
diff options
context:
space:
mode:
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-28 02:43:46 +0000
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-28 02:43:46 +0000
commit9920ae74af5a38672ddde0a997a7ec0960c96275 (patch)
tree81fa5176d716e98ab10ae8ceb0efa91dc7384c12 /MdeModulePkg/Core/RuntimeDxe
parente7b1b5963c078731a0a9656aded7631dc38a840e (diff)
downloadedk2-9920ae74af5a38672ddde0a997a7ec0960c96275.tar.gz
edk2-9920ae74af5a38672ddde0a997a7ec0960c96275.tar.bz2
edk2-9920ae74af5a38672ddde0a997a7ec0960c96275.zip
modify coding style to pass ecc tool
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5575 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core/RuntimeDxe')
-rw-r--r--MdeModulePkg/Core/RuntimeDxe/Crc32.c16
-rw-r--r--MdeModulePkg/Core/RuntimeDxe/Runtime.h37
2 files changed, 16 insertions, 37 deletions
diff --git a/MdeModulePkg/Core/RuntimeDxe/Crc32.c b/MdeModulePkg/Core/RuntimeDxe/Crc32.c
index 0f22d1f6b7..14370dbc7d 100644
--- a/MdeModulePkg/Core/RuntimeDxe/Crc32.c
+++ b/MdeModulePkg/Core/RuntimeDxe/Crc32.c
@@ -1,6 +1,11 @@
/** @file
CalculateCrc32 Boot Services as defined in DXE CIS.
+ This Boot Services is in the Runtime Driver because this service is
+ also required by SetVirtualAddressMap() when the EFI System Table and
+ EFI Runtime Services Table are converted from physical address to
+ virtual addresses. This requires that the 32-bit CRC be recomputed.
+
Copyright (c) 2006, 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
@@ -10,17 +15,6 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-Module Name:
-
- Crc32.c
-
-Abstract:
-
- This Boot Services is in the Runtime Driver because this service is
- also required by SetVirtualAddressMap() when the EFI System Table and
- EFI Runtime Services Table are converted from physical address to
- virtual addresses. This requires that the 32-bit CRC be recomputed.
-
**/
diff --git a/MdeModulePkg/Core/RuntimeDxe/Runtime.h b/MdeModulePkg/Core/RuntimeDxe/Runtime.h
index e85c47d9b1..c19cc733fd 100644
--- a/MdeModulePkg/Core/RuntimeDxe/Runtime.h
+++ b/MdeModulePkg/Core/RuntimeDxe/Runtime.h
@@ -1,6 +1,8 @@
/** @file
Runtime Architectural Protocol as defined in the DXE CIS.
+ This code is used to produce the EFI runtime architectural protocol.
+
Copyright (c) 2006, 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
@@ -10,15 +12,6 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name:
-
- Runtime.h
-
-Abstract:
-
- This code is used to produce the EFI runtime architectural protocol.
-
**/
#ifndef _RUNTIME_H_
@@ -43,9 +36,7 @@ Abstract:
// Function Prototypes
//
/**
-
- Calculate CRC32 for target data
-
+ Calculate CRC32 for target data.
@param Data The target data.
@param DataSize The target data size.
@@ -66,7 +57,6 @@ RuntimeDriverCalculateCrc32 (
;
/**
-
Determines the new virtual address that is to be used on subsequent memory accesses.
@@ -89,14 +79,12 @@ RuntimeDriverConvertPointer (
;
/**
-
Changes the runtime addressing mode of EFI firmware from physical to virtual.
-
- @param MemoryMapSize The size in bytes of VirtualMap.
- @param DescriptorSize The size in bytes of an entry in the VirtualMap.
- @param DescriptorVersion The version of the structure entries in VirtualMap.
- @param VirtualMap An array of memory descriptors which contain new virtual
+ @param MemoryMapSize The size in bytes of VirtualMap.
+ @param DescriptorSize The size in bytes of an entry in the VirtualMap.
+ @param DescriptorVersion The version of the structure entries in VirtualMap.
+ @param VirtualMap An array of memory descriptors which contain new virtual
address mapping information for all runtime ranges.
@retval EFI_SUCCESS The virtual address map has been applied.
@@ -120,7 +108,6 @@ RuntimeDriverSetVirtualAddressMap (
;
/**
-
Initialize CRC32 table.
**/
@@ -131,16 +118,14 @@ RuntimeDriverInitializeCrc32Table (
;
/**
-
Install Runtime AP. This code includes the EfiRuntimeLib, but it only
functions at RT in physical mode.
+ @param ImageHandle Image handle of this driver.
+ @param SystemTable Pointer to the EFI System Table.
- @param ImageHandle Image handle of this driver.
- @param SystemTable Pointer to the EFI System Table.
-
- @retval EFI_SUCEESS Runtime Driver Architectural Protocol Installed
- @return Other value if gBS->InstallMultipleProtocolInterfaces fails. Check
+ @retval EFI_SUCEESS Runtime Driver Architectural Protocol Installed
+ @return Other value if gBS->InstallMultipleProtocolInterfaces fails. Check
gBS->InstallMultipleProtocolInterfaces for details.
**/