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
22d277d1e4
Change DiscoveredHdaProperties.controller_name to avoid a memory leak.
2023-11-11 14:36:33 +01:00
jief
dbb93abca9
Remove unnecessary casts.
2023-11-07 11:29:52 +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
Slice
2d142970c0
make FakeCPUID from SMBIOS
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-22 22:50:58 +03:00
Slice
2cb4b24a5d
smbios automatic chooser
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-06-17 00:44:39 +03:00
SergeySlice
76614b3208
some cleanup
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2023-06-12 14:35:14 +03:00
Slice
e0bde75175
restrict str_version conversion to 3 groups
...
Signed-off-by: Slice <sergey.slice@gmail.com>
2023-05-31 00:17:19 +03:00
SergeySlice
8216d9f442
take into account non-GOP gfx to be able to change properties in GUI
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-20 20:33:57 +03:00
SergeySlice
30f3048fbf
revert commit 9598d7ec
, fix issue 525
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-18 21:11:16 +03:00
jief666
1ea4700bd6
Replace EFI_GUID by a class EFI_GUID.
2022-04-26 00:55:56 +02:00
SergeySlice
9337508928
exclude debug messages on screen
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-03-24 20:32:31 +03:00
jief666
eebffc9de8
Reset configPlist before reloading.
2021-12-05 09:31:28 -06:00
jief666
109901bbeb
Better log in case of messages about config,plist.
...
Implememts --info in ccpv.
2021-10-30 08:58:43 +02:00
jief666
e036b3d54b
Do not display config info messages at launch.
2021-10-29 21:56:32 +02:00
jief666
710b2dcee5
Allow SmbiosDictClass to work without ProductName defined (using a
...
defaultMacModel member that has to be assigned before).
Move BiosVersion, BiosReleaseDate and EfiVersion checks in
SmbiosDictClass. Create warnings for incorrect values.
Rename MaxMachineType to MaxMacModel.
Remove GlobalConfig->BiosVersionUsed, ReleaseDateUsed and
EfiVersionUsed.
2021-10-19 19:57:27 +02:00
jief666
cee098d1e6
Rename MACHINE_TYPES enum to MacModel.
...
Rename PLATFORMDATA array to ApplePlatformDataArrayClass.
Refactor so enum MacModel doesn't have to be in the same order as
ApplePlatformDataArrayClass.
Create static_assert that guarantee that all model has platform data.
2021-10-18 21:06:19 +02:00
SergeySlice
f014920e14
block warning about ProductName
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-10-10 20:08:20 +03:00
jief666
83593a5ab9
Convert bool to XBool.
2021-09-28 16:54:31 +03:00
jief666
2c829b66cd
Create XBool to avoid nasty side effect when assigning int to bool.
2021-09-28 11:28:45 +03:00
SergeySlice
f0a20247e9
implement ExtendedFeatures
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-09-25 14:33:16 +03:00
jief666
e6617e3497
Delete useless lines.
2021-07-02 16:15:06 +03:00
jief666
d2e652bd44
Move some initializations in ConfigManager.
2021-07-01 18:16:54 +03:00
jief666
4e995a05e3
Restore correct loading order ConfigManager::LoadConfig().
2021-07-01 18:03:15 +03:00
SergeySlice
e12aefe816
repaired taking SavingMode from config
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-24 22:52:12 +03:00
SergeySlice
f424a77c25
repaired taking C3Latency from config
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-06-23 21:24:46 +03:00
jief666
c0fa72e2ed
Prevent "log loop" a better way.
...
Do not depend on Self instance for opening log file.
Rework on Self to share code with BootLog.cpp.
2021-05-23 13:20:30 +03:00
jief666
bf74520cef
Deprecate FIX_HEADERS.
2021-05-19 15:11:21 +03:00
jief666
0b0667997a
Try to compile secure boot. Error in some openssl asm instructions.
2021-05-09 17:13:37 +03:00
jief666
fd48766687
Stop ignoring Mouse parameters.
2021-05-08 16:24:10 +03:00
jief666
391ed70310
Fix bug in ConfigPlist when an unknown key happens is ACPI/DSDT/Fixes.
...
Light refactor of PauseForKey.
gSettings.CPU.SavingMode is ConfigManager.
PlatformPosix : do not redefine abort(), use abort() instead of
CpuDeadLoop().
Format debug.log file name.
Use malloc/free instead of AllocateZeroPool/FreePool for validator
compatibility.
Use strlen instead of AsciiStrLen for validator compatibility.
getRBr() and getRPlt() : make them independent from global var.
Fix wrong line number in XmlLiteParser.
2021-05-04 13:03:40 +03:00
jief666
0223567648
New parser XML. New ConfigManager. A lot of refactoring...
2021-04-28 21:30:34 +03:00