VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/MemoryAccept.h

最後變更 在這個檔案是 99404,由 vboxsync 提交於 2 年 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 988 位元組
 
1/** @file
2 The file provides the protocol to provide interface to accept memory.
3
4 Copyright (c) 2021 - 2022, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6**/
7
8#ifndef MEMORY_ACCEPT_H_
9#define MEMORY_ACCEPT_H_
10
11#define EDKII_MEMORY_ACCEPT_PROTOCOL_GUID \
12 { 0x38c74800, 0x5590, 0x4db4, { 0xa0, 0xf3, 0x67, 0x5d, 0x9b, 0x8e, 0x80, 0x26 } };
13
14typedef struct _EDKII_MEMORY_ACCEPT_PROTOCOL EDKII_MEMORY_ACCEPT_PROTOCOL;
15
16/**
17 @param This A pointer to a EDKII_MEMORY_ACCEPT_PROTOCOL.
18**/
19typedef
20EFI_STATUS
21(EFIAPI *EDKII_ACCEPT_MEMORY)(
22 IN EDKII_MEMORY_ACCEPT_PROTOCOL *This,
23 IN EFI_PHYSICAL_ADDRESS StartAddress,
24 IN UINTN Size
25 );
26
27///
28/// The EDKII_MEMORY_ACCEPT_PROTOCOL provides the ability for memory services
29/// to accept memory.
30///
31struct _EDKII_MEMORY_ACCEPT_PROTOCOL {
32 EDKII_ACCEPT_MEMORY AcceptMemory;
33};
34
35extern EFI_GUID gEdkiiMemoryAcceptProtocolGuid;
36
37#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette