This commit oves StackCheckLib from a NULL lib to an instance of StackCheckLib. This requires every entry point to add a library dependency on StackCheckLib. It also requires every SEC module to have a dependency on StackCheckLib because there is no standard SEC entry point. It allows for greater flexibility for a platform to apply stack cookies and simplifies DSC logic. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
50 lines
1.0 KiB
INI
50 lines
1.0 KiB
INI
## @file
|
|
# Entry Point of Emu Emulator
|
|
#
|
|
# Main executable file of Unix Emulator that loads PEI core after initialization finished.
|
|
# Portions copyright (c) 2011, Apple Inc. All rights reserved.<BR>
|
|
# Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 1.30
|
|
BASE_NAME = EmuSec
|
|
FILE_GUID = BCAF98C9-22B0-3B4F-9CBD-C8A6B4DBCEE9
|
|
MODULE_TYPE = SEC
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
[Sources]
|
|
Sec.c
|
|
|
|
[Sources.X64]
|
|
X64/SwitchRam.asm
|
|
X64/SwitchRam.S
|
|
|
|
[Sources.IA32]
|
|
Ia32/TempRam.c
|
|
Ia32/SwitchRam.asm
|
|
Ia32/SwitchRam.S
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
EmulatorPkg/EmulatorPkg.dec
|
|
|
|
[LibraryClasses]
|
|
DebugLib
|
|
PeCoffGetEntryPointLib
|
|
PeiServicesLib
|
|
PpiListLib
|
|
BaseMemoryLib
|
|
StackCheckLib
|
|
|
|
[Ppis]
|
|
gEfiTemporaryRamSupportPpiGuid
|
|
|
|
[Pcd]
|
|
gEmulatorPkgTokenSpaceGuid.PcdPeiServicesTablePage
|