45 Commits

Author SHA1 Message Date
Pavel Naberezhnev
7897c1e039
Updated minimal EFI Event support in userspace (#577) 2025-10-01 10:48:41 +03:00
Pavel Naberezhnev
e1d7b9b418 Added minimal UEFI Event subsystem support into userspace
This feature adds support for UEFI Event in userspace. The
following has been implemented:
  - The number of events if fixed
  - Event dispatching occurs through an explicit call to
    the dispatcher from UEFI Event functions
  - Event groups are not supported

Signed-off-by: Pavel Naberezhnev <pavelnaberezhnev@gmail.com>
2025-09-11 14:53:27 +03:00
Mikhail Krichanov
43c4931957 User: Defined PcdImageProtectionPolicy for ImageTool in audk, adopted new API. 2023-11-23 14:04:16 +03:00
Marvin Häuser
854a026617 [WIP] Expose UE-aware UefiImageFormat PCDs 2023-06-18 16:02:03 +02:00
Marvin Häuser
055bddf3eb User: Deduplicate ConfigureMemoryAllocations 2023-06-18 16:02:00 +02:00
Savva Mitrofanov
11a2606650 Library: Remove OcPeCoffLib 2023-04-26 11:01:50 +03:00
Savva Mitrofanov
2e93c95402
User: Fix uncrustify warnings 2023-04-14 21:23:50 +06:00
Savva Mitrofanov
c72c258fca
User: Update ImageLoader PCD tokens 2023-04-14 21:16:02 +06:00
Savva Mitrofanov
1a9a40bf74 User: Implements runtime GetTime function in UserBootServices 2023-03-07 21:28:51 +06:00
Savva Mitrofanov
344a2080b2 User: Adds UserUnicodeCollation library
Dedicates unicode collation protocol functions into separate user
library to prevent code duplication across several user utilities
2023-03-07 21:28:51 +06:00
Savva Mitrofanov
7a4bc7395e
User: Adds PcdFatReadOnlyMode feature flag token 2023-02-27 14:38:05 +06:00
Mikhail Krichanov
da447f6926 User: Added PcdDebugRaisePropertyMask. 2023-02-27 10:02:38 +03:00
Savva Mitrofanov
a0a25e597c
User: Corrects CalculateCrc32
We need to create proper wrapper like it done in
RuntimeDriverCalculateCrc32
2023-02-22 16:59:59 +06:00
Savva Mitrofanov
f9e1f64666
User: Adds DummyRestoreTPL and CalculateCrc32 to gBS 2023-02-22 16:47:14 +06:00
vit9696
092af5d99c Build: Make PE loader strip X bit in WX sections
This is required to support Apple-made images that have .data with RWX
permissions. Found in EfiBoot, APFS, HFS, ExFat, etc.

closes acidanthera/bugtracker#2190
2023-01-04 21:43:10 +03:00
Mikhail Krichanov
c4c6939db7 User: Refactored UserWriteFile(). 2022-12-28 12:11:55 +03:00
Savva Mitrofanov
5c2c72febc User: Add pool allocation size configurable limits for UserBaseMemoryLib
To improve for example handling of OOM-states during fuzzing we provides
options to limit maximum size of single allocation operation. Extends
checks for Free operations and integer underflow/overflow handling.
2022-11-25 20:55:14 +06:00
Savva Mitrofanov
5137def394
User: Add DiskIo2 and UnicodeCollation protocol guids into GlobalVar 2022-11-23 19:42:16 +06:00
PMheart
27905dd7d7
Utilities: Introduce TestProcessKernel tool for testing kext injection/patching from config, by @mhaeuser (#369) 2022-08-24 11:26:35 +03:00
MikhailKrichanov
e9136a3a0b
OpenNtfsDxe: Implement NTFS read-only driver. (#332) 2022-05-15 00:55:52 +03:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
MikhailKrichanov
56f43b771d
Utilities: Fixed buggy libFuzzer merge, which could skip new entries that increase coverage. (#333) 2022-04-20 21:48:07 +03:00
PMheart
c953fa071d User: Cleanup 2022-04-08 12:19:03 +02:00
MikhailKrichanov
d9bb8f99b5
User: Added a few definitions. (#319) 2022-02-04 20:31:03 +03:00
vit9696
26e7c75afa User: Backport allocation failure generator 2022-02-04 01:23:37 +03:00
vit9696
e0701fbdae User: Provide more robust PE example and memory support 2022-02-03 22:18:26 +03:00
MikeBeaton
22cfebdf6f Platform: OpenLinuxBoot.efi 2021-09-04 15:48:36 +01:00
PMheart
ee4c736462 User: Fix build 2021-06-16 10:24:55 +08:00
PMheart
ca8046be27
OcCpuLib: Implement TSC frequency reading from Apple Platform Info (#233) 2021-03-12 19:26:23 +08:00
Marvin Häuser
ae76a3f64d User: Introduce UserPseudoRadom 2021-02-27 18:18:44 +01:00
vit9696
fee74c397f User: Add sanitize checking macro 2021-02-16 12:37:01 +03:00
Vitaly Cheptsov
f1eeae455f
OcPeCoffExtLib: Use OcPeCoffLib for image verification (#186)
REF: https://github.com/mhaeuser/ISPRASOpen-SecurePE
closes acidanthera/bugtracker#1273
2021-02-01 19:32:54 +03:00
PMheart
2f1043d989
User: Codestyle fix (#175) 2021-01-01 12:44:54 +03:00
vit9696
a2da0c2c35 User: Implement fuzzing and coverage gathering support with docs
closes acidanthera/bugtracker#1372
2020-12-26 11:24:02 +03:00
Michael Belyaev
d815a83be0
OpenCanopy: Basic audio assist support (#74)
Co-authored-by: Michael Belyaev <usrsse2@me.com>
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
2020-12-16 23:03:11 +03:00
Dhinak G
9d1c9f93c4
Build: Switch CI to GitHub Actions (#160) 2020-11-28 02:31:15 +03:00
Alex James
06af970852 User/Pcd: Add PcdPciExpressBaseSize
Needed since 5c06585528
2020-09-28 12:22:53 +03:00
Download-Fritz
a97b74e83c
OpenCore: Use direct PE loading for Secure Boot (#108)
Implement and integrate a PE image loader to circumvent UEFI Secure Boot when Apple Secure Boot is used.
2020-08-24 12:52:34 +02:00
vit9696
459a769f83 OpenCoreUefi: Add immutablekernel loading support
references acidanthera/bugtracker#1071
2020-08-09 23:11:00 +03:00
Goldfish64
8ebad05118 OcMemoryLib: Add LegacyRegion2Protocol support 2020-08-06 19:01:01 -05:00
vit9696
de272bf210 OcMachoLib: Fix KC init and segment merging 2020-06-28 12:01:54 +03:00
PMheart
c904ab671c
Buid: Migrate all tools to Utilities (#69) 2020-06-05 15:12:33 +03:00
Download-Fritz
062e898e26 Fix GCC warnings 2020-05-31 13:23:27 +02:00
vit9696
6f25d6c9f1 Utilities: Port DiskImage to utilities 2020-05-30 17:40:40 +03:00
PMheart
1fffdef964
Utilities: Introduce ConfigValidity and refactor utility compilation (#59) 2020-05-29 01:31:59 +03:00