VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf

Last change on this file was 99404, checked in by vboxsync, 2 years ago

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

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1## @file
2# Sample PRM Driver
3#
4# A sample PRM Module implementation. This PRM Module includes a PRM Module configuration library instance
5# that applies the configuration for the PRM context data in the boot environment. A PRM handler
6# is provided that accesses the context buffer resources and prints their value at OS runtime.
7#
8# Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
9# Copyright (c) Microsoft Corporation
10# Copyright (c) 2022, Arm Limited. All rights reserved.<BR>
11#
12# SPDX-License-Identifier: BSD-2-Clause-Patent
13#
14##
15
16[Defines]
17 INF_VERSION = 0x00010005
18 BASE_NAME = PrmSampleContextBufferModule
19 FILE_GUID = 5A6CF42B-8BB4-472C-A233-5C4DC4033DC7
20 MODULE_TYPE = DXE_RUNTIME_DRIVER
21 VERSION_STRING = 1.0
22 ENTRY_POINT = PrmSampleContextBufferModuleInit
23
24[Sources]
25 Include/StaticData.h
26 PrmSampleContextBufferModule.c
27
28[Packages]
29 MdePkg/MdePkg.dec
30 MdeModulePkg/MdeModulePkg.dec
31 UefiCpuPkg/UefiCpuPkg.dec
32 PrmPkg/PrmPkg.dec
33
34[LibraryClasses]
35 BaseLib
36 PrintLib
37 UefiDriverEntryPoint
38 UefiLib
39
40[Depex]
41 TRUE
42
43[BuildOptions.common]
44 MSFT:*_*_*_DLINK_FLAGS = /DLL /SUBSYSTEM:CONSOLE /VERSION:1.0
45 MSFT:*_*_*_GENFW_FLAGS = --keepoptionalheader
46
47 GCC:*_*_AARCH64_GENFW_FLAGS = --keepoptionalheader --prm
48 GCC:*_*_AARCH64_DLINK_FLAGS = -Wl,--no-gc-sections -Wl,--require-defined=PrmModuleExportDescriptor -Wl,--require-defined=CheckStaticDataBufferPrmHandler
Note: See TracBrowser for help on using the repository browser.

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