Commit Graph

32864 Commits

Author SHA1 Message Date
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
Mikhail Krichanov 32e8bcbb62 Ring3: Moved SysCall code to DxeCore. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov b1d42c0979 Ring3: Moved some .nasm code to .c. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov a2955bd646 Ring3: Added SysCallOpenProtocol. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov de01af7081 Ring3: Added helper function AllocateCoreCopy(), refactored SysCall. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov 87a397740d Ring3: Added helper function AllocateRing3Pages() and
draft of Ring3LocateProtocol().
2024-09-03 13:10:45 +03:00
Mikhail Krichanov 633521d91f Ring3: Fixed bug in calling Boot Service and did some refactoring. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov b5d0912201 Ring3: Added CoreSysCallStack. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov 6502e73b0d Ring3: Added SYSCALL draft. 2024-09-03 13:10:45 +03:00
Mikhail Krichanov 233a5cff09 Ring3: Fixed LibraryConstructors' initialization and
allowed user to access ports.
2024-09-03 13:10:44 +03:00
Mikhail Krichanov 98de0a212e MdePkg: Added Ring3UefiBootServicesTableLib draft. 2024-09-03 13:10:44 +03:00
Mikhail Krichanov 1112ad7822 Ring3: Added EnterUserImage(). 2024-09-03 13:10:44 +03:00
Mikhail Krichanov db50e4edf1 Ring3: Added GetMemoryAttributes() into EFI_CPU_ARCH_PROTOCOL. 2024-09-03 13:10:44 +03:00
Mikhail Krichanov f2a28c5a55 Ring3: Added IsUserImage field into LOADED_IMAGE_PRIVATE_DATA structure. 2024-09-03 13:10:44 +03:00
Mikhail Krichanov cf83eed077 Ring3: Set USER bit in all page table structures. 2024-09-03 13:10:44 +03:00
Mikhail Krichanov db69014ad8 Ring3: Enabled SMAP and SMEP. 2024-09-03 13:10:44 +03:00
Mikhail Krichanov 8c069a27e5 Ring3: Added EFI_MEMORY_USER attribute. 2024-09-03 13:10:42 +03:00
Mikhail Krichanov 138ecce134 Ring3: Some drafts. 2024-09-03 13:08:06 +03:00
Mikhail Krichanov 25d3704cc6 UefiCpuPkg: Added segment descriptors' data structures. 2024-09-03 13:08:06 +03:00
Michael Kubacki 9b8affc22d BaseTools/codeql: Update to CodeQL 2.18.1
Updates to the latest CodeQL version to resolve query dependencies.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
2024-07-26 11:41:56 +03:00