VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Library/ResourcePublicationLib.h@ 105681

最後變更 在這個檔案從105681是 99404,由 vboxsync 提交於 20 月 前

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
1/** @file
2 Provides a service to publish discovered system resources.
3
4Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef __RESOURCE_PUBLICATION_LIB__
10#define __RESOURCE_PUBLICATION_LIB__
11
12/**
13 Declares the presence of permanent system memory in the platform.
14
15 Declares that the system memory buffer specified by MemoryBegin and MemoryLength
16 as permanent memory that may be used for general purpose use by software.
17 The amount of memory available to software may be less than MemoryLength
18 if published memory has alignment restrictions.
19 If MemoryLength is 0, then ASSERT().
20 If MemoryLength is greater than (MAX_ADDRESS - MemoryBegin + 1), then ASSERT().
21
22 @param MemoryBegin The start address of the memory being declared.
23 @param MemoryLength The number of bytes of memory being declared.
24
25 @retval RETURN_SUCCESS The memory buffer was published.
26 @retval RETURN_OUT_OF_RESOURCES There are not enough resources to publish the memory buffer
27
28**/
29RETURN_STATUS
30EFIAPI
31PublishSystemMemory (
32 IN PHYSICAL_ADDRESS MemoryBegin,
33 IN UINT64 MemoryLength
34 );
35
36#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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