Commit Graph

15 Commits

Author SHA1 Message Date
jief
32fbf76326 Update BaseLib.h with macro BASE_LIST_FOR_EACH.
Introduce class apd (automatic pointer destruction)
Introduce MemoryTracker
Weak symbols in MemoryAllocationLib to be able to redefine them (see
MemoryTracker).
Embed LegacyOS instead of a pointer.
Fixed a lot of memory leaks.
2023-11-18 11:04:54 +01:00
jief
c1ce6aa406 Fix a memory waste in efiStrError().
Create displayFreeMemory().
Few renaming and details that doesn't change behavior.
2023-11-06 23:51:16 +01:00
jief666
1ea4700bd6 Replace EFI_GUID by a class EFI_GUID. 2022-04-26 00:55:56 +02:00
Sergey Isakov
b65ace3b58 VS2017 compatibility
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2022-01-23 19:12:22 +03:00
jief666
542b812276 Refactor array of RamSlotInfo and RAM_SLOT_INFO to avoid allocating
empty slots.
Remove the InUse member.
Remove mHandle17, mInstalled, mEnabled global.
Create numeric_limits.
2021-10-02 20:44:16 +03:00
jief666
2c829b66cd Create XBool to avoid nasty side effect when assigning int to bool. 2021-09-28 11:28:45 +03:00
jief666
19b54b58a6 Typo. 2021-05-09 17:20:24 +03:00
jief666
0b0667997a Try to compile secure boot. Error in some openssl asm instructions. 2021-05-09 17:13:37 +03:00
jief666
9906261e23 Fix visual studio compilation.
Fix some warnings.
Rename panic_ask to log_technical_bug.
2021-05-08 12:34:17 +03:00
jief666
54bddb2fa9 Fix wrong access to SlotDevices in FixAirport.
Send panic message to log.
2021-05-06 09:23:07 +03:00
jief666
0a8f273560 Cleaning and improvement of PlatformPOSIX.
Create a PlatformPOSIX+EFI.
2021-05-05 13:20:40 +03:00
jief666
cc3c8fe0a7 Fix bug : it was ignoring legacy with PBR, MBR and CD.
Uncomment eComStation, BeOS, ZETA and Haiku legacy boot sector
detection.
Return unknown icon instead of dummy.
Improve legacy entries title when _LoaderTitle is empty.
Create log_technical_bug(). Temporary redirected to panic.
Hardened egLoadFile().
Hardened SelfOem.
Copy ctor in XStringArray.
Improve qemu launch scripts.
2021-04-23 15:20:48 +03:00
jief666
975ac8f4fb Implement the possibility to cache XString size. Not activated.
Improve unicode_conversions.
Move strlen declaration to string.h.
2021-04-08 18:07:05 +03:00
jief666
c11a90046a Create GetFwFeatures(), GetMobile() and GetPlatformFeature in
PlatformData.
Create panic_ask for future possibility of toogle panic on and off.
2021-04-07 00:45:58 +03:00
jief666
d54fc63747 new folder PosixCompilation. Ressources to compile Clover as a mac
application, for unit tests.
2021-04-03 13:55:25 +03:00