vit9696
0146e644f0
BaseTools: Provide fat Mach-O binaries on Darwin
...
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
2025-04-07 12:32:50 +03:00
Mikhail Krichanov
0d9d6f987b
Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202311.
2025-04-07 12:32:50 +03:00
Mikhail Krichanov
992385e15e
SecurePE: Defined new PcdImageProtectionPolicy.
2025-04-07 12:30:28 +03:00
Mikhail Krichanov
4d3a62c2e7
BaseTools: Fixed '-D EDK2_REDUCE_FW_SIZE' build option.
2025-04-07 12:24:28 +03:00
Mikhail Krichanov
48b806f46f
UE: Support UE generation and consumption.
2025-04-07 12:24:28 +03:00
Mikhail Krichanov
4ac2e8a4d0
OvmfPkg: Increased SECFV_SIZE at FVMAIN_COMPACT's expense to fix CLANGPDB compilation.
2025-04-07 12:24:28 +03:00
Mikhail Krichanov
ae364ad6d3
Docs: Updated README.md.
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
d13d798fdd
BaseTools/tools_def: Deduplicate DLINK_FLAGS from CC_FLAGS
2025-04-07 12:24:27 +03:00
Marvin Häuser
577c44620c
BaseTools/build_rule: Always pass CC_FLAGS to DLINK
2025-04-07 12:24:27 +03:00
Marvin Häuser
8171958c4e
BaseTools/CommonLib: Replace aligned_alloc with posix_memalign
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
1fef202932
MdePkg/UefiImageLib: Introduce DebugAddress
...
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
ba9aad0b56
ImageTool: Rework PeEmit with dynamically-growing buffers
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
e46d356fc9
MdePkg/UefiImageLib: Support multi-format and multi-source architecture
...
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2025-04-07 12:24:27 +03:00
Marvin Häuser
ec35a44c1e
MdeModulePkg/DxeCore: Re-use ImageIsFromFv for memory protection
2025-04-07 12:24:27 +03:00
Savva Mitrofanov
4e04fa016e
CI: Remove Dependabot configuration
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
c041043886
BaseTools/Conf: Added EDK2_GCC_NOLTO build option.
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
63b9e567e5
Build: Replaced GCC5 toolchain with GCC.
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
51c4b78146
Revert "MdeModulePkg: Enable forward edge CFI in mem attributes table"
...
This reverts commit e4ef609319236a018c60b84f68d9d923c4ba383e.
2025-04-07 12:24:27 +03:00
Mikhail Krichanov
20dd836214
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-04-07 12:23:28 +03:00
Mikhail Krichanov
a759ddb400
BaseTools/Conf/tools_def.template: Added -Wno-maybe-uninitialized to fix
...
gcc-12.3.0 compilation.
2025-04-07 12:20:19 +03:00
Mikhail Krichanov
7193c4e313
BaseTools: Introduce new HII section design
2025-04-07 12:18:23 +03:00
Mikhail Krichanov
54c0f644f9
BaseTools/C: Consume UefiImageLib and ImageToolEmit
2025-04-07 12:18:23 +03:00
Marvin Häuser
4c392eb104
BaseTools/GenFv: Remove .text and .data from FV map
2025-04-07 12:18:23 +03:00
Marvin Häuser
f7146c7ae7
Remove hacks related to former lack of XCODE5 .hii support
2025-04-07 12:18:23 +03:00
Mikhail Krichanov
64ff005ed9
Added STATUS.md file summarizing current states of packages.
2025-04-07 12:18:23 +03:00
Marvin Häuser
544c7bdda8
BaseTools/build_rule: Drop deprecated ASM16 definition
2025-04-07 12:18:22 +03:00
Mikhail Krichanov
bc87d7b430
Drop support for the TE format
2025-04-07 12:18:22 +03:00
Marvin Häuser
9e2b1a158f
ArmPkg/ArmMmuLib: ASSERT ArmReplaceLiveTranslationEntry alignment
2025-04-07 12:18:22 +03:00
Marvin Häuser
c24587e6bf
MdeModulePkg/ExtendedFirmwarePerformance: Fix FPDT struct alignment
2025-04-07 12:18:22 +03:00
Marvin Häuser
c4c7783b5c
UefiPayloadPkg/UefiPayloadEntry: Return image destination size as UINT32
2025-04-07 12:18:22 +03:00
Mikhail Krichanov
27ffa568f5
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-04-07 12:18:22 +03:00
Mikhail Krichanov
f60f34fabf
BaseTools/CommonLib: Consume MemoryAllocationLib
2025-04-07 12:18:22 +03:00
Marvin Häuser
0a18e628ca
EmbeddedPkg/PrePiLib: Deduplicate MemoryAllocationLib declarations
2025-04-07 12:18:22 +03:00
Marvin Häuser
7fb834ffac
EmbeddedPkg/NonCoherentDmaLib: Utilize AllocateAlignedPagesEx
2025-04-07 12:18:22 +03:00
Mikhail Krichanov
6b652ab025
MdePkg/MemoryAllocationLib: Add Allocate(Aligned)CodePages
2025-04-07 12:16:51 +03:00
Marvin Häuser
cd0db29940
EmulatorPkg/Host: Consume MemoryAllocationLib
2025-04-07 12:13:58 +03:00
Mikhail Krichanov
a52efcc86a
MdePkg: Introduce CommonMemoryAllocationLib
2025-04-07 12:13:58 +03:00
Marvin Häuser
3cad7a6524
MdeModulePkg: Manage MemoryProfileLib separately
2025-04-07 12:13:58 +03:00
Marvin Häuser
78c65024de
MdePkg/Base.h: Introduce ALIGN_VALUE_SUBTRAHEND
2025-04-07 12:13:58 +03:00
Marvin Häuser
97a45f4633
EmulatorPkg/Host: Remove orphaned GetImageReadFunction()
2025-04-07 12:13:58 +03:00
Marvin Häuser
d11ca287c5
MdeModulePkg/CorePei: Remove unused ShadowedImageRead member
2025-04-07 12:13:58 +03:00
Marvin Häuser
473ab07302
BaseTools/GenFvInternalLib: Remove unused BaseOfCode parameter
2025-04-07 12:13:58 +03:00
Marvin Häuser
f4778d6fdd
EmulatorPkg: Fix some image loader related issues
2025-04-07 12:13:58 +03:00
Marvin Häuser
91526b5ef2
EmulatorPkg: Fix Thunk PPI/Protocol library types
2025-04-07 12:13:58 +03:00
Marvin Häuser
a52b6a8d8e
EmulatorPkg/Host: Remove orphaned SecImageRead()
2025-04-07 12:13:58 +03:00
Marvin Häuser
607095f8f4
BaseTools/GenFv: Remove duplicated alignment macros
2025-04-07 12:13:58 +03:00
Marvin Häuser
8acad7450a
EmulatorPkg/Host: Fix XCODE5 build
2025-04-07 12:13:58 +03:00
Marvin Häuser
48e9d4282c
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-04-07 12:13:58 +03:00
Marvin Häuser
2f61ab9f51
BaseTools/CommonLib: Consume MdePkg and MdeModulePkg
...
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-04-07 12:13:58 +03:00
Marvin Häuser
72aa61ce91
UefiCpuPkg/MtrrLib: Add missing PcdLib.h include
...
MtrrLib does not include PcdLib.h despite explicitly using its
definitions. Add the include to fix compilation for modules that do not
utilize AutoGen.
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2025-04-07 12:13:58 +03:00