UefiPayloadPkg: Add definition for PayloadCommandLine HOB
Add definition for UNIVERSAL_PAYLOAD_COMMAND_LINE Hob. This Hob is used to pass command Line to Payload. Signed-off-by: Dun Tan <dun.tan@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Reviewed-by: Guo Dong <guo.dong@intel.com> Cc: Benjamin You <benjamin.you@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: Zhiguang Liu <zhiguang.liu@intel.com>
This commit is contained in:
28
UefiPayloadPkg/Include/Guid/PayloadCommandLine.h
Normal file
28
UefiPayloadPkg/Include/Guid/PayloadCommandLine.h
Normal file
@@ -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
|
Reference in New Issue
Block a user