summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard
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/IndustryStandard
parent0f82bd55142af193e669e76fcaf02f8d835f3f39 (diff)
downloadedk2-42eedea958591087603bbacd1c2227d2494026af.zip
edk2-42eedea958591087603bbacd1c2227d2494026af.tar.gz
edk2-42eedea958591087603bbacd1c2227d2494026af.tar.bz2
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/IndustryStandard')
-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
17 files changed, 27 insertions, 34 deletions
diff --git a/MdePkg/Include/IndustryStandard/Acpi1_0.h b/MdePkg/Include/IndustryStandard/Acpi1_0.h
index 553a0b2..93a3f6b 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 77c0284..3264b96 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 04b79a4..3cdf310 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 90cc10c..5a9e576 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 ff6cc59..f738056 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 af961c4..37dda9f 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 ec31e61..934939f 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 d826b62..6539f19 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 0551fbf..65d93f6 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 b1c66e8..60fd98d 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 b0cb21b..6ddd697 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 59302ee..864b465 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 381bb8f..ab0bf9d 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 613ee61..ddf10d2 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 f64d96c..01913d3 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 e429c9a..67dabc4 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 5afe1a4..2e416df 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.