summaryrefslogtreecommitdiffstats
path: root/UefiPayloadPkg/Include/Guid/PayloadCommandLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'UefiPayloadPkg/Include/Guid/PayloadCommandLine.h')
-rw-r--r--UefiPayloadPkg/Include/Guid/PayloadCommandLine.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/UefiPayloadPkg/Include/Guid/PayloadCommandLine.h b/UefiPayloadPkg/Include/Guid/PayloadCommandLine.h
new file mode 100644
index 0000000000..845a30efe1
--- /dev/null
+++ b/UefiPayloadPkg/Include/Guid/PayloadCommandLine.h
@@ -0,0 +1,28 @@
+/** @file
+ Define the structure for the Payload command line Hob.
+
+Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef PAYLOAD_COMMAND_LINE_H_
+#define PAYLOAD_COMMAND_LINE_H_
+
+#include <Uefi.h>
+#include <UniversalPayload/UniversalPayload.h>
+
+#pragma pack (1)
+
+typedef struct {
+ UNIVERSAL_PAYLOAD_GENERIC_HEADER Header;
+ UINT32 Count;
+ CHAR8 CommandLine[0];
+} UNIVERSAL_PAYLOAD_COMMAND_LINE;
+
+#pragma pack()
+
+#define UNIVERSAL_PAYLOAD_COMMAND_LINE_REVISION 1
+
+extern GUID gEdkiiPayloadCommandLineGuid;
+#endif