Commit Graph

32883 Commits

Author SHA1 Message Date
Mikhail Krichanov 7144df121c SysCall: Fixed UnicodeCollation wrappers. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov e6d42f6e5a SysCall: Refactored protocols handling. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov 43483580fb Ring3: Fixed Ring3LocateHandleBuffer(). 2024-09-03 13:19:15 +03:00
Mikhail Krichanov 996bc3c55f Ring3: Added SysCallGetVariable wrapper. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov 83d58a276c Ring3: Added UnicodeCollationProtocol wrappers. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov a004745232 Ring3: Added Runtime Services wrappers. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov d4bdb042e1 Ring3: Added debug printings and some fixes for FAT wrappers. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov 38e92b2072 Ring3: Refactored exception handling. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov 8f29742b72 SysCall: Refactored data segment selectors' switching. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov 5b281e2c16 Ring3: Forbade Ring3 accsess to all ports but for UART
to allow DEBUG printing.
2024-09-03 13:19:15 +03:00
Mikhail Krichanov eb0a233529 SysCall: Added checks of user variables. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov f3ce095edb Ring3: Fixed interrrupts handling. 2024-09-03 13:19:15 +03:00
Mikhail Krichanov 4322e50e13 SysCall: Refactored EFI_FILE_PROTOCOL wrappers. 2024-09-03 13:19:14 +03:00
Mikhail Krichanov d4f5ae14aa Ring3: Refactored out AllocateRing3Copy(). 2024-09-03 13:19:14 +03:00
Mikhail Krichanov 94017d9567 Ring3: Added PrepareRing3Interface(). 2024-09-03 13:19:14 +03:00
Mikhail Krichanov c855d93030 SysCall: Fixed bug in BlockIo, DiskIo Write functions. 2024-09-03 13:19:14 +03:00
Mikhail Krichanov 09ab943f86 DxeRing3: Added FixInterface(). 2024-09-03 13:19:14 +03:00
Mikhail Krichanov 173d9edad4 MdeModulePkg: Refactored out CoreAcquireLockOrFail(), CoreAcquireLock()
and CoreReleaseLock().
2024-09-03 13:19:14 +03:00
Mikhail Krichanov 07188c19a8 Ring3: Added MemoryPoolLib into DxeRing3. 2024-09-03 13:19:14 +03:00
Mikhail Krichanov 68dce7677d MdeModulePkg: Moved CoreFreePoolPagesWithGuard() to Page.c and
AdjustPoolHeadA(), AdjustPoolHeadF() to MemoryPoolLib.
2024-09-03 13:19:14 +03:00
Mikhail Krichanov 698b7e3ada MdeModulePkg: Moved IsPoolTypeToGuard(), CoreAcquireLockOrFail(),
CoreReleaseLock() and CoreAcquireLock() to MemoryPoolLib.
2024-09-03 13:19:14 +03:00
Mikhail Krichanov 8a7bd316ef MdeModulePkg: Moved IsHeapGuardEnabled() and IsMemoryTypeToGuard() to MemoryPoolLib. 2024-09-03 13:19:14 +03:00
Mikhail Krichanov abdfba8835 MdeModulePkg: Moved CoreAllocatePoolPagesI() and CoreFreePoolPagesI() to Page.c. 2024-09-03 13:19:13 +03:00
Mikhail Krichanov 241d60775b MdeModulePkg: Placed Core Pool functions into MemoryPoolLib. 2024-09-03 13:19:09 +03:00
Mikhail Krichanov 28c1dbe5f2 Ring3: Added sanity checks. 2024-09-03 13:10:48 +03:00
Mikhail Krichanov d704a3c6e7 Ring3: Fixed missing Ring3Call result. 2024-09-03 13:10:48 +03:00
Mikhail Krichanov 1836c35027 Ring3: Added EFI_FILE_PROTOCOL wrappers. 2024-09-03 13:10:48 +03:00
Mikhail Krichanov 126b21b719 Ring3: Added SysCallHandleProtocol and
SIMPLE_FILE_SYSTEM_PROTOCOL wrapper.
2024-09-03 13:10:47 +03:00
Mikhail Krichanov 26e4559889 Ring3: Added SysCallCloseProtocol. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov 466a371a78 Ring3: Small fix. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov c8c5e3ea28 Ring3: Added BlockIo, DiskIo wrappers. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov d19bee4d2d Ring3: Some refactoring. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov f82b04a2dc Ring3: Added Ring3BlockIo and Ring3DiskIo drafts. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov 3868edbf44 Ring3: Refactored comparing of GUIDs. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov 3d8a6585a1 Ring3: Added SysCallFreePool,
fixed wrappers for EFI_DRIVER_BINDING_PROTOCOL.
2024-09-03 13:10:47 +03:00
Mikhail Krichanov 77bb186c8a Ring3: Refactored AllocateRing3CopyPages() and mUserDriverBinding. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov fa60f3ab00 Ring3: Refactored CallRing3(). 2024-09-03 13:10:47 +03:00
Mikhail Krichanov b08d7cbb16 Ring3: Added SysCallAllocatePool. 2024-09-03 13:10:47 +03:00
Mikhail Krichanov 2090f6ef7e Ring3: Merged Ring3Dxe and Ring3UefiBootServicesTableLib into DxeRing3. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov fe43687460 Ring3: Refactored Ring3 initialization. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov ed1ee15c9c Ring3: Moved Ring3UefiBootServicesTableLib to Ring3Dxe. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov a72b753f60 Ring3: Added SysCallReturnToCore. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov e5f7eb7654 Ring3: Refactored EnterUserImage() into CallRing3(). 2024-09-03 13:10:46 +03:00
Mikhail Krichanov df7a3fa963 Ring3: Fixed SysCallInstallMultipleProtocolInterfaces. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov 313cf0bfae Ring3: Added Ring3EntryPoint draft. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov 046421d220 Ring3: Added SysCallInstallMultipleProtocolInterfaces draft. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov a746842957 Ring3: Refactored stack operations. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov fd478cb534 Ring3: Refactored out FunctionAddress from API. 2024-09-03 13:10:46 +03:00
Mikhail Krichanov e4eb762d22 Ring3: Refactored out AllocateRing3Pages() BootService. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov 40b3cd4420 Ring3: Refactored out AllocateCoreCopy() BootService. 2024-09-03 13:10:45 +03:00