Commit Graph

32834 Commits

Author SHA1 Message Date
Mikhail Krichanov dd7fb79ab4 OvmfPkg: Increased PEI size at the expense of DXE,
increased SEC size at the expense of FVMAIN_COMPACT.
2024-12-03 19:19:52 +03:00
Mikhail Krichanov b9976de78c Ring3: Added support for IA32 User page table. 2024-12-03 14:40:52 +03:00
Mikhail Krichanov 5cd360104a SysCall: Refactored InitializeMsr.c file name. 2024-12-02 12:52:48 +03:00
Mikhail Krichanov 23196bbf18 Ring3: Removed gEfiHobPageTableInfoGuid. 2024-12-02 12:48:18 +03:00
Mikhail Krichanov a2023f569a SysCall: Turned on interrupts in User. 2024-12-02 12:12:32 +03:00
Mikhail Krichanov fcd47185eb Ring3: Added support for User page table to AllocatePages(), FreePages(). 2024-12-02 12:04:46 +03:00
Mikhail Krichanov 1bde91a85d Ring3: Set 1G User pages as not present by default, fixed padding. 2024-11-29 19:42:10 +03:00
Mikhail Krichanov 63dcc29d15 Ring3: Added Idt to User page table. 2024-11-29 19:40:26 +03:00
Mikhail Krichanov 1a5a22e450 Ring3: Added SetExceptionAddresses(), aligned exceptions' stacks. 2024-11-29 14:33:17 +03:00
Mikhail Krichanov 58038f62ad SysCall: Disabled global pages, set User page table attibutes in
paging syscalls.
2024-11-29 11:35:26 +03:00
Mikhail Krichanov 7720181673 Core/Dxe: Fixed memory type in Ring3AllocatePages(), and code alignment. 2024-11-29 11:30:49 +03:00
Mikhail Krichanov c23d434619 Ring3: Added necessary Core pages to User page table. 2024-11-27 18:03:30 +03:00
Mikhail Krichanov 285c6b0de9 Ring3: Split Page Table template construction and initialization,
removed ChangeUefiImageRing(), added GetUefiImageRecord().
2024-11-27 13:51:07 +03:00
Michael D Kinney cd3da4b9ff 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-26 19:16:38 +03:00
Mikhail Krichanov 3b8cd407d3 Ring3: Added support for separate User address space. 2024-11-26 19:12:15 +03:00
Mikhail Krichanov 983649444e Ring3: Refactoring. 2024-11-01 12:28:49 +03:00
Mikhail Krichanov 3dc02534db Ring3: Added build targets with '-D USER_SPACE' for ARM, AARCH64. 2024-10-29 19:50:41 +03:00
Mikhail Krichanov 5db269aab4 Ring3: Added support for USER attribute in .fdf files. 2024-10-25 12:02:51 +03:00
Mikhail Krichanov c11185cb8c ArmPkg: Disabled UserSpace by default to fix CI,
as WinPE and Linux EFI stub can not boot in 
EL2&0 translation regime.
2024-10-22 13:18:11 +03:00
Mikhail Krichanov 6012848e12 Ring3: Added support for AARCH64 EL2&0 translation regime. 2024-10-21 17:51:52 +03:00
Mikhail Krichanov 3cab34a4ba SysCall: Refactored ReturnToCore() for AARCH64, ARM. 2024-10-18 11:16:38 +03:00
Mikhail Krichanov 32768e43f3 Ring3: Fixed PAN page faults. 2024-10-01 19:26:04 +03:00
Mikhail Krichanov 51e767463a ArmLib: Added Instruction Synchronization Barriers for PAN changes. 2024-10-01 13:54:44 +03:00
Mikhail Krichanov 2497ca5c32 Ring3: Fixed buggy timer interrupt handling for AARCH64. 2024-09-27 15:43:46 +03:00
Mikhail Krichanov e4c26e4957 ArmPkg/Library/CpuArchLib: Refactored ARM to UEFI attribute conversion. 2024-09-27 12:02:45 +03:00
Mikhail Krichanov f0c0984521 ArmPkg: Fixed buggy TT_DESCRIPTOR_SECTION_TYPE_MASK. 2024-09-26 20:26:09 +03:00
Mikhail Krichanov 88d942e2d3 Ring3: Fixed Uart bug. 2024-09-26 14:05:05 +03:00
Mikhail Krichanov 760614b0c5 SysCall: Fixed page fault for ARM. 2024-09-25 09:40:03 +03:00
Mikhail Krichanov 0dd56c8dae CpuExceptionHandlerLib: Added PcdSerialUseMmio condition. 2024-09-23 17:35:27 +03:00
Mikhail Krichanov 469ae18183 Ring3: Added DebugLibFdtPL011UartUser without HOB dependancy. 2024-09-23 11:22:43 +03:00
Mikhail Krichanov 1cea3f7fb8 ArmVirtPkg: Switched DebugLibg from UartRam to UartFlash
to eliminate HOB dependency.
2024-09-23 10:46:48 +03:00
Mikhail Krichanov 9c2eb6d642 CpuExceptionHandlerLib: Refactored IO Bit Map initialization. 2024-09-17 11:37:46 +03:00
Mikhail Krichanov 2700df080d ArmPkg: Forbade user access to supervisor sections. 2024-09-16 17:56:05 +03:00
Mikhail Krichanov 3c08639b23 Core/Dxe/DxeMain: Set default value for gRing3Data. 2024-09-16 16:39:19 +03:00
Mikhail Krichanov 6d389121c8 ArmMmuLib: Worked around lack of EL2&0 translation support. 2024-09-13 14:40:24 +03:00
Mikhail Krichanov 3105aa040c SysCall/X64: Fixed CallBootService() for VS2019. 2024-09-09 19:49:20 +03:00
Mikhail Krichanov 796bded098 Dxe/Misc: Fixed CLANGPDB RELEASE. 2024-09-09 13:31:21 +03:00
Mikhail Krichanov a29bd72a05 SysCall: Refactored SysCallReturnToCore handling to fix CLANGDWARF NOOPT. 2024-09-09 11:48:53 +03:00
Mikhail Krichanov 0e8c250702 SysCall/X64: Fixed CallBootService() for NOOPT. 2024-09-09 11:12:13 +03:00
Mikhail Krichanov 76ac8a5fb0 CpuExceptionHandlerLib: Added a separate stack for timer. 2024-09-09 08:58:57 +03:00
Mikhail Krichanov 5515e17ae8 SysCall: Split SMEP and SMAP initialization. 2024-09-09 08:56:05 +03:00
Mikhail Krichanov 94be39d0c5 Ring3: Refactored I/O Map initialization using PcdUartBase and PcdDebugIoPort. 2024-09-05 17:39:35 +03:00
Mikhail Krichanov ede4877e3b Ring3: Fixed buggy timer interrupt handling for X64. 2024-09-05 15:54:33 +03:00
Mikhail Krichanov d4e1092dc7 Core/Dxe/Misc: Fixed string comparison bug. 2024-09-05 13:40:09 +03:00
Mikhail Krichanov be8f6f968e Ring3: Fixed buggy timer interrupt handling for IA32. 2024-09-05 11:46:52 +03:00
Mikhail Krichanov 454d582450 MdeModulePkg/Core/Dxe: Fixed compilation after rebasing upon new master. 2024-09-03 13:53:26 +03:00
Mikhail Krichanov ab1bc54366 Ring3: Fixed ArmPkg and ArmVirtPkg compilation. 2024-09-03 13:24:22 +03:00
Mikhail Krichanov d74b97ed94 Core/Dxe: Refactored DisableSMAP(), EnableSMAP() names. 2024-09-03 13:24:22 +03:00
Mikhail Krichanov d8aa9c3ea7 Core/Dxe: Changed line ending to Windows style. 2024-09-03 13:24:22 +03:00
Mikhail Krichanov 5b59ec5e07 SysCall: Made SMEP, SMAP, PAN optional features. 2024-09-03 13:24:22 +03:00