audk/UefiCpuPkg
Oliver Smith-Denny f0390f7bf1 UefiCpuPkg: Make the ResetVector USER_DEFINED
The x86 reset vector is the initial FW code to run on an
AP. It should not link to any libraries and is implemented
entirely in assembly. This module is currently labled as
SEC, because it runs during the SEC phase, but by having it
SEC, it will be linked to all NULL libraries linked globally.
This causes issue with StackCheckLib (though any NULL
library being applied globally has the same issue) because
BaseTools will attempt to link the library and add an
extern to _ModuleEntryPoint, which does not exist for this
module.

Moving this module to USER_DEFINED instructs BaseTools to
not link any NULL libraries to it, which is the desired
behavior, and leads to a much cleaner global NULL library
implementation, in this case for StackCheckLib.

This change was tested on OVMF IA32/X64 and proved to work
as before.

Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
2024-11-13 21:01:46 +00:00
..
Application/Cpuid UefiCpuPkg: Calculate DisplayFamily correctly 2023-03-07 10:42:38 +00:00
CpuDxe UefiCpuPkg: remove last instances of EFI_D_ 2024-07-31 08:59:21 +00:00
CpuDxeRiscV64 UefiCpuPkg: RiscV64: initialize FPU 2024-10-04 04:53:21 +00:00
CpuFeatures UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuIo2Dxe UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuIo2Smm UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuIoPei UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
CpuMmio2Dxe UefiCpuPkg: Add a new CPU IO 2 driver named CpuMmio2Dxe 2024-02-06 23:51:47 +08:00
CpuMpPei UefiCpuPkg/CpuMpPei: Don't write CR3 in ConvertMemoryPageToNotPresent 2024-02-22 03:28:55 +00:00
CpuS3DataDxe UefiCpuPkg: Save MTRR by lockbox in CpuS3DataDxe 2024-06-04 07:40:27 +00:00
CpuTimerDxeRiscV64 UefiCpuPkg/CpuTimerDxeRiscV64: Add support for Sstc 2024-01-11 12:07:42 +00:00
Include UefiCpuPkg: Add SmmCpuPlatformHookBeforeMmiHandler 2024-10-12 08:56:05 +00:00
Library UefiCpuPkg: Use public Architectural MSRs from MdePkg 2024-11-12 01:07:12 +00:00
MicrocodeMeasurementDxe UefiCpuPkg/MicrocodeMeasurementDxe: Fix exception 2023-03-10 07:13:14 +00:00
PiSmmCommunication UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmmCpuDxeSmm UefiCpuPkg: SmmProfile: Use public Architectural MSRs from MdePkg 2024-11-12 01:07:12 +00:00
ResetVector UefiCpuPkg: Make the ResetVector USER_DEFINED 2024-11-13 21:01:46 +00:00
SecCore UefiCpuPkg/SecCore: Consume PcdMaxMappingAddressBeforeTempRamExit 2024-11-07 07:48:35 +00:00
SecMigrationPei UefiCpuPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Test UefiCpuPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Universal/Acpi/S3Resume2Pei UefiCpuPkg/S3: Skip CR3 modification in S3Resume for 64-bit PEI 2024-10-10 06:00:56 +00:00
UefiCpuPkg.ci.yaml UefiCpuPkg/UefiCpuPkg.ci.yaml: Add PrEval CI config 2024-09-02 23:20:35 +00:00
UefiCpuPkg.dec UefiCpuPkg/UefiCpuPkg.dec: Add PcdMaxMappingAddressBeforeTempRamExit 2024-11-07 07:48:35 +00:00
UefiCpuPkg.dsc UefiCpuPkg: RiscV64: initialize FPU 2024-10-04 04:53:21 +00:00
UefiCpuPkg.uni UefiCpuPkg: Refine the PCD usage comment 2024-06-14 07:02:37 +00:00
UefiCpuPkgExtra.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00