TianoCore EDK2 master
Loading...
Searching...
No Matches
UniversalPayload.h File Reference

Go to the source code of this file.

Data Structures

struct  UNIVERSAL_PAYLOAD_INFO_HEADER
 
struct  UNIVERSAL_PAYLOAD_GENERIC_HEADER
 

Macros

#define UNIVERSAL_PAYLOAD_IDENTIFIER   SIGNATURE_32('P', 'L', 'D', 'H')
 
#define UNIVERSAL_PAYLOAD_INFO_SEC_NAME   ".upld_info"
 
#define UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX   ".upld."
 
#define UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX_LENGTH   (sizeof (UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX) - 1)
 
#define UNIVERSAL_PAYLOAD_SIZEOF_THROUGH_FIELD(TYPE, Field)   (OFFSET_OF(TYPE, Field) + sizeof (((TYPE *) 0)->Field))
 

Typedefs

typedef VOID(EFIAPI * UNIVERSAL_PAYLOAD_ENTRY) (VOID *HobList)
 

Detailed Description

Universal Payload general definitions.

Copyright (c) 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Revision Reference:

Definition in file UniversalPayload.h.

Macro Definition Documentation

◆ UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX

#define UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX   ".upld."

Definition at line 23 of file UniversalPayload.h.

◆ UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX_LENGTH

#define UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX_LENGTH   (sizeof (UNIVERSAL_PAYLOAD_EXTRA_SEC_NAME_PREFIX) - 1)

Definition at line 24 of file UniversalPayload.h.

◆ UNIVERSAL_PAYLOAD_IDENTIFIER

#define UNIVERSAL_PAYLOAD_IDENTIFIER   SIGNATURE_32('P', 'L', 'D', 'H')

Definition at line 21 of file UniversalPayload.h.

◆ UNIVERSAL_PAYLOAD_INFO_SEC_NAME

#define UNIVERSAL_PAYLOAD_INFO_SEC_NAME   ".upld_info"

Definition at line 22 of file UniversalPayload.h.

◆ UNIVERSAL_PAYLOAD_SIZEOF_THROUGH_FIELD

#define UNIVERSAL_PAYLOAD_SIZEOF_THROUGH_FIELD (   TYPE,
  Field 
)    (OFFSET_OF(TYPE, Field) + sizeof (((TYPE *) 0)->Field))

Returns the size of a structure of known type, up through and including a specified field.

Parameters
TYPEThe name of the data structure that contains the field specified by Field.
FieldThe name of the field in the data structure.
Returns
size, in bytes.

Definition at line 57 of file UniversalPayload.h.

Typedef Documentation

◆ UNIVERSAL_PAYLOAD_ENTRY

typedef VOID(EFIAPI * UNIVERSAL_PAYLOAD_ENTRY) (VOID *HobList)

Main entry point to Universal Payload.

Parameters
HobListPointer to the beginning of the HOB List from boot loader.

Definition at line 19 of file UniversalPayload.h.