]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Include/Protocol/MemoryAccept.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / Protocol / MemoryAccept.h
CommitLineData
2af33db3
JG
1/** @file\r
2 The file provides the protocol to provide interface to accept memory.\r
3\r
4 Copyright (c) 2021 - 2022, Intel Corporation. All rights reserved.<BR>\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6**/\r
7\r
8#ifndef MEMORY_ACCEPT_H_\r
9#define MEMORY_ACCEPT_H_\r
10\r
11#define EDKII_MEMORY_ACCEPT_PROTOCOL_GUID \\r
12 { 0x38c74800, 0x5590, 0x4db4, { 0xa0, 0xf3, 0x67, 0x5d, 0x9b, 0x8e, 0x80, 0x26 } };\r
13\r
14typedef struct _EDKII_MEMORY_ACCEPT_PROTOCOL EDKII_MEMORY_ACCEPT_PROTOCOL;\r
15\r
16/**\r
17 @param This A pointer to a EDKII_MEMORY_ACCEPT_PROTOCOL.\r
18**/\r
19typedef\r
20EFI_STATUS\r
21(EFIAPI *EDKII_ACCEPT_MEMORY)(\r
22 IN EDKII_MEMORY_ACCEPT_PROTOCOL *This,\r
23 IN EFI_PHYSICAL_ADDRESS StartAddress,\r
24 IN UINTN Size\r
25 );\r
26\r
27///\r
28/// The EDKII_MEMORY_ACCEPT_PROTOCOL provides the ability for memory services\r
29/// to accept memory.\r
30///\r
31struct _EDKII_MEMORY_ACCEPT_PROTOCOL {\r
32 EDKII_ACCEPT_MEMORY AcceptMemory;\r
33};\r
34\r
35extern EFI_GUID gEdkiiMemoryAcceptProtocolGuid;\r
36\r
37#endif\r