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

Go to the source code of this file.

Data Structures

struct  _OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL
 

Macros

#define OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL_GUID
 

Typedefs

typedef struct _OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL
 
typedef EFI_STATUS(EFIAPI * OVMF_SEV_ALLOW_UNACCEPTED_MEMORY) (IN OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL *This)
 

Detailed Description

The file provides the protocol that disables the behavior that all memory gets accepted at ExitBootServices(). This protocol is only meant to be called by the OS loader, and not EDK2 itself. The SEV naming is due to the coincidence that only SEV-SNP needs this protocol, since SEV-SNP Linux support was released before it had support for unaccepted memory. The technology enablement thus does not strictly imply support for the unaccepted memory type.

Copyright (c) 2023, Google LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file SevMemoryAcceptance.h.

Macro Definition Documentation

◆ OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL_GUID

#define OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL_GUID
Value:
{0xc5a010fe, \
0x38a7, \
0x4531, \
{0x8a, 0x4a, 0x05, 0x00, 0xd2, 0xfd, 0x16, 0x49}}

Definition at line 17 of file SevMemoryAcceptance.h.

Typedef Documentation

◆ OVMF_SEV_ALLOW_UNACCEPTED_MEMORY

typedef EFI_STATUS(EFIAPI * OVMF_SEV_ALLOW_UNACCEPTED_MEMORY) (IN OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL *This)
Parameters
ThisA pointer to a OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL.

Definition at line 30 of file SevMemoryAcceptance.h.

◆ OVMF_SEV_MEMORY_ACCEPTANCE_PROTOCOL