34090 Commits

Author SHA1 Message Date
Mikhail Krichanov
78d4890162 Ring3: Added SysCallOpenProtocol. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
12cc1a9a5d Ring3: Added helper function AllocateCoreCopy(), refactored SysCall. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
e170598395 Ring3: Added helper function AllocateRing3Pages() and
draft of Ring3LocateProtocol().
2025-04-14 11:23:05 +03:00
Mikhail Krichanov
5bc84f06c0 Ring3: Fixed bug in calling Boot Service and did some refactoring. 2025-04-14 11:23:04 +03:00
Mikhail Krichanov
2fe010f40b Ring3: Added CoreSysCallStack. 2025-04-14 11:23:04 +03:00
Mikhail Krichanov
e36fd7b639 Ring3: Added SYSCALL draft. 2025-04-14 11:23:04 +03:00
Mikhail Krichanov
6f854f19e9 Ring3: Fixed LibraryConstructors' initialization and
allowed user to access ports.
2025-04-14 11:23:04 +03:00
Mikhail Krichanov
52c7661b83 MdePkg: Added Ring3UefiBootServicesTableLib draft. 2025-04-14 11:23:04 +03:00
Mikhail Krichanov
51e2c2a3e8 Ring3: Added EnterUserImage(). 2025-04-14 11:23:01 +03:00
Mikhail Krichanov
2fa2894bbd Ring3: Added GetMemoryAttributes() into EFI_CPU_ARCH_PROTOCOL. 2025-04-14 11:21:17 +03:00
Mikhail Krichanov
62eb73d711 Ring3: Added IsUserImage field into LOADED_IMAGE_PRIVATE_DATA structure. 2025-04-14 11:21:17 +03:00
Mikhail Krichanov
1a88ba5afc Ring3: Set USER bit in all page table structures. 2025-04-14 11:21:17 +03:00
Mikhail Krichanov
1af0ca7cdc Ring3: Enabled SMAP and SMEP. 2025-04-14 11:21:17 +03:00
Mikhail Krichanov
33f15b44de Ring3: Added EFI_MEMORY_USER attribute. 2025-04-14 11:21:14 +03:00
Mikhail Krichanov
a322c0acac Ring3: Some drafts. 2025-04-14 11:15:00 +03:00
Mikhail Krichanov
b3fb40092d UefiCpuPkg: Added segment descriptors' data structures. 2025-04-14 11:15:00 +03:00
Mikhail Krichanov
9e8d89ff38 CodeQL: Removed --npt option, as there are no pip basetools any longer. 2025-04-09 12:08:06 +03:00
vit9696
6f0af031d7 BaseTools: Disable cast-function-type-mismatch for Xcode
Currently DxeCore and PeiCore rely on type cast violation too heavily.
2025-04-07 15:08:42 +03:00
vit9696
d61b269edf MdeModulePkg/EbcDxe: Fix Xcode compilation due to bad type conversion 2025-04-07 15:08:42 +03:00
vit9696
0e277463fa CryptoPkg: Fix compilation with newer Xcode due to bugged type conversion 2025-04-07 15:08:42 +03:00
Mikhail Krichanov
a46a56fd37 CI: Upgraded QEMU version. 2025-04-07 13:55:29 +03:00
Savva Mitrofanov
ee37e305bd NetworkPkg/DxeNetLib: Fix unaligned access in NetblockChecksum
Into this routine the caller passes different data structures with
different alignment that is why casting bulk pointer to UINT16 violates
strict aliasing rule.
2025-04-07 13:55:29 +03:00
Mikhail Krichanov
2068113e8b UefiCpuPkg: Fixed stack corruption. 2025-04-07 13:55:29 +03:00
Mikhail Krichanov
b3bf2495f3 UefiCpuPkg: Fixed OpenCorePkg/Utilities compilation. 2025-04-07 13:55:29 +03:00
Mikhail Krichanov
229824f009 ArmVirtPkg/ArmPlatformLibQemu: Disabled EL2&0 translation regime
to fix Windows 10 boot.
2025-04-07 13:55:29 +03:00
Mikhail Krichanov
709984a981 Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202502 tag. 2025-04-07 13:54:15 +03:00
Mikhail Krichanov
13cc1c02bb Build: Upgraded OpenCorePkg. 2025-04-07 12:32:50 +03:00
Mike Beaton
eff8bca8e0 HttpBootDxe: Allow user-specified static IP address, as long as boot file is also specified 2025-04-07 12:32:50 +03:00
Mike Beaton
9cdba17a1a IntrinsicLib: Move from CryptoPkg to MdePkg 2025-04-07 12:32:50 +03:00
vit9696
19ca216533 MdeModulePkg/EhciDxe: Fix legacy handoff logic
references acidanthera/bugtracker#2436
2025-04-07 12:32:50 +03:00
Mikhail Krichanov
ba561ef7ff Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202405 tag. 2025-04-07 12:32:50 +03:00
Mike Beaton
b89875486a BaseTools: Enable symbolic debugging with LTO in XCODE toolchain (#64) 2025-04-07 12:32:50 +03:00
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