]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/DevicePathDxe/DevicePath.h
Fix some typos.
[mirror_edk2.git] / MdeModulePkg / Universal / DevicePathDxe / DevicePath.h
index b1f398ddad4a29780d8c7b743c67dd037c3f8b35..e4e37f4bb3e1a96161b681f30d1ce47a769aa867 100644 (file)
@@ -31,14 +31,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/DevicePathLib.h>\r
 #include <Library/PcdLib.h>\r
 \r
-extern const EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid;\r
-extern const EFI_GUID mEfiDevicePathMessagingSASGuid;\r
 \r
 #define MAX_CHAR                   480\r
 \r
-#define MIN_ALIGNMENT_SIZE         sizeof(UINTN)\r
-#define ALIGN_SIZE(a)              ((a % MIN_ALIGNMENT_SIZE) ? MIN_ALIGNMENT_SIZE - (a % MIN_ALIGNMENT_SIZE) : 0)\r
-\r
 #define IS_COMMA(a)                ((a) == L',')\r
 #define IS_HYPHEN(a)               ((a) == L'-')\r
 #define IS_DOT(a)                  ((a) == L'.')\r
@@ -47,11 +42,8 @@ extern const EFI_GUID mEfiDevicePathMessagingSASGuid;
 #define IS_SLASH(a)                ((a) == L'/')\r
 #define IS_NULL(a)                 ((a) == L'\0')\r
 \r
-#define DEVICE_NODE_END            1\r
-#define DEVICE_PATH_INSTANCE_END   2\r
-#define DEVICE_PATH_END            3\r
 \r
-#define SET_DEVICE_PATH_INSTANCE_END_NODE(a) {                \\r
+#define SET_DEVICE_PATH_INSTANCE_END_NODE(a) {           \\r
     (a)->Type       = END_DEVICE_PATH_TYPE;              \\r
     (a)->SubType    = END_INSTANCE_DEVICE_PATH_SUBTYPE;  \\r
     (a)->Length[0]  = sizeof (EFI_DEVICE_PATH_PROTOCOL); \\r
@@ -331,7 +323,7 @@ AppendDeviceNodeProtocolInterface (
   path.\r
 \r
   This function creates a new device path by appending a copy of the device path instance specified\r
-  by DevicePathInstance to a copy of the device path secified by DevicePath in a allocated buffer.\r
+  by DevicePathInstance to a copy of the device path specified by DevicePath in a allocated buffer.\r
   The end-of-device-path device node is moved after the end of the appended device path instance\r
   and a new end-of-device-path-instance node is inserted between.\r
   If DevicePath is NULL, then a copy if DevicePathInstance is returned.\r