Commit Graph

32858 Commits

Author SHA1 Message Date
Mikhail Krichanov 08df5ddf53 SysCall: Refactored out CORE_STACK and RING3_STACK. 2025-01-13 20:00:34 +03:00
Mikhail Krichanov 0f9e888860 Ring3: Fixed line endings. 2025-01-13 13:31:06 +03:00
Mikhail Krichanov befe005612 Ring3: Refactored out gCoreSysCallStackTop and gRing3CallStackTop. 2025-01-13 13:27:58 +03:00
Mikhail Krichanov efcbf1946d Ring3: Fixed line endings. 2025-01-10 18:14:00 +03:00
Mikhail Krichanov 90ecffbc25 Ring3: Refactored User and SysCall stacks allocation. 2025-01-10 17:51:23 +03:00
Mikhail Krichanov cd2cf69823 SysCall: Added support for UnicodeCollationProtocol in User space. 2025-01-09 19:49:16 +03:00
Mikhail Krichanov 4975e50cf4 CpuExceptionHandlerLibNull: Added dummy functions to fix MdeModulePkg
compilation.
2025-01-09 16:07:06 +03:00
Mikhail Krichanov ce3bfc7754 SysCall: Refactored Core wrappers to allow support for multiple User space drivers. 2025-01-09 15:42:04 +03:00
Mikhail Krichanov f3b5cea966 SysCall: Fixed line endings. 2025-01-09 11:51:06 +03:00
Mikhail Krichanov 7f43970f2a Revert "ArmVirtPkg/ArmVirtQemu: Disable PcdPrePiProduceMemoryTypeInformationHob for ARM"
This reverts commit a86d9d688e.
2024-12-25 12:34:31 +03:00
Mikhail Krichanov 645a92be16 ArmPkg: Fixed compilation. 2024-12-23 11:47:33 +03:00
Mikhail Krichanov 75c5b9e27e Ring3: Added support for ARM User page table. 2024-12-19 20:18:28 +03:00
Mikhail Krichanov d051ccdbe8 ArmPkg: Added CpuSetUserMemoryAttributes() for ARM. 2024-12-19 13:39:14 +03:00
Mikhail Krichanov 2f3c4c9dc6 Ring3: Added MakeUserPageTableTemplate() for ARM. 2024-12-19 13:24:32 +03:00
Mikhail Krichanov ebe2f8089c SysCall/AARCH64: Enabled interrupts in SysCall handlers. 2024-12-17 16:16:17 +03:00
Mikhail Krichanov 7783942407 ArmPkg: Refactored SVC handling. 2024-12-17 15:33:48 +03:00
Mikhail Krichanov 241c5143b4 Ring3: Added support for AARCH64 User page table. 2024-12-16 18:10:18 +03:00
Mikhail Krichanov 458983559f ArmPkg: Added CpuSetUserMemoryAttributes() for AARCH64. 2024-12-09 17:32:37 +03:00
Mikhail Krichanov 6da370bc11 Ring3: Added MakeUserPageTableTemplate() for AARCH64. 2024-12-09 17:28:43 +03:00
Mikhail Krichanov 84ab39c635 SysCall: Refactored MakeUserPageTableTemplate(). 2024-12-09 14:29:38 +03:00
Mikhail Krichanov 558889562f CpuArchLib: Fixed CpuGetMemoryAttributes(). 2024-12-05 20:46:57 +03:00
Mikhail Krichanov 79e0eca155 SysCall: Simplified MakeUserPageTableTemplate(). 2024-12-05 16:12:31 +03:00
Mikhail Krichanov 85070fbba0 CpuArchLib: Specified IdtTable size precisely. 2024-12-05 12:35:16 +03:00
Mikhail Krichanov 0ba3936b28 SysCall: Removed superfluous User attributes settings. 2024-12-05 12:28:28 +03:00
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