Commit Graph

44 Commits

Author SHA1 Message Date
jief666
9098b56bdf Make OC 0.7.3 compile as a library for Clover. It compiles, doesn't mean
it's
working !
Imported some new definition in MdePkg.
Add RegisterFilterLibNull and MdeLibs.dsc.inc.
Set PcdDebugPropertyMask to UINT8.
2021-09-23 13:36:41 +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
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
d54fc63747 new folder PosixCompilation. Ressources to compile Clover as a mac
application, for unit tests.
2021-04-03 13:55:25 +03:00
jief666
95be95c531 Reactivate warnings.
Clean warnings reactivated.
Clean build flags in the 4 configurations to make RELEASE_XCODE8 works
in QEMU.
2021-02-10 15:32:07 +03:00
jief666
1a02f530db Refactoring to allow Clover to be compiled as a macOs app. 2021-02-06 20:16:46 +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
jief666
b8a188382c Make Clover path independent. 2020-10-03 20:02:31 +03:00
jief666
48cdadb0b2 Fix bug where StartLoader cannot find kexts.
First implementation of Self object.
2020-09-28 18:57:50 +03:00
jief666
29bdb1bdcd SmUUID wasn't injected if smbios info were in smbios.plist. 2020-09-23 16:47:47 +03:00
jief666
8ccee7054f 1st experiment to use OpenCore to boot Big Sur installer. 2020-09-07 01:19:48 +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
ffec5b89c1 StrnCpy must create null-terminating string
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-12 09:01:46 +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
af28b47c72 Refactor BootOptions as XStringArray. 2020-04-26 16:07:30 +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
Sergey Isakov
f7436dffb9 some EDK2 fixes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-20 19:42:43 +03:00
SergeySlice
8dc45f00d0 exclude other processors definitions
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-19 21:48:00 +03:00
Jief L
14cdfe29c7 MemLogf and MemLogfVA. Not used yet in Clover. 2020-03-21 16:12:26 +03:00
Sergey Isakov
cf70d0a267 cant use enum in packed structure
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:06:01 +03:00
Jief L
8199d9b75c Remove unecessary cast. Some cleanups. 2020-02-22 00:22:30 +03:00
Jief L
82aaf09e74 VC2017 compilation 2020-02-21 12:44:15 +03:00
Jief L
241a55ce69 Fixing some CONST. 2020-02-21 08:22:09 +03:00
Sergey Isakov
eb26300fd6 some more fixes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-21 06:54:01 +03:00
Sergey Isakov
f8098a8336 some adoptation to VS2017
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 15:53:27 +03:00
Sergey Isakov
eb938ce184 improved cbuild.bat
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 11:57:10 +03:00
jief
7fa464fde0 Final switch to C++ compiler 2020-02-17 23:41:09 +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
dd079d4a9f fix random flub
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-14 21:51:51 +03:00
Sergey Isakov
82347b1e8d use own implementation for CopyMem and SetMem instead of BIOS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-14 07:15:10 +03:00
Sergey Isakov
d49c68ae80 check for zero size allocation 2019-09-19 22:14:57 +03:00
Sergey Isakov
14a7206c5b some fighting with idiotic ASSERTs
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-15 21:27:19 +03:00
Sergey Isakov
f621fbf2c0 exclude unused SourceLen
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-15 07:42:33 +03:00
Sergey Isakov
f76a8c3019 fix memory allocation for legacy Clover
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-14 19:30:51 +03:00
Sergey Isakov
0a8c146676 system libraries shouldnt dereference null pointer in RELEASE compilation
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-13 13:27:37 +03:00
Sergey Isakov
f45e1fdb5c some security checks
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 15:57:15 +03:00
Sergey Isakov
a355a5dad4 fix errors in MemoryAllocationLib
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-12 11:37:56 +03:00
Sergey Isakov
0f4d209cf2 modified build rules
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-05 12:00:45 +03:00
Sergey Isakov
15dada20e6 sync sources wuth new edk2
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-04 13:44:38 +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