Commit Graph

32793 Commits

Author SHA1 Message Date
Mikhail Krichanov 94be39d0c5 Ring3: Refactored I/O Map initialization using PcdUartBase and PcdDebugIoPort. 2024-09-05 17:39:35 +03:00
Mikhail Krichanov ede4877e3b Ring3: Fixed buggy timer interrupt handling for X64. 2024-09-05 15:54:33 +03:00
Mikhail Krichanov d4e1092dc7 Core/Dxe/Misc: Fixed string comparison bug. 2024-09-05 13:40:09 +03:00
Mikhail Krichanov be8f6f968e Ring3: Fixed buggy timer interrupt handling for IA32. 2024-09-05 11:46:52 +03:00
Mikhail Krichanov 454d582450 MdeModulePkg/Core/Dxe: Fixed compilation after rebasing upon new master. 2024-09-03 13:53:26 +03:00
Mikhail Krichanov ab1bc54366 Ring3: Fixed ArmPkg and ArmVirtPkg compilation. 2024-09-03 13:24:22 +03:00
Mikhail Krichanov d74b97ed94 Core/Dxe: Refactored DisableSMAP(), EnableSMAP() names. 2024-09-03 13:24:22 +03:00
Mikhail Krichanov d8aa9c3ea7 Core/Dxe: Changed line ending to Windows style. 2024-09-03 13:24:22 +03:00
Mikhail Krichanov 5b59ec5e07 SysCall: Made SMEP, SMAP, PAN optional features. 2024-09-03 13:24:22 +03:00
Mikhail Krichanov 940a7e2074 MdeModulePkg: Added PcdEnableUserSpace. 2024-09-03 13:24:19 +03:00
Mikhail Krichanov 7ad8cac11d SysCall: Restored nonvolatile registers for IA32, X64. 2024-09-03 13:21:22 +03:00
Mikhail Krichanov 65f3047224 SysCall/ARM: Added TODO comments. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov ab600336fb Ring3: Fixed arguments alignment bug for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov fc08f7d273 Ring3: Fixed several bugs for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 3bddf9ac07 Ring3: Defined ReturnToCore() for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 54e2f4e741 SysCall: Fixed typos. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 0d17ab3d92 Ring3: Defined CallInstallMultipleProtocolInterfaces() for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov bdea79e171 Ring3: Defined SysCallBootService() for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov ae234e908f Ring3: Defined CallRing3() for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 618149a40d Ring3: Added EL0 support for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 54d7a130ec Ring3: Added PAN support for ARM. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 5adf2fcc67 Ring3: Summarized all known problems for AARCH64. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 19f1211cd5 SysCall/AARCH64: Increased probability of QEMU's normal work. 2024-09-03 13:21:21 +03:00
Mikhail Krichanov 8439ad67b4 SysCall/AARCH64: Enabled interrupts. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov 8af0fd53c1 SysCall: Fixed random crashes of QEMU. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov c8ed0dc0c1 Ring3: Removed -mcpu=cortex-a76 option from tools_def.template. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov 6201352b42 SysCall: Added sanity checks. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov 3e4f215f1a SysCall: Made CoreSp STATIC, fixed UserRsp for AARCH64. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov de4229c371 SysCall: Fixed uninitialized variable. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov 45b5cb0c5c Ring3: Defined CallInstallMultipleProtocolInterfaces() for AARCH64. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov 9bb63c464b Ring3: Refactored SysCallBootService() out of EFI_BOOT_SERVICES. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov c5d244956e Ring3: Defined SysCallReturnToCore for AARCH64,
forbade ExceptionHanlders to use EL0 stack.
2024-09-03 13:21:20 +03:00
Mikhail Krichanov c542f9f3b0 Ring3: Fixed some page faults caused by wrong memory attribution. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov d03b93be3d Ring3: Defined SysCallBootService() for AARCH64. 2024-09-03 13:21:20 +03:00
Mikhail Krichanov 3fc05b0473 Ring3: Defined CallRing3() for AARCH64. 2024-09-03 13:21:19 +03:00
Mikhail Krichanov 04c34b8135 Ring3: Defined CpuGetMemoryAttributes(), DisableSMAP(), EnableSMAP() for AARCH64. 2024-09-03 13:21:19 +03:00
Mikhail Krichanov d1fa366ba2 Ring3: Initialized DxeRing3 with Supervisor privileges. 2024-09-03 13:21:19 +03:00
Mikhail Krichanov 6dc6cd62d4 Ring3: Added EL0 and PAN support for AARCH64. 2024-09-03 13:21:19 +03:00
Mikhail Krichanov bdd577e887 Ring3: Added dummy functions for ARM, AARCH64. 2024-09-03 13:21:19 +03:00
Mikhail Krichanov 149fb5719b SysCall: Some refactoring. 2024-09-03 13:19:17 +03:00
Mikhail Krichanov 279c5338bc Ring3: Fixed interrupts handling for IA32. 2024-09-03 13:19:17 +03:00
Mikhail Krichanov 044a40c898 Ring3: Fixed bug in IA32 SetPosition() and Open(). 2024-09-03 13:19:17 +03:00
Mikhail Krichanov 2f5a386490 Ring3: Fixed bug in Ring3LocateHandleBuffer(),
added SysCallNames.
2024-09-03 13:19:17 +03:00
Mikhail Krichanov 5339dcdfe3 Ring3: Moved UINT64 arguments to the end of argument list to fix IA32 stack. 2024-09-03 13:19:17 +03:00
Mikhail Krichanov 93743d58e1 SysCall: Fixed bug in IA32 CallInstallMultipleProtocolInterfaces(). 2024-09-03 13:19:17 +03:00
Mikhail Krichanov 99d5d6b5a9 SysCall: Replaced AllocatePool() with CoreAllocatePages(). 2024-09-03 13:19:17 +03:00
Mikhail Krichanov ede5387afd Ring3: Fixed TSS initialization. 2024-09-03 13:19:17 +03:00
Mikhail Krichanov 6d282f1dd3 Build: Fixed compilation of X86 Firmwares. 2024-09-03 13:19:17 +03:00
Mikhail Krichanov 703dea11b3 SysCall: Fixed memory corruption in IA32. 2024-09-03 13:19:17 +03:00
Mikhail Krichanov c7307143f5 SysCall: Added IA32 support. 2024-09-03 13:19:17 +03:00