Commit Graph

32845 Commits

Author SHA1 Message Date
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
dependabot[bot] 487b5945b2 pip: bump edk2-pytool-extensions from 0.26.4 to 0.27.5
Bumps [edk2-pytool-extensions](https://github.com/tianocore/edk2-pytool-extensions) from 0.26.4 to 0.27.5.
- [Release notes](https://github.com/tianocore/edk2-pytool-extensions/releases)
- [Commits](https://github.com/tianocore/edk2-pytool-extensions/compare/v0.26.4...v0.27.5)

---
updated-dependencies:
- dependency-name: edk2-pytool-extensions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 10:22:47 +03:00
dependabot[bot] 96002713d8 pip: bump edk2-pytool-library from 0.20.0 to 0.21.5
Bumps [edk2-pytool-library](https://github.com/tianocore/edk2-pytool-library) from 0.20.0 to 0.21.5.
- [Release notes](https://github.com/tianocore/edk2-pytool-library/releases)
- [Commits](https://github.com/tianocore/edk2-pytool-library/compare/v0.20.0...v0.21.5)

---
updated-dependencies:
- dependency-name: edk2-pytool-library
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 10:22:46 +03:00
dependabot[bot] e437f5f62b pip: bump regex from 2023.12.25 to 2024.5.15
Bumps [regex](https://github.com/mrabarnett/mrab-regex) from 2023.12.25 to 2024.5.15.
- [Changelog](https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt)
- [Commits](https://github.com/mrabarnett/mrab-regex/compare/2023.12.25...2024.5.15)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-26 10:22:46 +03:00
Mikhail Krichanov 48d9ff62ef README: Added links to audk-stable-202305, audk-stable-202311. 2024-07-22 13:52:40 +03:00
Mikhail Krichanov a6c369fc36 Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202405 tag. 2024-07-22 13:52:40 +03:00
Mike Beaton dfbc6323ce BaseTools: Enable symbolic debugging with LTO in XCODE toolchain (#64) 2024-07-22 13:52:40 +03:00
vit9696 e2fe2aa26d BaseTools: Provide fat Mach-O binaries on Darwin
Merge pull request #63 from acidanthera/vit9696-fattools-20240327
2024-07-22 13:52:40 +03:00
Mike Beaton fde2711dcc tools_def: Remove unneeded -Wno-unneeded-internal-declaration for CLANGDWARF
This is already worked around by the alternative version
of MDEPKG_NDEBUG DEBUG() for __clang__ which is provided
in MdePkg DebugLib.h, therefore the reason why this flag
was added in EDK-II no longer applies.
2024-07-22 13:52:07 +03:00
Mikhail Krichanov cf38766c99 Fixed compilation of all packages tracked by CI after rebasing upon edk2-stable202311. 2024-07-22 13:51:38 +03:00
Mikhail Krichanov 04e068e0b8 Build: Upgraded OpenCorePkg. 2024-07-22 13:49:01 +03:00
Mikhail Krichanov 46050fc0fc SecurePE: Defined new PcdImageProtectionPolicy. 2024-07-22 13:49:00 +03:00
Mikhail Krichanov 7a25dcfffb BaseTools: Fixed '-D EDK2_REDUCE_FW_SIZE' build option. 2024-07-22 13:49:00 +03:00
Mikhail Krichanov 21327695a0 UE: Support UE generation and consumption. 2024-07-22 13:49:00 +03:00
Mikhail Krichanov 683f4b85cb OvmfPkg: Increased SECFV_SIZE at FVMAIN_COMPACT's expense to fix CLANGPDB compilation. 2024-07-22 13:49:00 +03:00
Mikhail Krichanov 1baaa3c5ce Docs: Updated README.md. 2024-07-22 13:49:00 +03:00
Mikhail Krichanov c4e3993ebe BaseTools/tools_def: Deduplicate DLINK_FLAGS from CC_FLAGS 2024-07-22 13:49:00 +03:00
Marvin Häuser 62f5d3596b BaseTools/build_rule: Always pass CC_FLAGS to DLINK 2024-07-22 13:49:00 +03:00
Marvin Häuser 03de312094 BaseTools/CommonLib: Replace aligned_alloc with posix_memalign 2024-07-22 13:49:00 +03:00
Mikhail Krichanov 028bb3e2c7 MdePkg/UefiImageLib: Introduce DebugAddress
Signed-off-by: Marvin Häuser <mhaeuser@posteo.de>
2024-07-22 13:49:00 +03:00