vit9696 d1d55ff402 OcCpuLib: Read max multiplier correctly on pre-Nehalem Intel CPUs
This MSR is actually documented today and is apparently read
incorrectly by lots of software. They inspect the current multiplier,
not the max one. This mistake resulted in hardware starting with
reduced multiplier (e.g. 6.5 instead of 8.5 in MacBook5,2) to report
wrong frequency.
2021-03-28 21:29:49 +03:00
2021-03-20 15:48:25 +03:00
2021-03-28 17:22:26 +03:00
2020-10-27 19:48:52 -05:00
2021-02-18 19:00:48 +08:00
2021-03-28 17:52:51 +03:00
2020-05-17 14:28:41 +03:00

Build Status Scan Status

OpenCore bootloader with development SDK.

Discussion

Libraries

This repository also contains additional UEFI support common libraries shared by other projects in Acidanthera. The primary purpose of the library set is to provide supplemental functionality for Apple-specific UEFI drivers. Key features:

  • Apple disk image loading support
  • Apple keyboard input aggregation
  • Apple PE image signature verification
  • Apple UEFI secure boot supplemental code
  • Audio management with screen reading support
  • Basic ACPI and SMBIOS manipulation
  • CPU information gathering with timer support
  • Cryptographic primitives (SHA-256, RSA, etc.)
  • Decompression primitives (zlib, lzss, lzvn, etc.)
  • Helper code for ACPI reads and modifications
  • Higher level abstractions for files, strings, UEFI variables
  • Overflow checking arithmetics
  • PE image loading with no UEFI Secure Boot conflict
  • Plist configuration format parsing
  • PNG image manipulation
  • Text output and graphics output implementations
  • XNU kernel driver injection and patch engine

Early history of the codebase could be found in AppleSupportPkg and PicoLib library set by The HermitCrabs Lab.

OcGuardLib

This library implements basic safety features recommended for the use within the project. It implements fast safe integral arithmetics mapping on compiler builtins, type alignment checking, and UBSan runtime, based on NetBSD implementation.

The use of UBSan runtime requires the use of Clang compiler and -fsanitize=undefined argument. Refer to Clang documentation for more details.

Credits

Description
OpenCore bootloader
Readme 345 MiB
Languages
C 95.2%
Assembly 1.9%
Shell 0.9%
Python 0.9%
C++ 0.8%
Other 0.3%