Pavel Naberezhnev
7897c1e039
Updated minimal EFI Event support in userspace ( #577 )
2025-10-01 10:48:41 +03:00
Pavel Naberezhnev
0d19bcd7b3
Added UserEvent functions into UEFI in userspace
...
Signed-off-by: Pavel Naberezhnev <pavelnaberezhnev@gmail.com>
2025-09-11 14:53:27 +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
Mike Beaton
8fa9a1035b
Utilities: Silence additional zlib warning triggered by update to brew mingw-w64
...
Refactor to remove some duplication in zlib warning code.
2025-06-04 17:25:49 +01:00
Mikhail Krichanov
35d9b3706f
User: Fixed compilation for Ia32 toolchains.
2025-02-25 13:31:59 +03:00
Mikhail Krichanov
5b2f8b5bc8
User: Added TdProbe.o to fix audk BaseTools compilation after rebasing
...
upon edk2-stable202502 tag.
2025-02-25 12:40:04 +03:00
Mike Beaton
7efc772daf
LogoutHook: Bundle i386/x86_64 10.6+ compatible version of nvramdump with OpenCore releases
...
https://github.com/acidanthera/bugtracker/issues/2403
75e19f1422
2024-05-31 20:27:20 +01:00
Savva Mitrofanov
75e19f1422
User: Drop ia32 support. Support universal binaries for utilities
2024-04-06 16:15:32 +03:00
Mikhail Krichanov
88ada4d94b
Utilities: Assigned default values to PcdUefiImageFormatSupportNonFv
...
and PcdImageProtectionPolicy, adjusted Policy in tools.
2023-12-07 11:30:51 +03:00
Mikhail Krichanov
43c4931957
User: Defined PcdImageProtectionPolicy for ImageTool in audk, adopted new API.
2023-11-23 14:04:16 +03:00
Mikhail Krichanov
a5d613837b
User: Changed PcdUefiImageFormatSupportFv to fix audk uefi-format branch compilation.
2023-11-23 14:02:07 +03:00
Mike Beaton
8d002d7e83
User: Set PcdDebugRaisePropertyMask default value to zero
...
- Matches recent fix in dbebb53c11
- Correct usage is for bits here to only ever be manually enabled for specific debugging tasks
2023-11-08 09:27:12 +00:00
Mike Beaton
6d94380499
User: Set PcdImageLoaderRemoveXForWX to TRUE
...
- Matches value used in OpenCore
- Allows AppleEfiSignTool to work with W^X error legacy Apple images
Futher work required for AppleEfiSignTool to work with section overlap error images.
2023-11-08 07:26:09 +00:00
rilysh
9870667468
User: close file ptr before abort() ( #487 )
2023-09-27 22:07:18 +02:00
PMheart
43bc1e4e53
User: Fix Windows build
2023-09-27 22:06:16 +02:00
Mikhail Krichanov
e8ddb58b27
User: Changed PcdUefiImageFormatSupportFv to fix audk UE branch compilation.
2023-07-19 11:23:58 +03:00
John Davis
fcc28d70c0
OcCpuLib: Get PM timer address from OpenDuet for non-Intel chipsets
2023-07-08 20:58:49 -05:00
Marvin Häuser
8d85c555c6
User/File: Fix memory leak
2023-06-21 00:21:54 +02: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
Marvin Häuser
6699cffa3b
User/Makefile: Exclude assert() from coverage
2023-06-18 15:24:54 +02:00
Marvin Häuser
d9d50fabb9
User/Makefile: Support LCOV_EXCL
2023-06-18 14:22:20 +02:00
Marvin Häuser
2bcc3cbd7f
User/BaseMemoryLib: Fix aligned page alloc
2023-06-13 11:32:04 +02:00
Mike Beaton
fe77706ae7
User: Move misplaced label on 32-bit example;
...
add * to refer back to its correct previous occurrence
2023-05-08 15:44:05 +01:00
Savva Mitrofanov
11a2606650
Library: Remove OcPeCoffLib
2023-04-26 11:01:50 +03:00
Marvin Häuser
d185827c70
User/UserBaseMemoryLib: Fix InternalAllocateAlignedPages implementation
2023-04-22 22:19:28 +02: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
b2d438d6f3
Switch OcGuardLib to BaseOverflowLib
2023-04-13 13:16:14 +06:00
Savva Mitrofanov
c42343b6bf
User: Add BaseOverflowLib build targets
2023-04-12 17:46:12 +06:00
Marvin Häuser
997ef4ae8f
User/UserBaseMemoryLib: Define aligned page alloc definitions
2023-04-10 21:08:48 +02:00
Marvin Häuser
cda8a58595
User/BaseMemoryLib: Consume CommonMemoryAllocationLib
2023-04-01 21:28:17 +02:00
Marvin Häuser
0f769479ff
User/BaseMemoryLib: Use _aligned_free for MSVC
2023-03-30 17:27:30 +02: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
Savva Mitrofanov
93dc0951a1
OcMachoLib: Rename Fat.c to MachoFat.c to solve conflict with FatPkg
2023-02-22 16:47:13 +06:00
Marvin Häuser
bba89ba527
User: Fix bogus FreePages() abort
2023-02-04 23:19:02 +01:00
Savva Mitrofanov
6d20d2d56f
User: Corrects ASSERT behavior in UserPcd
...
The CpuBreakPoint in UserMisc normally shouldn't enter dead-loop
condition, instead it should break the program using abort signal. Also
sets DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit by default in
PcdDebugPropertyMask. As a background was a problem with fuzzing when
program process falls into dead-loop condition instead of just to exit
with crash
2023-01-12 13:41:53 +03: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
vit9696
eb1347c77c
User: Please macOS compiler
2023-01-02 20:49:40 +03:00
vit9696
9e81ed82f3
User: Please analysers
2023-01-02 20:17:32 +03:00
vit9696
6055ec7b43
User: Fix compilation
2023-01-02 20:13:14 +03:00
Mikhail Krichanov
c4c6939db7
User: Refactored UserWriteFile().
2022-12-28 12:11:55 +03:00
Mikhail Krichanov
1a8f88bbd2
User: Windows compilation fixes.
2022-12-28 12:11:36 +03:00
Mikhail Krichanov
b139e3a07d
User: Added IsZeroGuid().
2022-12-28 12:11:23 +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