31534 Commits

Author SHA1 Message Date
Michael D Kinney
4475c1e87d UnitTestFrameworkPkg: Use TianoCore mirror of subhook submodule
Change subhook url from https://github.com/Zeex/subhook to
https://github.com/tianocore/edk2-subhook because old url is
no longer available.

Also align .gitmodules file to use consistent LF line endings.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2024-11-07 11:59:43 +03:00
Mikhail Krichanov
cf8f15aa69 CI: Switched ocbuild to audk-stable-202305 branch. 2023-12-21 12:03:55 +03:00
Mike Beaton
5d42621d4f DebugLib: Simplify DEBUG and ASSERT macros used when MDEPKG_NDEBUG is defined
The variants provided when MDEPKG_NDEBUG is defined will be optimised
away in RELEASE builds, but by referencing the argument (or argument list,
in the case of DEBUG) avoid unused variable errors from valid debug code,
for example when STATIC variables are used only in DEBUG statements.
2023-12-21 11:44:00 +03:00
Mike Beaton
8023b33f61 tools_def: Remove unneeded -Wno-unneeded-internal-declaration for CLANGDWARF
This is already worked around by the alternative version
of MDEPKG_NDEBUG DEBUG() for __clang__ which is provided
in MdePkg DebugLib.h, therefore the reason why this flag
was added in EDK-II no longer applies.
2023-12-12 18:14:59 +00:00
Marvin Häuser
948e8e854a UeImageLib: Fix image debug address 2023-12-07 08:59:49 +00:00
Mike Beaton
d1d2a0ed1f MdePkg: Convert new normal debug info to separate struct 2023-12-07 08:59:49 +00:00
Mikhail Krichanov
d6052e2e34 ImageTool: Reassigned some PCDs to allow
them have different values in OpenCore tools.
2023-12-07 10:44:09 +03:00
Mikhail Krichanov
100f28940d Build: Upgraded OpenCorePkg. 2023-11-23 14:16:41 +03:00
Mikhail Krichanov
2e674dc70a Build: Upgraded OpenCorePkg. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
e6a7402b3a BaseUefiImageLib: Removed superfluous returns. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
b21ae28e94 Core/Dxe/Image: Fixed error handling. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
45dfd441f5 Build: Upgraded OpenCorePkg. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
9adaa3ef74 SecurePE: Defined new PcdImageProtectionPolicy. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
33de080191 Various refactoring. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
50fcb2c7ee ArmVirtPkg: Returned PE32 format for UEFI_DRIVER.BINARY
to support third party drivers.
2023-11-23 14:00:01 +03:00
Mikhail Krichanov
54a61520a0 MdeModulePkg: Added PROTECT_IF_ALIGNED_ELSE_DISALLOW option for PcdImageProtectionPolicy. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
1b093825a3 BaseTools: Fixed '-D EDK2_REDUCE_FW_SIZE' build option. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
9b4a3e95b9 OvmfPkg: Returned PE32 format for UEFI_DRIVER.BINARY
to support third party drivers.
2023-11-23 14:00:01 +03:00
Mikhail Krichanov
d9c70c0c7f UE: Made UE the only supported format outside FVs. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
314a03b932 UE: Added FIXME comments. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
c9b9e54ca4 Build: Upgraded OpenCorePkg. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
173ec087f0 UE: Added support for relocatable XIP images. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
5d844c351a MdeModulePkg: Added EFI_PEI_LOAD_FILE_WITH_HOB_PPI
and removed temporary hook.
2023-11-23 14:00:01 +03:00
Mikhail Krichanov
5ae3b213fb OvmfPkg, ArmVirtPkg: Switched PEI to UE format. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
b55463b7a7 ArmVirtPkg: Switched SEC to UE format. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
e1d0cd68e3 GenFv: Fixed corruption of FFS file after rebasing. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
24a208db03 OvmfPkg: Switched SEC to UE format. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
f60c587094 UE: Added support for XIP. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
923004dd69 BaseUeImageLib: Refactored out unused code. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
e33395096c ImageTool, BaseUeImageLib:
Added support for UeReloc32NoMeta relocation type to remove limitation 
of 1MiB, formerly imposed on UE files by chaining relocations.
2023-11-23 14:00:01 +03:00
Mikhail Krichanov
0fca8bb634 OvmfPkg: Increased SECFV_SIZE
at the expense of FVMAIN_SIZE to fix CLANGPDB NOOPT X64 compilation.
2023-11-23 14:00:01 +03:00
Mikhail Krichanov
3668735164 BaseUeImageLib: Fixed buggy alignment in unchaining process. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
33ef407f5e BaseUeImageLib: Added support for Runtime chaining relocs. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
c3ffeb1985 OvmfPkg: Fixed IA32 NOOPT compilation.
Allowed PE32 format for UEFI_APPLICATIONs, as Shell.efi is > 1MiB and 
consequently 32-bit chaining relocs can not be applied.
2023-11-23 14:00:01 +03:00
Mikhail Krichanov
7203802b67 BaseTools, BaseUeImageLib: Added support for 32-bit chaining relocations.
Fixed Windows 10 BlueScreen issue for IA32.
2023-11-23 14:00:01 +03:00
Mikhail Krichanov
c43c32a3b8 MdePkg/Library/BaseUeImageLib: Fixed Windows 10 BlueScreen issue for X64. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
29ff3aa169 BaseTools, MdeModulePkg: Fixed code style. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
afb808bfb6 OvmfPkg, ArmVirtPkg: Switched DXE CORE to UE format. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
edcfaa96a7 MdeModulePkg/Core: Fixed code style. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
89a789b06e Build: Switched to uefi-format OC branch. 2023-11-23 14:00:01 +03:00
Mikhail Krichanov
960f5cbc18 OvmfPkg: Fixed compilation and Windows 10 boot. 2023-11-23 14:00:01 +03:00
Marvin Häuser
21c5b3f2d1 MdePkg/UeImage: Remove support for SAL drivers 2023-11-23 14:00:01 +03:00
Marvin Häuser
a61515819f MdePkg/UeImage: Update documentation 2023-11-23 14:00:01 +03:00
Marvin Häuser
98d76ebdf6 MdePkg/UeImage: Fix chained UE reloc member order 2023-11-23 14:00:01 +03:00
Marvin Häuser
9a98ee1c1b [WIP] Support UE generation and consumption 2023-11-23 14:00:01 +03:00
Marvin Häuser
c2db36fa1c [WIP] BaseTools: Support UE generation 2023-11-23 14:00:01 +03:00
Mike Beaton
dbebb53c11 MdePkg: Zero default for PcdDebugRaisePropertyMask 2023-11-07 21:52:30 +00:00
Mike Beaton
6dc22425d6 BasePeCoffLib2: Fix comment typo in PeCoffInit.c 2023-11-01 14:52:38 +01:00
Mike Beaton
204318a39f MdeModulePkg/HiiDatabase: Use sizeof instead of AsciiStrSize for static string size
Matches 0bcc503595
2023-09-12 16:38:22 +01:00
Mike Beaton
afabb7d273 SecurityPkg: Remove reference to deleted variable
Should have been removed in 9e5601b1f45048d9d8f7b5a3f260bc6850c0e1a2
2023-08-30 22:56:11 +01:00