34238 Commits

Author SHA1 Message Date
Mikhail Krichanov
81e1df054f Ring3: Added UnicodeCollationProtocol wrappers. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
933262bed6 Ring3: Added Runtime Services wrappers. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
c19280858e Ring3: Added debug printings and some fixes for FAT wrappers. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
cf3bb4d68b Ring3: Refactored exception handling. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
eba7b947da SysCall: Refactored data segment selectors' switching. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
6c8b19286d Ring3: Forbade Ring3 accsess to all ports but for UART
to allow DEBUG printing.
2025-04-14 11:36:09 +03:00
Mikhail Krichanov
7ac6cf2738 SysCall: Added checks of user variables. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
0822b7e12a Ring3: Fixed interrrupts handling. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
b74f304832 SysCall: Refactored EFI_FILE_PROTOCOL wrappers. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
20722176d3 Ring3: Refactored out AllocateRing3Copy(). 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
1a1afc8ce7 Ring3: Added PrepareRing3Interface(). 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
ed70549c57 SysCall: Fixed bug in BlockIo, DiskIo Write functions. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
e3a60921fe DxeRing3: Added FixInterface(). 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
0795b88a18 MdeModulePkg: Refactored out CoreAcquireLockOrFail(), CoreAcquireLock()
and CoreReleaseLock().
2025-04-14 11:36:09 +03:00
Mikhail Krichanov
7a60aaa4b0 Ring3: Added MemoryPoolLib into DxeRing3. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
faa4098dee MdeModulePkg: Moved CoreFreePoolPagesWithGuard() to Page.c and
AdjustPoolHeadA(), AdjustPoolHeadF() to MemoryPoolLib.
2025-04-14 11:36:09 +03:00
Mikhail Krichanov
3108a4b0f4 MdeModulePkg: Moved IsPoolTypeToGuard(), CoreAcquireLockOrFail(),
CoreReleaseLock() and CoreAcquireLock() to MemoryPoolLib.
2025-04-14 11:36:09 +03:00
Mikhail Krichanov
d6d359cf6b MdeModulePkg: Moved IsHeapGuardEnabled() and IsMemoryTypeToGuard() to MemoryPoolLib. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
7b813e9f44 MdeModulePkg: Moved CoreAllocatePoolPagesI() and CoreFreePoolPagesI() to Page.c. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
342ff29fca MdeModulePkg: Placed Core Pool functions into MemoryPoolLib. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
aba3b264df Ring3: Added sanity checks. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
6365e5bc8e Ring3: Fixed missing Ring3Call result. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
bf3c5cbfe4 Ring3: Added EFI_FILE_PROTOCOL wrappers. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
3cf1979ad2 Ring3: Added SysCallHandleProtocol and
SIMPLE_FILE_SYSTEM_PROTOCOL wrapper.
2025-04-14 11:36:09 +03:00
Mikhail Krichanov
a00e407ac0 Ring3: Added SysCallCloseProtocol. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
3c7863e47e Ring3: Small fix. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
21b60e8dbe Ring3: Added BlockIo, DiskIo wrappers. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
d11ff4bebd Ring3: Some refactoring. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
4ea896a74f Ring3: Added Ring3BlockIo and Ring3DiskIo drafts. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
cc50bae593 Ring3: Refactored comparing of GUIDs. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
a44e2a5efa Ring3: Added SysCallFreePool,
fixed wrappers for EFI_DRIVER_BINDING_PROTOCOL.
2025-04-14 11:36:09 +03:00
Mikhail Krichanov
13d7a33127 Ring3: Refactored AllocateRing3CopyPages() and mUserDriverBinding. 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
f0fb2003a2 Ring3: Refactored CallRing3(). 2025-04-14 11:36:09 +03:00
Mikhail Krichanov
01f038b49f Ring3: Added SysCallAllocatePool. 2025-04-14 11:36:06 +03:00
Mikhail Krichanov
f36554560b Ring3: Merged Ring3Dxe and Ring3UefiBootServicesTableLib into DxeRing3. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
702adc6292 Ring3: Refactored Ring3 initialization. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
27c04bb224 Ring3: Moved Ring3UefiBootServicesTableLib to Ring3Dxe. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
0171f0ceff Ring3: Added SysCallReturnToCore. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
8a16ce73a7 Ring3: Refactored EnterUserImage() into CallRing3(). 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
1b37dd79f6 Ring3: Fixed SysCallInstallMultipleProtocolInterfaces. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
2392881e22 Ring3: Added Ring3EntryPoint draft. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
ad33670b08 Ring3: Added SysCallInstallMultipleProtocolInterfaces draft. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
028342cb6b Ring3: Refactored stack operations. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
9d5ef4f68e Ring3: Refactored out FunctionAddress from API. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
b0c91ce70c Ring3: Refactored out AllocateRing3Pages() BootService. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
78fac6c238 Ring3: Refactored out AllocateCoreCopy() BootService. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
926f1b1b69 Ring3: Moved SysCall code to DxeCore. 2025-04-14 11:23:05 +03:00
Mikhail Krichanov
71afb6d7e9 Ring3: Moved some .nasm code to .c. 2025-04-14 11:23:05 +03:00
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