Commit Graph

6508 Commits

Author SHA1 Message Date
Mikhail Krichanov d8ae7a16fa Ring3: Added comments and sanity checks. 2025-02-03 12:26:31 +03:00
Mikhail Krichanov 8671f61ca4 Ring3: Prevented loading of DxeRing3 driver, when UserSpace is disabled. 2025-01-30 18:36:01 +03:00
Mikhail Krichanov b6a7e2b3be Ring3: Properly refactored MemoryPoolLib to support User spaces. 2025-01-30 15:45:49 +03:00
Mikhail Krichanov 9216e4195e Ring3: Fixed bug in Uart initialization. 2025-01-30 14:06:15 +03:00
Mikhail Krichanov a52d50a6ec Ring3: Fixed line endings. 2025-01-28 17:55:57 +03:00
Mikhail Krichanov a615429b73 Ring3: Added Ring3AllocatePool() and Ring3FreePool(). 2025-01-28 17:50:18 +03:00
Mikhail Krichanov 31fef0a12e Core/Dxe: Added sanity checks. 2025-01-27 19:27:01 +03:00
Mikhail Krichanov 2cd1b35113 Core/Dxe: Placed platform dependent code into separate files. 2025-01-27 18:51:13 +03:00
Mikhail Krichanov e358acb6d9 Core/Dxe: Added sanity checks. 2025-01-27 15:37:19 +03:00
Mikhail Krichanov 5c919d20d9 Ring3: Fixed memory leaks and passed UserArguments to CallBootService
through User stack for ARM, AARCH64.
2025-01-27 11:50:49 +03:00
Mikhail Krichanov dd71687e44 SysCall: Refactored UserStackTop to allocate it anew for each CallRing3. 2025-01-24 18:44:34 +03:00
Mikhail Krichanov 734748e862 SysCall: Added NumberOfCalls to USER_SPACE_DRIVER. 2025-01-24 11:50:46 +03:00
Mikhail Krichanov 72c747b365 Ring3: Refactored out MAX_LIST. 2025-01-23 18:31:22 +03:00
Mikhail Krichanov 16f4111027 SysCall: Fixed paddings, renamed CoreOpenVolume as
CoreSimpleFileSystemOpenVolume.
2025-01-23 15:59:36 +03:00
Mikhail Krichanov 0e31c462fe SysCall: Added FreeUserSpaceDriver(). 2025-01-23 15:02:23 +03:00
Mikhail Krichanov 23b53c960d Ring3: Refactored out SysCallStackTop. 2025-01-21 23:07:38 +03:00
Mikhail Krichanov dce1dbefaf Ring3: Added NumberOfArguments to SysCall() and CallBootService(). 2025-01-21 19:37:32 +03:00
Mikhail Krichanov 82c76dee94 Ring3: Saved ReturnSP on SysCallStack. 2025-01-20 19:45:00 +03:00
Mikhail Krichanov aeacf20255 Ring3: Fixed line endings. 2025-01-20 16:30:21 +03:00
Mikhail Krichanov 93625d5489 Ring3: Placed UnicodeCollation driver into User space. 2025-01-20 12:57:14 +03:00
Mikhail Krichanov cd65706178 Ring3: Refactored out CoreRsp and UserStackTop. 2025-01-16 15:43:34 +03:00
Mikhail Krichanov 708ea60bc3 SysCall: Refactored out mRing3CallStackTop and mCoreSysCallStackTop. 2025-01-14 12:02:38 +03:00
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 75c5b9e27e Ring3: Added support for ARM User page table. 2024-12-19 20:18:28 +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 241c5143b4 Ring3: Added support for AARCH64 User page table. 2024-12-16 18:10:18 +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 79e0eca155 SysCall: Simplified MakeUserPageTableTemplate(). 2024-12-05 16:12:31 +03:00
Mikhail Krichanov 0ba3936b28 SysCall: Removed superfluous User attributes settings. 2024-12-05 12:28:28 +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