Commit Graph

48 Commits

Author SHA1 Message Date
jief666
2d124e41e3 Improve GetDebugLogFile() and SaveMessageToDebugLogFile(). 2020-10-19 15:04:03 +03:00
jief666
70988228c4 Refactor selfOem. Created getConfigDir... methods.
Enclose access to getOemDir... by if (selfOem.oemDirExists()).
Enclose access to getKextsDir... by if (selfOem.isKextsDirFound()).
closeDebugLog() in UninitRefitLib().
Prevent DBG loop.
2020-10-17 16:01:33 +03:00
SergeySlice
743b036202 change format printing
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-10-10 18:15:54 +03:00
jief666
b8a188382c Make Clover path independent. 2020-10-03 20:02:31 +03:00
jief666
8ccee7054f 1st experiment to use OpenCore to boot Big Sur installer. 2020-09-07 01:19:48 +03:00
SergeySlice
da591d7cf6 include headers into inf files as required by build system
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-08-31 21:51:55 +03:00
jief666
74a5477c26 un-inline some function to allow GCC compilation. 2020-08-26 22:39:39 +03:00
jief666
5779130ea5 MemLogfVA now use only printf_lite which has better handling of
timestamp at the beginning of lines.
2020-08-26 21:49:49 +03:00
jief666
8703ccab7f Fix SerialPortWrite call in MemLogfVA. 2020-08-26 10:56:05 +03:00
jief666
19ce4d6edf MemLogLib didn't compile.
update Clover.dsc and refit.inf
2020-08-25 19:38:50 +03:00
jief666
c7cc003809 Xcode project.
printf_lite. Add test guard.
2020-08-25 19:08:05 +03:00
jief666
b68cd5ec56 Use SerialPortWrite instead of DebugPrint to avoid 256 chars message
length limitation.
2020-08-25 18:43:53 +03:00
jief666
d4b3fb9b7a Bug I introduced in StrHToBuf.
Remove PRINTF_EMIT_CR=1.
ReleaseDate wrongly had a \n at the end.
Bug in utf8_stringnn_from_utf16_string.
XString replaceAll(XString,XString) function.
2020-08-16 16:21:12 +03:00
SergeySlice
cd23181296 move OcQuirks.plist into config.plist and into GUI menu
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-15 20:29:27 +03:00
SergeySlice
830c0c41fe fix mistakes of previous commits
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-14 08:59:49 +03:00
SergeySlice
abc8d3cab3 initialize variables
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-13 22:41:29 +03:00
Sergey Isakov
620401dca6 preliminary include OcQuirks into the project with huge amount of unnecessary dependencies
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-07-09 22:06:48 +03:00
SergeySlice
56ad0e511a update MachoLib
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-07-07 09:19:59 +03:00
jief666
9be63c456d Oups, baaad bug. 2020-06-17 12:53:37 +03:00
SergeySlice
22f9adcbc9 using XIcon class for dynamic images
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-16 22:30:29 +03:00
Jief L
6357aaf299 Correct no_sanitize attribute. 2020-05-03 18:26:32 +03:00
SergeySlice
6b33696c93 kext and kernel patches will be part of LOADER_ENTRY class
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-01 19:26:28 +03:00
SergeySlice
d7c710f9e3 fix some addresses issue, format text
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-28 13:49:24 +03:00
SergeySlice
a621438d7c symbolic kexts and kernel patcher
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-27 18:16:43 +03:00
Jief L
5f195c9d8a More cleaning in tests. 2020-04-24 12:30:09 +03:00
SergeySlice
c48bb89e2e decorations
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 19:05:21 +03:00
SergeySlice
01f33f7552 detect unknown linux versions,
stylish change: remove space between func and brace

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 12:08:10 +03:00
jief
647955dd8c Fix %x format for char and short. 2020-04-17 15:27:38 +03:00
Jief L
8e8fb57178 Fix printf width specifier for %s. 2020-04-10 14:01:16 +03:00
Jief L
8e84796b17 typo 2020-04-04 12:57:41 +03:00
Jief L
f888a60526 Handle NULL pointer for string in printf_lite 2020-03-29 16:53:57 +03:00
Jief L
c07950d6f7 Fix emit CR when output to unicode. 2020-03-28 19:17:32 +03:00
Jief L
ee6124bd10 Bye bye PoolPrintFloat. 2020-03-26 15:59:20 +03:00
asava
3f1eb9a02e add missing files to inf 2020-03-21 18:38:20 +02:00
Jief L
14cdfe29c7 MemLogf and MemLogfVA. Not used yet in Clover. 2020-03-21 16:12:26 +03:00
Sergey Isakov
20237d492a cleanup
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-18 21:49:54 +03:00
Sergey Isakov
b71081dc85 add header to OcGuardLib'
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-17 08:08:00 +03:00
Sergey Isakov
d2ac4d7de9 merge master and c++_globals
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 17:29:59 +03:00
Sergey Isakov
28ad1105d3 FreePool differs from gBS->FreePool
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 09:13:01 +03:00
SergeySlice
0979cd808a use unified DeviceTreeLib
Signed-off-by: Сергей Исаков <sergey@Sergejs-iMac.local>
2019-12-18 20:34:26 +03:00
Sergey Isakov
6caf35b406 create library for HDA operations
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-11-27 14:16:02 +03:00
asava
ed6a6bdb1d eliminate some warnings caused by different include order in inf files 2019-10-24 00:37:29 +03:00
Sergey Isakov
74fb388b59 forbid lto for CloverEFI
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-05 08:51:42 +03:00
Sergey Isakov
6a56c2951b refactoring, renaming, cleanup 2019-10-04 23:32:02 +03:00
Sergey Isakov
f35acfa5ab restructure sources, preliminary include AptioMemoryFix from OC
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-10-04 16:19:40 +03:00
Sergey Isakov
fcc7767592 add absent files
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-05 20:54:56 +03:00
Sergey Isakov
081d1b5210 added absent files and fixed dependencies
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-03 15:19:03 +03:00
Sergey Isakov
7c0aa811ec initial commit Clover sources 5061 and modules from EDK2 latest with legacy codes from UDK2018
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-03 12:58:42 +03:00