34060 Commits

Author SHA1 Message Date
Mikhail Krichanov
983d317a8f Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202405 tag. 2025-02-27 14:33:12 +03:00
Mike Beaton
33d18f673a BaseTools: Enable symbolic debugging with LTO in XCODE toolchain (#64) 2025-02-27 14:33:12 +03:00
vit9696
a8b2208937 BaseTools: Provide fat Mach-O binaries on Darwin
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
2025-02-27 14:33:12 +03:00
Mikhail Krichanov
20bc4d21fc Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202311. 2025-02-27 14:33:12 +03:00
Mikhail Krichanov
f9a099bbe8 SecurePE: Defined new PcdImageProtectionPolicy. 2025-02-27 14:29:39 +03:00
Mikhail Krichanov
9385314f08 BaseTools: Fixed '-D EDK2_REDUCE_FW_SIZE' build option. 2025-02-27 14:25:31 +03:00
Mikhail Krichanov
541e7f04fe UE: Support UE generation and consumption. 2025-02-27 14:25:31 +03:00
Mikhail Krichanov
6b88e96795 OvmfPkg: Increased SECFV_SIZE at FVMAIN_COMPACT's expense to fix CLANGPDB compilation. 2025-02-27 14:25:31 +03:00
Mikhail Krichanov
68c9b7cf20 Docs: Updated README.md. 2025-02-27 14:23:02 +03:00
Mikhail Krichanov
ee54cdc0f1 BaseTools/tools_def: Deduplicate DLINK_FLAGS from CC_FLAGS 2025-02-27 14:18:12 +03:00
Marvin Häuser
efa00bd97a BaseTools/build_rule: Always pass CC_FLAGS to DLINK 2025-02-27 14:18:12 +03:00
Marvin Häuser
0591a810d4 BaseTools/CommonLib: Replace aligned_alloc with posix_memalign 2025-02-27 14:18:12 +03:00
Mikhail Krichanov
9bc8e6ae22 MdePkg/UefiImageLib: Introduce DebugAddress
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2025-02-27 14:18:12 +03:00
Mikhail Krichanov
e705b3da27 ImageTool: Rework PeEmit with dynamically-growing buffers 2025-02-27 14:18:12 +03:00
Mikhail Krichanov
2dc88d5607 MdePkg/UefiImageLib: Support multi-format and multi-source architecture
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2025-02-27 14:18:11 +03:00
Marvin Häuser
c1fc02bdc0 MdeModulePkg/DxeCore: Re-use ImageIsFromFv for memory protection 2025-02-27 14:18:11 +03:00
Savva Mitrofanov
0eab0d7bd8 CI: Remove Dependabot configuration 2025-02-27 14:18:11 +03:00
Mikhail Krichanov
19ac87e9fc BaseTools/Conf: Added EDK2_GCC_NOLTO build option. 2025-02-27 14:18:11 +03:00
Mikhail Krichanov
70c33a719f Build: Replaced GCC5 toolchain with GCC. 2025-02-27 14:18:11 +03:00
Mikhail Krichanov
0fd4737bda Revert "MdeModulePkg: Enable forward edge CFI in mem attributes table"
This reverts commit e4ef609319236a018c60b84f68d9d923c4ba383e.
2025-02-27 14:18:11 +03:00
Mikhail Krichanov
f0e69127bc MdeModulePkg/Core/Dxe: Integrate CPU Architectural producer
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3223

In the current design, memory protection is not available till CpuDxe
is loaded. To resolve this, introduce CpuArchLib to move the
CPU Architectural initialization to DxeCore.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Vitaly Cheptsov <vit9696@protonmail.com>
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2025-02-27 14:18:11 +03:00
Mikhail Krichanov
422bbca9dc OvmfPkg, BaseTools: Fixed Amaranth compilation for gcc-12.3.0. 2025-02-27 14:18:11 +03:00
Mikhail Krichanov
d65e65a084 BaseTools: Introduce new HII section design 2025-02-27 14:18:11 +03:00
Mikhail Krichanov
194fe1a571 BaseTools/C: Consume UefiImageLib and ImageToolEmit 2025-02-27 14:18:11 +03:00
Marvin Häuser
8c47d46a9f BaseTools/GenFv: Remove .text and .data from FV map 2025-02-27 14:18:11 +03:00
Marvin Häuser
43a247e3db Remove hacks related to former lack of XCODE5 .hii support 2025-02-27 14:18:11 +03:00
Mikhail Krichanov
2777ff4565 Added STATUS.md file summarizing current states of packages. 2025-02-27 14:12:27 +03:00
Marvin Häuser
e2778dfe81 BaseTools/build_rule: Drop deprecated ASM16 definition 2025-02-27 14:09:46 +03:00
Mikhail Krichanov
fd94c0b1dd Drop support for the TE format 2025-02-27 14:09:46 +03:00
Marvin Häuser
ed6dde5a8e ArmPkg/ArmMmuLib: ASSERT ArmReplaceLiveTranslationEntry alignment 2025-02-27 14:09:46 +03:00
Marvin Häuser
fec15737ef MdeModulePkg/ExtendedFirmwarePerformance: Fix FPDT struct alignment 2025-02-27 14:09:46 +03:00
Marvin Häuser
ce38fb17af UefiPayloadPkg/UefiPayloadEntry: Return image destination size as UINT32 2025-02-27 14:09:46 +03:00
Mikhail Krichanov
2dea7aa5cb UefiCpuPkg/CpuExceptionHandlerLib: Creates unified ExceptionHandlerAsm
This change removes Xcode5ExceptionHandlerAsm and merge it's
functionality into ExceptionHandlerAsm.
Also decreases number of vectors to 32 for:
- 64-bit PeiCpuExceptionHandlerLib
- 32-bit PeiCpuExceptionHandlerLib, SecPeiCpuExceptionHandlerLib

Signed-off-by: Savva Mitrofanov <savvamtr@gmail.com>
2025-02-27 14:09:05 +03:00
Mikhail Krichanov
222fa4c422 BaseTools/CommonLib: Consume MemoryAllocationLib 2025-02-27 14:09:05 +03:00
Marvin Häuser
df7afdba5f EmbeddedPkg/PrePiLib: Deduplicate MemoryAllocationLib declarations 2025-02-27 14:09:05 +03:00
Marvin Häuser
fd913cb8aa EmbeddedPkg/NonCoherentDmaLib: Utilize AllocateAlignedPagesEx 2025-02-27 14:09:05 +03:00
Mikhail Krichanov
0a05774156 MdePkg/MemoryAllocationLib: Add Allocate(Aligned)CodePages 2025-02-27 14:09:05 +03:00
Marvin Häuser
fb8c11a45a EmulatorPkg/Host: Consume MemoryAllocationLib 2025-02-27 14:09:05 +03:00
Mikhail Krichanov
1b953973bf MdePkg: Introduce CommonMemoryAllocationLib 2025-02-27 14:09:05 +03:00
Marvin Häuser
d00f423b4a MdeModulePkg: Manage MemoryProfileLib separately 2025-02-27 14:09:05 +03:00
Marvin Häuser
91da787bab MdePkg/Base.h: Introduce ALIGN_VALUE_SUBTRAHEND 2025-02-27 14:09:05 +03:00
Marvin Häuser
d09f23477b EmulatorPkg/Host: Remove orphaned GetImageReadFunction() 2025-02-27 14:09:05 +03:00
Marvin Häuser
6365c0c3c1 MdeModulePkg/CorePei: Remove unused ShadowedImageRead member 2025-02-27 14:09:05 +03:00
Marvin Häuser
9a51354bba BaseTools/GenFvInternalLib: Remove unused BaseOfCode parameter 2025-02-27 14:09:05 +03:00
Marvin Häuser
2b7c70ed1f EmulatorPkg: Fix some image loader related issues 2025-02-27 14:09:05 +03:00
Marvin Häuser
96a89b6b45 EmulatorPkg: Fix Thunk PPI/Protocol library types 2025-02-27 14:09:05 +03:00
Marvin Häuser
4d1bc365d6 EmulatorPkg/Host: Remove orphaned SecImageRead() 2025-02-27 14:09:05 +03:00
Marvin Häuser
ecc70e92d6 BaseTools/GenFv: Remove duplicated alignment macros 2025-02-27 14:09:05 +03:00
Marvin Häuser
0967b199ef EmulatorPkg/Host: Fix XCODE5 build 2025-02-27 14:09:05 +03:00
Marvin Häuser
0a6cd25c9a BaseTools/DevicePath: Consume MdePkg/UefiDevicePathLib
BaseTools has been duplicating and adapting code that is defined in
MdePkg and MdeModulePkg. This leads to desync issues where the same
symbols may be backed by different functions with slightly different
semantics and also fixes that apply only to BaseTools or only to MdePkg
and MdeModulePkg.

To address these issues, update BaseTools/Source/C to utilize the code
from MdePkg and MdeModulePkg.

Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2025-02-27 14:09:05 +03:00