summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 12:21:57 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-25 12:21:57 +0000
commit42eedea958591087603bbacd1c2227d2494026af (patch)
tree2213bd86a2a23738bf9caeb10f48df6ad5a1986b /MdePkg/Include
parent0f82bd55142af193e669e76fcaf02f8d835f3f39 (diff)
downloadedk2-42eedea958591087603bbacd1c2227d2494026af.tar.gz
edk2-42eedea958591087603bbacd1c2227d2494026af.tar.bz2
edk2-42eedea958591087603bbacd1c2227d2494026af.zip
Code Scrub for MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5567 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi1_0.h3
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi2_0.h3
-rw-r--r--MdePkg/Include/IndustryStandard/Acpi3_0.h3
-rw-r--r--MdePkg/Include/IndustryStandard/AlertStandardFormatTable.h3
-rw-r--r--MdePkg/Include/IndustryStandard/Atapi.h4
-rw-r--r--MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h2
-rw-r--r--MdePkg/Include/IndustryStandard/IScsiBootFirmwareTable.h8
-rw-r--r--MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h2
-rw-r--r--MdePkg/Include/IndustryStandard/Pci.h4
-rw-r--r--MdePkg/Include/IndustryStandard/Pci22.h4
-rw-r--r--MdePkg/Include/IndustryStandard/Pci23.h4
-rw-r--r--MdePkg/Include/IndustryStandard/SdramSpd.h6
-rw-r--r--MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h2
-rw-r--r--MdePkg/Include/IndustryStandard/Tpm12.h3
-rw-r--r--MdePkg/Include/IndustryStandard/Usb.h4
-rw-r--r--MdePkg/Include/IndustryStandard/WatchdogActionTable.h3
-rw-r--r--MdePkg/Include/IndustryStandard/WatchdogResourceTable.h3
-rw-r--r--MdePkg/Include/Library/BaseLib.h12
-rw-r--r--MdePkg/Include/Library/DxePiLib.h4
-rw-r--r--MdePkg/Include/Library/GraphicsLib.h4
-rw-r--r--MdePkg/Include/Library/PciSegmentLib.h4
-rw-r--r--MdePkg/Include/Library/PeiPiLib.h3
-rw-r--r--MdePkg/Include/Library/ScsiLib.h42
-rw-r--r--MdePkg/Include/Library/UefiApplicationEntryPoint.h1
-rw-r--r--MdePkg/Include/Library/UefiDriverEntryPoint.h9
-rw-r--r--MdePkg/Include/Library/UefiRuntimeLib.h4
26 files changed, 72 insertions, 72 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi1_0.h b/MdePkg/Include/IndustryStandard/Acpi1_0.h
index 553a0b2b8b..93a3f6beaa 100644
--- a/MdePkg/Include/IndustryStandard/Acpi1_0.h
+++ b/MdePkg/Include/IndustryStandard/Acpi1_0.h
@@ -1,5 +1,4 @@
-/**
- @file
+/** @file
ACPI 1.0b definitions from the ACPI Specification, revision 1.0b
Copyright (c) 2006 - 2007, Intel Corporation
diff --git a/MdePkg/Include/IndustryStandard/Acpi2_0.h b/MdePkg/Include/IndustryStandard/Acpi2_0.h
index 77c0284e09..3264b961e0 100644
--- a/MdePkg/Include/IndustryStandard/Acpi2_0.h
+++ b/MdePkg/Include/IndustryStandard/Acpi2_0.h
@@ -1,5 +1,4 @@
-/**
- @file
+/** @file
ACPI 2.0 definitions from the ACPI Specification, revision 2.0
Copyright (c) 2006 - 2007, Intel Corporation
diff --git a/MdePkg/Include/IndustryStandard/Acpi3_0.h b/MdePkg/Include/IndustryStandard/Acpi3_0.h
index 04b79a47bf..3cdf3103be 100644
--- a/MdePkg/Include/IndustryStandard/Acpi3_0.h
+++ b/MdePkg/Include/IndustryStandard/Acpi3_0.h
@@ -1,5 +1,4 @@
-/**
- @file
+/** @file
ACPI 3.0 definitions from the ACPI Specification Revision 3.0 September 2, 2004
Copyright (c) 2006 - 2008, Intel Corporation
diff --git a/MdePkg/Include/IndustryStandard/AlertStandardFormatTable.h b/MdePkg/Include/IndustryStandard/AlertStandardFormatTable.h
index 90cc10ca14..5a9e57660f 100644
--- a/MdePkg/Include/IndustryStandard/AlertStandardFormatTable.h
+++ b/MdePkg/Include/IndustryStandard/AlertStandardFormatTable.h
@@ -1,5 +1,4 @@
-/**
- @file
+/** @file
ACPI Alert Standard Format Description Table ASF! as described in the ASF2.0 Specification
Copyright (c) 2006 - 2007, Intel Corporation
diff --git a/MdePkg/Include/IndustryStandard/Atapi.h b/MdePkg/Include/IndustryStandard/Atapi.h
index ff6cc593bb..f73805664a 100644
--- a/MdePkg/Include/IndustryStandard/Atapi.h
+++ b/MdePkg/Include/IndustryStandard/Atapi.h
@@ -15,8 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
-#ifndef _ATAPI_H
-#define _ATAPI_H
+#ifndef _ATAPI_H_
+#define _ATAPI_H_
#pragma pack(1)
diff --git a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
index af961c49a9..37dda9fb61 100644
--- a/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
+++ b/MdePkg/Include/IndustryStandard/HighPrecisionEventTimerTable.h
@@ -1,4 +1,4 @@
-/**@file
+/** @file
ACPI high precision event timer table definition, defined at
ftp://download.intel.com/labs/platcomp/hpet/download/hpetspec098a.pdf.
Specification name is IA-PC HPET (High Precision Event Timers) Specification.
diff --git a/MdePkg/Include/IndustryStandard/IScsiBootFirmwareTable.h b/MdePkg/Include/IndustryStandard/IScsiBootFirmwareTable.h
index ec31e6188c..934939fcd1 100644
--- a/MdePkg/Include/IndustryStandard/IScsiBootFirmwareTable.h
+++ b/MdePkg/Include/IndustryStandard/IScsiBootFirmwareTable.h
@@ -22,23 +22,23 @@
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_REVISION 0x01
#define EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_STRUCTURE_ALIGNMENT 8
-enum {
+typedef enum {
EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_RESERVED_STRUCTURE_ID = 0,
EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_CONTROL_STRUCTURE_ID,
EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_INITIATOR_STRUCTURE_ID,
EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_NIC_STRUCTURE_ID,
EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_TARGET_STRUCTURE_ID,
EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_EXTERNSIONS_STRUCTURE_ID
-};
+} EFI_ACPI_ISCSI_ID_DEFINITIONS;
-enum {
+typedef enum {
IpPrefixOriginOther = 0,
IpPrefixOriginManual,
IpPrefixOriginWellKnown,
IpPrefixOriginDhcp,
IpPrefixOriginRouterAdvertisement,
IpPrefixOriginUnchanged = 16
-};
+} IP_PREFIX_VALUE;
#pragma pack(1)
diff --git a/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h b/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
index d826b62b83..6539f19c25 100644
--- a/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
+++ b/MdePkg/Include/IndustryStandard/MemoryMappedConfigurationSpaceAccessTable.h
@@ -1,4 +1,4 @@
-/**@file
+/** @file
ACPI memory mapped configuration space access table definition, defined at
in the PCI Firmware Specification, version 3.0 draft version 0.5.
Specification is available at http://www.pcisig.com.
diff --git a/MdePkg/Include/IndustryStandard/Pci.h b/MdePkg/Include/IndustryStandard/Pci.h
index 0551fbfb7f..65d93f6165 100644
--- a/MdePkg/Include/IndustryStandard/Pci.h
+++ b/MdePkg/Include/IndustryStandard/Pci.h
@@ -12,8 +12,8 @@
**/
-#ifndef _PCI_H
-#define _PCI_H
+#ifndef _PCI_H_
+#define _PCI_H_
#include <IndustryStandard/Pci30.h>
diff --git a/MdePkg/Include/IndustryStandard/Pci22.h b/MdePkg/Include/IndustryStandard/Pci22.h
index b1c66e824e..60fd98dfa6 100644
--- a/MdePkg/Include/IndustryStandard/Pci22.h
+++ b/MdePkg/Include/IndustryStandard/Pci22.h
@@ -12,8 +12,8 @@
**/
-#ifndef _PCI22_H
-#define _PCI22_H
+#ifndef _PCI22_H_
+#define _PCI22_H_
#define PCI_MAX_SEGMENT 0
diff --git a/MdePkg/Include/IndustryStandard/Pci23.h b/MdePkg/Include/IndustryStandard/Pci23.h
index b0cb21b546..6ddd6970cd 100644
--- a/MdePkg/Include/IndustryStandard/Pci23.h
+++ b/MdePkg/Include/IndustryStandard/Pci23.h
@@ -12,8 +12,8 @@
**/
-#ifndef _PCI23_H
-#define _PCI23_H
+#ifndef _PCI23_H_
+#define _PCI23_H_
#define PCI_EXP_MAX_CONFIG_OFFSET 0x1000
diff --git a/MdePkg/Include/IndustryStandard/SdramSpd.h b/MdePkg/Include/IndustryStandard/SdramSpd.h
index 59302ee7da..864b465d0e 100644
--- a/MdePkg/Include/IndustryStandard/SdramSpd.h
+++ b/MdePkg/Include/IndustryStandard/SdramSpd.h
@@ -1,4 +1,4 @@
-/**@file
+/** @file
This file contains definitions for the SPD fields on an SDRAM.
Copyright (c) 2007, Intel Corporation
@@ -11,8 +11,8 @@
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
-#ifndef _SDRAM_SPD_H
-#define _SDRAM_SPD_H
+#ifndef _SDRAM_SPD_H_
+#define _SDRAM_SPD_H_
//
// SDRAM SPD field definitions
diff --git a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h
index 381bb8f7a6..ab0bf9d731 100644
--- a/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h
+++ b/MdePkg/Include/IndustryStandard/SerialPortConsoleRedirectionTable.h
@@ -1,4 +1,4 @@
-/**@file
+/** @file
ACPI Serial Port Console Redirection Table as defined by Microsoft in
http://www.microsoft.com/whdc/system/platform/server/spcr.mspx
diff --git a/MdePkg/Include/IndustryStandard/Tpm12.h b/MdePkg/Include/IndustryStandard/Tpm12.h
index 613ee61902..ddf10d2266 100644
--- a/MdePkg/Include/IndustryStandard/Tpm12.h
+++ b/MdePkg/Include/IndustryStandard/Tpm12.h
@@ -1,5 +1,4 @@
-/**
- @file
+/** @file
TPM Specification data structures (TCG TPM Specification Version 1.2 Revision 94)
See http://trustedcomputinggroup.org for latest specification updates
diff --git a/MdePkg/Include/IndustryStandard/Usb.h b/MdePkg/Include/IndustryStandard/Usb.h
index f64d96c87c..01913d3b8b 100644
--- a/MdePkg/Include/IndustryStandard/Usb.h
+++ b/MdePkg/Include/IndustryStandard/Usb.h
@@ -129,7 +129,7 @@ typedef struct {
#pragma pack()
-enum {
+typedef enum {
//
// USB request type
//
@@ -191,7 +191,7 @@ enum {
//Use 200 ms to increase the error handling response time
//
EFI_USB_INTERRUPT_DELAY = 2000000
-};
+} USB_TYPES_DEFINITION;
//
diff --git a/MdePkg/Include/IndustryStandard/WatchdogActionTable.h b/MdePkg/Include/IndustryStandard/WatchdogActionTable.h
index e429c9a69e..67dabc4379 100644
--- a/MdePkg/Include/IndustryStandard/WatchdogActionTable.h
+++ b/MdePkg/Include/IndustryStandard/WatchdogActionTable.h
@@ -1,5 +1,4 @@
-/**
- @file
+/** @file
ACPI Watchdog Action Table as defined at
Microsoft Hardware Watchdog Timer Specification.
diff --git a/MdePkg/Include/IndustryStandard/WatchdogResourceTable.h b/MdePkg/Include/IndustryStandard/WatchdogResourceTable.h
index 5afe1a4bb7..2e416dfbb2 100644
--- a/MdePkg/Include/IndustryStandard/WatchdogResourceTable.h
+++ b/MdePkg/Include/IndustryStandard/WatchdogResourceTable.h
@@ -1,5 +1,4 @@
-/**
- @file
+/** @file
ACPI Watchdog Resource Table as defined at
Microsoft Hardware Watchdog Timer Specification.
diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h
index 95e1b6d314..83bdc3a168 100644
--- a/MdePkg/Include/Library/BaseLib.h
+++ b/MdePkg/Include/Library/BaseLib.h
@@ -3675,6 +3675,8 @@ CpuPause (
function.
@param NewStack A pointer to the new stack to use for the EntryPoint
function.
+ @param ... Extended parameters.
+
**/
VOID
@@ -4930,9 +4932,9 @@ AsmSwitchStackAndBackingStore (
@param PalEntryPoint The entry point address of PAL. The address in ar.kr5
would be used if this parameter were NULL on input.
@param Arg1 The first argument of a PAL call.
- @param Arg1 The second argument of a PAL call.
- @param Arg1 The third argument of a PAL call.
- @param Arg1 The fourth argument of a PAL call.
+ @param Arg2 The second argument of a PAL call.
+ @param Arg3 The third argument of a PAL call.
+ @param Arg4 The fourth argument of a PAL call.
@return The values returned in r8, r9, r10 and r11.
@@ -7061,7 +7063,7 @@ AsmDisablePaging32 (
If EntryPoint is 0, then ASSERT().
If NewStack is 0, then ASSERT().
- @param Cs The 16-bit selector to load in the CS before EntryPoint
+ @param CodeSelector The 16-bit selector to load in the CS before EntryPoint
is called. The descriptor in the GDT that this selector
references must be setup for long mode.
@param EntryPoint The 64-bit virtual address of the function to call with
@@ -7102,7 +7104,7 @@ AsmEnablePaging64 (
If EntryPoint is 0, then ASSERT().
If NewStack is 0, then ASSERT().
- @param Cs The 16-bit selector to load in the CS before EntryPoint
+ @param CodeSelector The 16-bit selector to load in the CS before EntryPoint
is called. The descriptor in the GDT that this selector
references must be setup for 32-bit protected mode.
@param EntryPoint The 64-bit virtual address of the function to call with
diff --git a/MdePkg/Include/Library/DxePiLib.h b/MdePkg/Include/Library/DxePiLib.h
index 3a86d52b3c..16ede8147e 100644
--- a/MdePkg/Include/Library/DxePiLib.h
+++ b/MdePkg/Include/Library/DxePiLib.h
@@ -139,13 +139,11 @@ PiLibGetSectionFromCurrentFv (
The data and size is returned by Buffer and Size. The caller is responsible to free the Buffer allocated
by this function. This function can only be called at TPL_NOTIFY and below.
- If FvHandle is NULL and WithinImage is TRUE, then ASSERT ();
- If NameGuid is NULL, then ASSERT();
If Buffer is NULL, then ASSERT();
If Size is NULL, then ASSERT().
- @param NameGuid The GUID name of a Firmware File.
@param SectionType The Firmware Section type.
+ @param Instance Instance number of a section.
@param Buffer On output, Buffer contains the the data read from the section in the Firmware File found.
@param Size On output, the size of Buffer.
diff --git a/MdePkg/Include/Library/GraphicsLib.h b/MdePkg/Include/Library/GraphicsLib.h
index 31a391bd7e..0c2812be2f 100644
--- a/MdePkg/Include/Library/GraphicsLib.h
+++ b/MdePkg/Include/Library/GraphicsLib.h
@@ -79,8 +79,8 @@ GetGraphicsBitMapFromFVEx (
@param[in] BmpImage Pointer to BMP file
@param[in] BmpImageSize Number of bytes in BmpImage
- @param[in,out] UgaBlt Buffer containing UGA version of BmpImage.
- @param[in,out] UgaBltSize Size of UgaBlt in bytes.
+ @param[in out] UgaBlt Buffer containing UGA version of BmpImage.
+ @param[in out] UgaBltSize Size of UgaBlt in bytes.
@param[out] PixelHeight Height of UgaBlt/BmpImage in pixels
@param[out] PixelWidth Width of UgaBlt/BmpImage in pixels
diff --git a/MdePkg/Include/Library/PciSegmentLib.h b/MdePkg/Include/Library/PciSegmentLib.h
index 57f4c10a34..e0b16c20c0 100644
--- a/MdePkg/Include/Library/PciSegmentLib.h
+++ b/MdePkg/Include/Library/PciSegmentLib.h
@@ -142,7 +142,7 @@ PciSegmentAnd8 (
If any reserved bits in Address are set, then ASSERT().
@param Address Address that encodes the PCI Segment, Bus, Device, Function, and Register.
- @param Andata The value to AND with the PCI configuration register.
+ @param AndData The value to AND with the PCI configuration register.
@param OrData The value to OR with the PCI configuration register.
@return The value written to the PCI configuration register.
@@ -416,7 +416,7 @@ PciSegmentAnd16 (
If any reserved bits in Address are set, then ASSERT().
@param Address Address that encodes the PCI Segment, Bus, Device, Function, and Register.
- @param Andata The value to AND with the PCI configuration register.
+ @param AndData The value to AND with the PCI configuration register.
@param OrData The value to OR with the PCI configuration register.
@return The value written to the PCI configuration register.
diff --git a/MdePkg/Include/Library/PeiPiLib.h b/MdePkg/Include/Library/PeiPiLib.h
index 5603689d88..341ae81aae 100644
--- a/MdePkg/Include/Library/PeiPiLib.h
+++ b/MdePkg/Include/Library/PeiPiLib.h
@@ -36,8 +36,7 @@
from a firmware file, these should be NULL
- **/
-
+**/
VOID
EFIAPI
PiLibInstallFvInfoPpi (
diff --git a/MdePkg/Include/Library/ScsiLib.h b/MdePkg/Include/Library/ScsiLib.h
index 13a4bb3634..2087d82ad3 100644
--- a/MdePkg/Include/Library/ScsiLib.h
+++ b/MdePkg/Include/Library/ScsiLib.h
@@ -12,8 +12,8 @@
**/
-#ifndef _SCSI_LIB_H
-#define _SCSI_LIB_H
+#ifndef _SCSI_LIB_H_
+#define _SCSI_LIB_H_
#include <Protocol/ScsiIo.h>
@@ -29,7 +29,7 @@
// since the value output by this macro is in 100ns unit,
// not 1us unit (1us = 1000ns)
//
-#define EfiScsiStallSeconds(a) (a) * EFI_SCSI_STALL_1_SECOND
+#define EfiScsiStallSeconds(a) ((a) * EFI_SCSI_STALL_1_SECOND)
/**
@@ -77,12 +77,12 @@ ScsiTestUnitReadyCommand (
@param[in] ScsiIo SCSI IO Protocol to use
@param[in] Timeout The length of timeout period.
- @param[out] SenseData A pointer to output sense data.
- @param[in,out] SenseDataLength The length of output sense data.
+ @param[in] SenseData A pointer to output sense data.
+ @param[in out] SenseDataLength The length of output sense data.
@param[out] HostAdapterStatus The status of Host Adapter.
@param[out] TargetStatus The status of the target.
- @param[in,out] InquirydataBuffer A pointer to inquiry data buffer.
- @param[in,out] InquiryDataLength The length of inquiry data buffer.
+ @param[in out] InquirydataBuffer A pointer to inquiry data buffer.
+ @param[in out] InquiryDataLength The length of inquiry data buffer.
@param[in] EnableVitalProductData Boolean to enable Vital Product Data.
@retval EFI_SUCCESS The status of the unit is tested successfully.
@@ -123,12 +123,12 @@ ScsiInquiryCommand (
@param[in] ScsiIo A pointer to SCSI IO protocol.
@param[in] Timeout The length of timeout period.
- @param[out] SenseData A pointer to output sense data.
- @param[in,out] SenseDataLength The length of output sense data.
+ @param[in] SenseData A pointer to output sense data.
+ @param[in out] SenseDataLength The length of output sense data.
@param[out] HostAdapterStatus The status of Host Adapter.
@param[out] TargetStatus The status of the target.
@param[in] DataBuffer A pointer to input data buffer.
- @param[in,out] DataLength The length of input data buffer.
+ @param[in out] DataLength The length of input data buffer.
@param[in] DBDField The DBD Field (Optional).
@param[in] PageControl Page Control.
@param[in] PageCode Page code.
@@ -180,8 +180,8 @@ ScsiModeSense10Command (
@param[in] ScsiIo SCSI IO Protocol to use
@param[in] Timeout TODO:
- @param[out] SenseData TODO:
- @param[in,out] SenseDataLength TODO:
+ @param[in] SenseData TODO:
+ @param[in out] SenseDataLength TODO:
@param[out] HostAdapterStatus TODO:
@param[out] TargetStatus TODO:
@@ -221,12 +221,12 @@ ScsiRequestSenseCommand (
@param[in] ScsiIo A pointer to SCSI IO protocol.
@param[in] Timeout The length of timeout period.
- @param[out] SenseData A pointer to output sense data.
- @param[in,out] SenseDataLength The length of output sense data.
+ @param[in] SenseData A pointer to output sense data.
+ @param[in out] SenseDataLength The length of output sense data.
@param[out] HostAdapterStatus The status of Host Adapter.
@param[out] TargetStatus The status of the target.
@param[out] DataBuffer A pointer to a data buffer.
- @param[in,out] DataLength The length of data buffer.
+ @param[in out] DataLength The length of data buffer.
@param[in] PMI Partial medium indicator.
@retval EFI_SUCCESS The status of the unit is tested successfully.
@@ -267,12 +267,12 @@ ScsiReadCapacityCommand (
@param[in] ScsiIo A pointer to SCSI IO protocol.
@param[in] Timeout The length of timeout period.
- @param[out] SenseData A pointer to output sense data.
- @param[in,out] SenseDataLength The length of output sense data.
+ @param[in] SenseData A pointer to output sense data.
+ @param[in out] SenseDataLength The length of output sense data.
@param[out] HostAdapterStatus The status of Host Adapter.
@param[out] TargetStatus The status of the target.
@param[out] DataBuffer Read 10 command data.
- @param[in,out] DataLength The length of data buffer.
+ @param[in out] DataLength The length of data buffer.
@param[in] StartLba The start address of LBA.
@param[in] SectorSize The sector size.
@@ -315,12 +315,12 @@ ScsiRead10Command (
@param[in] ScsiIo SCSI IO Protocol to use
@param[in] Timeout The length of timeout period.
- @param[out] SenseData A pointer to output sense data.
- @param[in,out] SenseDataLength The length of output sense data.
+ @param[in] SenseData A pointer to output sense data.
+ @param[in out] SenseDataLength The length of output sense data.
@param[out] HostAdapterStatus The status of Host Adapter.
@param[out] TargetStatus The status of the target.
@param[out] DataBuffer A pointer to a data buffer.
- @param[in,out] DataLength The length of data buffer.
+ @param[in out] DataLength The length of data buffer.
@param[in] StartLba The start address of LBA.
@param[in] SectorSize The sector size.
diff --git a/MdePkg/Include/Library/UefiApplicationEntryPoint.h b/MdePkg/Include/Library/UefiApplicationEntryPoint.h
index 8ab07d9653..b1067acf72 100644
--- a/MdePkg/Include/Library/UefiApplicationEntryPoint.h
+++ b/MdePkg/Include/Library/UefiApplicationEntryPoint.h
@@ -113,7 +113,6 @@ ProcessLibraryDestructorList (
the user.
**/
-
EFI_STATUS
EFIAPI
ProcessModuleEntryPointList (
diff --git a/MdePkg/Include/Library/UefiDriverEntryPoint.h b/MdePkg/Include/Library/UefiDriverEntryPoint.h
index 6269876738..6908830f13 100644
--- a/MdePkg/Include/Library/UefiDriverEntryPoint.h
+++ b/MdePkg/Include/Library/UefiDriverEntryPoint.h
@@ -129,6 +129,15 @@ ProcessLibraryDestructorList (
**/
+/**
+ Call the list of driver entry points. Automatics Generated by tool.
+
+ @param ImageHandle ImageHandle of the loaded driver.
+ @param SystemTable Pointer to the EFI System Table.
+
+ @return Status returned by entry points of drivers.
+
+**/
EFI_STATUS
EFIAPI
ProcessModuleEntryPointList (
diff --git a/MdePkg/Include/Library/UefiRuntimeLib.h b/MdePkg/Include/Library/UefiRuntimeLib.h
index 99b4110215..f4b63f4b90 100644
--- a/MdePkg/Include/Library/UefiRuntimeLib.h
+++ b/MdePkg/Include/Library/UefiRuntimeLib.h
@@ -355,7 +355,7 @@ EfiUpdateCapsule (
stored in contiguous virtual memory.
@param CapsuleCount Number of pointers to EFI_CAPSULE_HEADER in
CaspuleHeaderArray.
- @param MaxiumCapsuleSize On output the maximum size that UpdateCapsule() can
+ @param MaximumCapsuleSize On output the maximum size that UpdateCapsule() can
support as an argument to UpdateCapsule() via
CapsuleHeaderArray and ScatterGatherList.
Undefined on input.
@@ -411,7 +411,7 @@ EfiQueryCapsuleCapabilities (
EFI_STATUS
EFIAPI
EfiQueryVariableInfo (
- IN UINT32 Attrubutes,
+ IN UINT32 Attributes,
OUT UINT64 *MaximumVariableStorageSize,
OUT UINT64 *RemainingVariableStorageSize,
OUT UINT64 *MaximumVariableSize