summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Protocol/DevicePath.h
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-14 04:29:48 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-08-14 04:29:48 +0000
commit99e8ed219f48b82694424e46c9512d4929d9d54e (patch)
treec53470e18c4befeac367d28e285176f3f0c1e88b /MdePkg/Include/Protocol/DevicePath.h
parent06889842319d8fc9dd46a4b5dd1804df02e9cece (diff)
downloadedk2-99e8ed219f48b82694424e46c9512d4929d9d54e.zip
edk2-99e8ed219f48b82694424e46c9512d4929d9d54e.tar.gz
edk2-99e8ed219f48b82694424e46c9512d4929d9d54e.tar.bz2
Use doxygen comment style for document entity such as struct, enum, variable that use /// but not //
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5649 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Protocol/DevicePath.h')
-rw-r--r--MdePkg/Include/Protocol/DevicePath.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol/DevicePath.h
index fddf972..48c8f4b 100644
--- a/MdePkg/Include/Protocol/DevicePath.h
+++ b/MdePkg/Include/Protocol/DevicePath.h
@@ -21,9 +21,9 @@
#include <Guid/PcAnsi.h>
-//
-// Device Path protocol
-//
+///
+/// Device Path protocol
+///
#define EFI_DEVICE_PATH_PROTOCOL_GUID \
{ \
0x9576e91, 0x6d3f, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
@@ -33,9 +33,9 @@
// Protocol GUID defined in EFI1.1.
//
-//
-// Device Path information
-//
+///
+/// Device Path information
+///
#define DEVICE_PATH_PROTOCOL EFI_DEVICE_PATH_PROTOCOL_GUID
#pragma pack(1)
@@ -46,14 +46,14 @@ typedef struct {
UINT8 Length[2];
} EFI_DEVICE_PATH_PROTOCOL;
-//
-// For backward-compatible with EFI1.1.
-//
+///
+/// For backward-compatible with EFI1.1.
+///
typedef EFI_DEVICE_PATH_PROTOCOL EFI_DEVICE_PATH;
-//
-// Hardware Device Paths
-//
+///
+/// Hardware Device Paths
+///
#define HARDWARE_DEVICE_PATH 0x01
#define HW_PCI_DP 0x01
@@ -89,9 +89,9 @@ typedef struct {
UINT32 ControllerNumber;
} CONTROLLER_DEVICE_PATH;
-//
-// ACPI Device Paths
-//
+///
+/// ACPI Device Paths
+///
#define ACPI_DEVICE_PATH 0x02
#define ACPI_DP 0x01
@@ -107,10 +107,10 @@ typedef struct {
UINT32 HID;
UINT32 UID;
UINT32 CID;
- //
- // Optional variable length _HIDSTR
- // Optional variable length _UIDSTR
- //
+ ///
+ /// Optional variable length _HIDSTR
+ /// Optional variable length _UIDSTR
+ ///
} ACPI_EXTENDED_HID_DEVICE_PATH;
//
@@ -151,9 +151,9 @@ typedef struct {
(((_Port) & 0xf) << 4) | \
((_Index) & 0xf) ))
-//
-// Messaging Device Paths
-//
+///
+/// Messaging Device Paths
+///
#define MESSAGING_DEVICE_PATH 0x03
#define MSG_ATAPI_DP 0x01
@@ -426,9 +426,9 @@ typedef struct {
#define BBS_TYPE_UNKNOWN 0xFF
-//
-// Union of all possible Device Paths and pointers to Device Paths
-//
+///
+/// Union of all possible Device Paths and pointers to Device Paths
+///
typedef union {
EFI_DEVICE_PATH_PROTOCOL DevPath;