Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v6
with:
submodules: recursive

- name: Manage Version
run: |
git fetch --prune --unshallow --tags
git fetch --prune --unshallow --tags --no-recurse-submodules
echo "CUR_TAG=$(git tag -l | tail -1)" >> $GITHUB_ENV
echo "GIT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

Expand All @@ -30,6 +32,10 @@ jobs:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1

- name: Fix OpenCorePkg Macro
run: |
sed -i '' 's|///#define OC_PLATFORM_NVRAM_CONFIG_FIELDS|#define OC_PLATFORM_NVRAM_CONFIG_FIELDS|g' OpenCorePkg/Include/Acidanthera/Library/OcConfigurationLib.h

- name: Build Clover Pack
run: |
chmod +x ./buildme
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ RELEASE_*/
# Local debug files
bin/
DEBUG_REPORT.md

# Build logs
*.log
CloverPackage/*.log
build_failure.log
buildme_run.log
8 changes: 4 additions & 4 deletions Clover.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,11 @@
}
OpenCorePkg/Library/OcVariableLib/OcVariableLib.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG) -Wno-error
}
OpenCorePkg/Library/OcMainLib/OcMainLibClover.inf {
<BuildOptions>
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG)
*_*_*_CC_FLAGS = $(OC_INCLUDE_FLAG) -Wno-error
}


Expand Down Expand Up @@ -1050,7 +1050,7 @@ DEFINE BUILD_OPTIONS=-DIS_UEFI_MODULE -DMDEPKG_NDEBUG -DCLOVER_BUILD -DLESS_DEBU

XCODE:*_*_*_CC_FLAGS = -std=c11 -fno-unwind-tables $(BUILD_OPTIONS) $(XLTO_FLAG)
XCODE:*_*_*_CXX_FLAGS = -std=c++11 -fno-unwind-tables $(BUILD_OPTIONS) $(XLTO_FLAG)
GCC:*_*_*_CC_FLAGS = -std=c11 $(BUILD_OPTIONS) $(LTO_FLAG)
GCC:*_*_*_CXX_FLAGS = -std=c++11 $(BUILD_OPTIONS) $(LTO_FLAG)
GCC:*_*_*_CC_FLAGS = -std=c11 $(BUILD_OPTIONS) $(LTO_FLAG) -Wno-error
GCC:*_*_*_CXX_FLAGS = -std=c++11 $(BUILD_OPTIONS) $(LTO_FLAG) -Wno-error
#-fanalyzer -Wmismatched-tags
#-Weffc++
4 changes: 2 additions & 2 deletions CloverPackage/package/po/clover.pot
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Clover r5164\n"
"POT-Creation-Date: 2025-11-07 20:08+0300\n"
"Project-Id-Version: Clover r5166\n"
"POT-Creation-Date: 2026-01-09 22:52-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand Down
1 change: 1 addition & 0 deletions rEFIt_UEFI/Platform/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -2380,6 +2380,7 @@ class SETTINGS_DATA {
// XBool AppleXcpmCfgLock = false;
XBool AppleXcpmExtraMsrs = false;
XBool AppleXcpmForceBoost = false;
XBool ClearTaskSwitchBit = false;
// XBool CustomSmbiosGuid = false;
XBool DisableIoMapper = false;
XBool DisableIoMapperMapping = false;
Expand Down
8 changes: 7 additions & 1 deletion rEFIt_UEFI/Settings/ConfigPlist/Config_Quirks.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class Quirks_Class : public XmlDict {
public:
XmlBool AppleXcpmExtraMsrs = XmlBool();
XmlBool AppleXcpmForceBoost = XmlBool();
XmlBool ClearTaskSwitchBit = XmlBool();
XmlBool DisableIoMapper = XmlBool();
XmlBool DisableIoMapperMapping = XmlBool();
XmlBool DisableLinkeditJettison = XmlBool();
Expand All @@ -86,6 +87,10 @@ class Quirks_Class : public XmlDict {
return AppleXcpmForceBoost.isDefined() ? AppleXcpmForceBoost.value()
: AppleXcpmForceBoost.nullValue;
};
XBool dgetClearTaskSwitchBit() const {
return ClearTaskSwitchBit.isDefined() ? ClearTaskSwitchBit.value()
: ClearTaskSwitchBit.nullValue;
};
XBool dgetDisableIoMapper() const {
return DisableIoMapper.isDefined() ? DisableIoMapper.value()
: DisableIoMapper.nullValue;
Expand Down Expand Up @@ -281,7 +286,7 @@ class Quirks_Class : public XmlDict {
OcKernelQuirks_Class OcKernelQuirks;
OcBooterQuirks_Class OcBooterQuirks;

XmlDictField m_fields[38] = {
XmlDictField m_fields[39] = {
{"AvoidRuntimeDefrag", OcBooterQuirks.AvoidRuntimeDefrag},
{"DevirtualiseMmio", OcBooterQuirks.DevirtualiseMmio},
{"DisableSingleUser", OcBooterQuirks.DisableSingleUser},
Expand All @@ -308,6 +313,7 @@ class Quirks_Class : public XmlDict {
{"KernelCache", KernelCache},
{"AppleXcpmExtraMsrs", OcKernelQuirks.AppleXcpmExtraMsrs},
{"AppleXcpmForceBoost", OcKernelQuirks.AppleXcpmForceBoost},
{"ClearTaskSwitchBit", OcKernelQuirks.ClearTaskSwitchBit},
{"DisableIoMapper", OcKernelQuirks.DisableIoMapper},
{"DisableIoMapperMapping", OcKernelQuirks.DisableIoMapperMapping},
{"DisableLinkeditJettison", OcKernelQuirks.DisableLinkeditJettison},
Expand Down
10 changes: 6 additions & 4 deletions rEFIt_UEFI/refit/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -833,10 +833,10 @@ void debugStartImageWithOC() {
XStringW devicePathToLookFor;
// devicePathToLookFor.takeValueFrom("PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0x0,0x0)/HD(4,GPT,CA224585-830E-4274-5826-1ACB6DA08A4E,0x299F000,0x4AE6310)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,1ABE434C8D0357398516CFDF0A9DD7EF)");
// // Jief High Sierra DevicePath
devicePathToLookFor
.takeValueFrom("PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0x0,0x0)/"
"HD(2,GPT,D8C7DA82-1E4C-4579-BA7C-6737A5D43464,0x64028,"
"0x1BF08E8)"); // Jief Big Sur Install device path
devicePathToLookFor.takeValueFrom(
"PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0x0,0x0)/"
"HD(2,GPT,D8C7DA82-1E4C-4579-BA7C-6737A5D43464,0x64028,"
"0x1BF08E8)"); // Jief Big Sur Install device path
UINTN HandleCount = 0;
EFI_HANDLE *Handles = NULL;
Status =
Expand Down Expand Up @@ -1303,6 +1303,8 @@ void LOADER_ENTRY::StartLoader() {
gSettings.Quirks.OcKernelQuirks.AppleXcpmExtraMsrs;
mOpenCoreConfiguration.Kernel.Quirks.AppleXcpmForceBoost =
gSettings.Quirks.OcKernelQuirks.AppleXcpmForceBoost;
mOpenCoreConfiguration.Kernel.Quirks.ClearTaskSwitchBit =
gSettings.Quirks.OcKernelQuirks.ClearTaskSwitchBit;
#ifndef USE_OC_SECTION_PlatformInfo
mOpenCoreConfiguration.Kernel.Quirks.CustomSmbiosGuid =
gSettings.KernelAndKextPatches.KPDELLSMBIOS;
Expand Down
Loading