Commit Graph

56 Commits

Author SHA1 Message Date
SergeySlice
7cc41845a5 edk2 commit fdfbf1fda
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-07-01 19:40:42 +03:00
SergeySlice
8fc250a95c reconsideration of USB protocol
revert UUID endianess to traitional

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-05-07 17:03:25 +03:00
Sergey Isakov
777e694713 some fixes for MSFT
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2022-04-30 18:22:35 +03:00
jief666
1ea4700bd6 Replace EFI_GUID by a class EFI_GUID. 2022-04-26 00:55:56 +02:00
SergeySlice
0395c93a0c testing xcode5 toolset
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-12 12:17:26 +03:00
SergeySlice
0d7169a5cd update standards
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-02-07 20:01:31 +03:00
SergeySlice
80a7bd0b7a some style check
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2022-01-25 20:07:33 +03:00
Sergey Isakov
b65ace3b58 VS2017 compatibility
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2022-01-23 19:12:22 +03:00
SergeySlice
fbd1d0fbc9 MdePkg Cpuid.h: Define CPUID.(EAX=7,ECX=0):EDX[30], as in EDK2
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-27 20:47:58 +03:00
SergeySlice
b1f5fef43e Fix ACPI memory aggregator/device type mismatch, as in EDK2
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2021-11-27 20:38:11 +03:00
jief666
ab67345877 New definition in MdePkg. 2021-10-29 21:40:22 +02:00
jief666
c9794ad85d Create union for uint32 signature with SignatureAs4Char. Useful in gdb. 2021-09-25 13:11:54 +03:00
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