#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
#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
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