MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
UniversalPayload.h File Reference

Data Structures

struct  UNIVERSAL_PAYLOAD_INFO_HEADER
 
struct  UNIVERSAL_PAYLOAD_GENERIC_HEADER
 

Macros

#define UNIVERSAL_PAYLOAD_IDENTIFIER   SIGNATURE_32('U', 'P', 'L', 'D')
 
#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))
 

Functions

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:

Macro Definition Documentation

#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_IDENTIFIER   SIGNATURE_32('U', 'P', 'L', 'D')
#define UNIVERSAL_PAYLOAD_INFO_SEC_NAME   ".upld_info"
#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.

Function Documentation

typedef VOID ( EFIAPI *  EBC_DEBUGGER_DEBUG)

Main entry point to Universal Payload.

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

Given a pointer to a new VM context, debug one or more instructions.

Parameters
[in]ThisA pointer to the EFI_EBC_SIMPLE_DEBUGGER_PROTOCOL structure.
[in]VmPtrA pointer to a VM context.
Return values
EFI_UNSUPPORTEDNo support for it.
EFI_SUCCESSDebug one or more instructions.