Skip to content

Conversation

@hnanoto
Copy link
Contributor

@hnanoto hnanoto commented Jan 13, 2026

This PR integrates the ClearTaskSwitchBit kernel quirk from OpenCore into Clover and updates the OpenCorePkg submodule to the latest compatible version.

Changes:

  1. Kernel Quirk: Implemented ClearTaskSwitchBit in Config_Quirks.h and Settings.h.
    • This quirk is essential for stability on certain AMD CPUs (e.g., Ryzen) and virtualization scenarios where the Task Switch bit (CR0) must be cleared.
  2. OpenCorePkg Update: Synced the submodule to commit 7140879 (Merge pull request Clover USB 3.0 ports not working (still waiting for root device) #11 from hnanoto/master).
    • Brings in new CPU Definitions (AMD 1Ah) and updated library headers.
  3. CI & Build Fixes:
    • Fixed a macro syntax error in OcConfigurationLib.h (via workflow patch) to allow compilation.
    • Updated GitHub Actions workflow to use --no-recurse-submodules during fetch, fixing build failures related to historical submodule references.

Verification:

  • Build: Compiles successfully with GCC 15.2 on GitHub Actions (CI is Green).
  • Artifacts: Bootloader binary generated successfully.

Please review and merge. Thanks!

@stevezhengshiqi
Copy link
Contributor

Build logs (CloverPackage/mpkg.log, build.log, etc.) should be disregarded. Suggest to add them in .gitignore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants