mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-14 06:08:09 +02:00
The current image DxeCore re-uses the generic UEFI implementations of DxeServicesTableLib, UefiBootServicesTableLib, and UefiRuntimeServicesTableLib. As it is the owner of those pointers however, it can expose them without further indirection. Import library instances of the services table libraries specifically for DxeCore to expose its internal pointers dirtectly. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Vitaly Cheptsov <vit9696@protonmail.com> Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
41 lines
928 B
INI
41 lines
928 B
INI
## @file
|
|
# Dummy instance of DXE Services Table Library for DxeCore.
|
|
#
|
|
# Copyright (c) 2021, Marvin Häuser. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = DxeCoreDxeServicesTableLib
|
|
MODULE_UNI_FILE = DxeCoreDxeServicesTableLib.uni
|
|
FILE_GUID = 898fc74c-b07c-4b68-bdd3-365c9ce26a9d
|
|
MODULE_TYPE = DXE_CORE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = DxeServicesTableLib|DXE_CORE
|
|
|
|
CONSTRUCTOR = DxeServicesTableLibConstructor
|
|
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64
|
|
#
|
|
|
|
[Sources]
|
|
DxeCoreDxeServicesTableLib.c
|
|
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
[LibraryClasses]
|
|
UefiLib
|
|
DebugLib
|
|
|
|
|
|
[Guids]
|
|
gEfiDxeServicesTableGuid ## CONSUMES ## SystemTable
|