Commit Graph

1491 Commits

Author SHA1 Message Date
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 541182fcd1 Fix device properties having a garbage name.
Bug was : xmlKey() wrongly return by value. Returning xmlKey().value()
by reference = returning a local object by reference. value() was
destroyed and referenced memory become garbage.
2021-05-06 12:35:44 +03:00
jief666 243f6d7b36 Fix validator xcode 12.5 compilation problem. 2021-05-06 10:55:11 +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 d52803e7cd DO NOT explicitly call default ctor with new because of clang bug. 2021-05-05 20:10:10 +03:00
SergeySlice 8dab184a8b PauseForKey has new argument type
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-05 18:40:10 +03:00
jief666 cc6389a9cf commit the commit reference of OpenCorePkg. 2021-05-05 13:30:07 +03:00
jief666 0a8f273560 Cleaning and improvement of PlatformPOSIX.
Create a PlatformPOSIX+EFI.
2021-05-05 13:20:40 +03:00
SergeySlice 626637762c merge conflicts
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-04 19:23:48 +03:00
SergeySlice 9c6e5ce05c add new csr bits to Clover GUI to choose
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-05-04 19:21:42 +03:00
jief666 ee78cb92fa Add message and reboot if macOs failed to load (instead of a black
screen).
Log image handles of loaded efi.
2021-05-04 13:26:54 +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
SergeySlice fb86ee152a update clover.proj
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-29 21:13:13 +03:00
jief666 720e3de375 Fix Validator xcode project. 2021-04-29 20:08:51 +03:00
jief666 efb5e87c96 Validator : display version. 2021-04-29 00:03:58 +03:00
jief666 0223567648 New parser XML. New ConfigManager. A lot of refactoring... 2021-04-28 21:30:34 +03:00
jief666 51d5d4a141 Fix compilation Xcode 12.5.
Debug message in Smbios.cpp.
2021-04-28 21:00:28 +03:00
SergeySlice f28e98fb33 update IndustryStandards
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-26 21:04:07 +03:00
SergeySlice 5bc175a753 accept commit 4bf2a5b from Tianocore
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-26 19:57:04 +03:00
jief666 afa09ccb4e OpenCorePkg new commit. 2021-04-23 17:54:59 +03:00
jief666 4e28b79449 Fixed refit.inf. 2021-04-23 17:07:38 +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
SergeySlice caa636eb6d supported RX6800XT in 11.4
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-22 06:07:46 +03:00
jief666 a1a27d29a1 Improve some messages.
unicode_conversions version.
2021-04-21 08:32:38 +03:00
jief666 e9d0f08c8e New qemu version 5.2.0 from MacPorts, compiled on High Sierra. 2021-04-19 11:21:48 +03:00
SergeySlice deeea43b79 dont double CPU examine
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-17 14:32:32 +03:00
SergeySlice f2dab6c9d4 remove conflict with ProcessorInfo
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-16 19:07:25 +03:00
jief666 541762427a Real fix to XCode optimization bug. 2021-04-16 12:55:51 +03:00
jief666 e7bb2bd3bd Test to see if it could be a compiler bug. 2021-04-16 00:16:41 +03:00
SergeySlice ea21418467 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2021-04-15 21:43:41 +03:00
SergeySlice 917760ba82 some comments
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-15 21:22:14 +03:00
jief666 0b1fe3aade Is this a clang bug ? 2021-04-15 20:47:36 +03:00
SergeySlice 9bff704ea7 error format string
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-13 22:27:34 +03:00
SergeySlice ef68d47d67 one more case
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-13 19:21:38 +03:00
SergeySlice fb9562496e use 8 bytes for PBr
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-13 18:27:19 +03:00
jief666 66bbace4f7 Looks like one added log line fixed the xcode build!!! There must be a
better explanation... An optimization compiler bug ?
2021-04-13 01:01:43 +03:00
jief666 c07c1542e8 Create XBuffer setSize(IntegralType size, const T& elementToCopy). 2021-04-12 15:13:14 +03:00
jief666 23b39364d2 Fix a wrong cast in XImage.
Fix bug about padding StartMask, MaskFind, Replace, MaskReplace
Move IgPlatform in GlobalConfig.
Improve panic message.
Fix bug in XMLDecode.
2021-04-12 15:11:01 +03:00
SergeySlice 4269083faa update config-sample
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-11 14:06:06 +03:00
SergeySlice b9bba36d8d restore config-sample
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-11 13:56:13 +03:00
SergeySlice 1d6a7ae9d3 Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2021-04-11 13:53:39 +03:00
SergeySlice 4904c3dc8e default Tmezone is FF, not -1
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-11 13:53:21 +03:00
jief666 fe26ba998a Forgotten file. 2021-04-11 09:37:01 +03:00
jief666 7babc6fe9b Do not use OC quirks struct anymore in settings.
Fix Disabled property in Smbios/Block config.
Move flagstate in GlobalConfig.
Remove gSettings.Smbios.REV, ECPI, RBr and RPlt.
Create getRBr() and getRPlt().
Operator == and isEqual in XArray, XObjArray, SETTINGS_DATA.
Rename equal to isEqual in XString and XStringArray.
Operator == in INPUT_ITEM, undefinable, ABSTRACT_PATCH (and derived) and
RAM_SLOT_INFO class.
Clean b64cdecode.h.
2021-04-11 08:18:52 +03:00
SergeySlice fd3b09cf13 include files into xcode project
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-04-11 07:43:17 +03:00
jief666 ff4e97edde Forgotten file. 2021-04-08 18:52: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 277f3e8619 Speed up devprop_generate_string by using a XBuffer instead of a String.
Create a S8Catf in XBuffer.
2021-04-08 11:01:20 +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 2cf69b2b55 Rename ABSTRACT_PATCH Data & Patch, Find and Replace.
Create GetChassisTypeFromModel() and GetFwFeaturesMaskFromModel().
Ignore first '\' in ForceKextsToLoad.
XString : Add a parameter to wc_str to access address of nth chars.
XString : Add endWithOrEqualToIC.
Create ConstXStringArray.
2021-04-06 16:39:55 +03:00