385 Commits

Author SHA1 Message Date
Download-Fritz
7390f78869 OcAppleKeyMapLib: Reduce the amount of protocol calls 2019-11-03 15:43:59 +01:00
Download-Fritz
4a023f0817 TestsUser: Fix DEBUG_BULK_INFO usage 2019-11-03 12:22:06 +01:00
Download-Fritz
21371a5ffb OcMemoryLib: Update AllocatePagesFromTop's spec and conformance 2019-11-03 11:58:20 +01:00
Download-Fritz
156cb7c586 Various type and cast fixes 2019-11-02 23:16:33 +01:00
Leoyzen
d65c11fef8 OcCpuLib: Add hypervisor CPUID support to work with virtualization (#17) 2019-10-30 11:41:40 +03:00
Download-Fritz
a8c208434d OcGuardLib: Use _Static_assert for Clang on Windows 2019-10-27 11:38:49 +01:00
Nikolai SAOUKH
b26f90f912 OcSupportPkg: _MSC_EXTENTIONS is not the indication of msvc compiler 2019-10-26 14:27:34 +03:00
vit9696
b999a14cb0 OcBootManagementLib: Add title suffix support to boot picker 2019-10-24 18:31:26 +03:00
vit9696
afd7d7f305 OcConsoleLib: Make reconnection optional on resolution change 2019-10-24 00:36:15 +03:00
vit9696
73db7004ff OcConsoleLib: Factor cursor hiding into a separate API 2019-10-23 18:43:54 +03:00
vit9696
5e0f400c69 OcAppleKernelLib: Add PowerTimeoutKernelPanic option 2019-10-17 11:42:28 +03:00
vit9696
8fee6e67ec OcConfigurationLib: Move MmioWhitelist and improve its debugging 2019-10-14 09:46:26 +03:00
vit9696
62d88996df OcAppleBootCompatLib: Implement MmioWhitelist 2019-10-12 22:40:30 +03:00
Download-Fritz
514f9b92ba OcInputLib: Fix KeySwap functionality 2019-10-07 09:35:56 +02:00
Download-Fritz
550c934927 OcCpuLib: Expose TSC frequency retrieval API
Fixes https://github.com/acidanthera/bugtracker/issues/476
2019-10-05 12:05:38 +02:00
Download-Fritz
f2a92fff9b OcBootManagementLib: Initial privilege/password support 2019-09-28 16:00:41 +02:00
Download-Fritz
eedf63f106 OcInputLib: Initial import 2019-09-28 15:33:57 +02:00
vit9696
2e5eaea326 OcConfigurationLib: Fix ordering in tools entry 2019-09-25 19:44:00 +03:00
vit9696
5c59effb9f OcBootManagementLib: Added Arguments to Tools and Entries sections 2019-09-25 18:22:22 +03:00
vit9696
c1119818ce OcConfigurationLib: Use MinKerne/MaxKernel instead of MatchKernel 2019-09-25 13:49:30 +03:00
Download-Fritz
d1c565a246 OcCryptoLib: Import secure memory comparison and password verification APIs 2019-09-10 08:30:57 +02:00
Download-Fritz
cd0cbc8140 OcCryptoLib: Mark Data as CONST for SHA256 2019-09-07 14:36:14 +02:00
Download-Fritz
0c6cae416d AppleSecureBootLib: Use caller-provided policy settings 2019-09-07 14:35:42 +02:00
yourmother
aed0074aa2 OcCryptoLib: Sha2. Fix parameter declarator in function prototype 2019-09-04 23:27:45 +03:00
yourmother
1744d9600d OcCryptoLib: Sha2
Solve problem with big memory blocks
2019-09-04 21:46:13 +03:00
yourmother
887aed4928 OcCryptoLib: Sha2
Add note regarding int overflow and mem limit
2019-09-04 20:28:43 +03:00
yourmother
0b16565c18 OcCryptoLib: Sha2
Add Sha384 implementation
2019-09-04 20:21:58 +03:00
yourmother
71e07f14c6 Switch from single sha-256 implementation to sha-2 family of hashing algorithms
Add Sha512 implementation
2019-09-04 19:40:39 +03:00
Download-Fritz
b7f0f60701 OcBootManagementLib: Support system boot entries for "Reset NVRAM" 2019-09-03 19:10:11 +02:00
vit9696
be2300f445 OcAppleBootCompatLib: Add support for DisableSingleUser quirk 2019-09-02 11:21:37 +03:00
vit9696
95a0166f58 OcBootManagementLib: Add support for more combinations 2019-09-02 02:57:08 +03:00
vit9696
7e9967181e OcConfigurationLib: Add entries for AllowNvramReset and PollAppleHotKeys 2019-09-02 02:55:21 +03:00
vit9696
96e02f4007 OcDebugLogLib: Update WaitForIndex contract 2019-09-02 02:50:16 +03:00
vit9696
8fe7bef825 OcBootManagement: Support OPT and CMD+R with picker 2019-09-01 22:33:14 +03:00
Download-Fritz
3e2e480cb9 OcAppleKeysLib: Import the Apple X86 Secure Boot Root CA 2019-09-01 15:50:24 +02:00
vit9696
f07f383e4c OcBootManagementLib: Add NTFS and EXT partition types 2019-08-31 23:35:32 +03:00
vit9696
1a22ae71b2 OcCpuLib: Minor debug improvements, closes #11 2019-08-31 22:43:21 +03:00
vit9696
992589931a OcAppleKernelLib: Add patcher comments and enable them for common patches 2019-08-31 22:33:09 +03:00
vit9696
d76463017d OcConfigurationLib: Add protocols for FV2 2019-08-31 12:11:11 +03:00
Download-Fritz
063d984f4b OcAppleKeyMapLib: Split Aggregator and DB functions 2019-08-29 18:45:27 +02:00
Download-Fritz
8299c889e2 OcAppleKeyMapLib and OcAppleEventLib: Initial import 2019-08-29 18:05:46 +02:00
vit9696
ea27502f5b OcAppleBootCompatLib: Implement DevirtualiseMmio 2019-08-29 13:39:25 +03:00
Download-Fritz
4917e8d73e OcGuardLib: Introduce OC_ALIGNOF and deprecate OC_ALIGNED 2019-08-28 15:37:55 +02:00
mrmiller
05479f6721 OcAppleKernelLib: Added patch for MSR MISC_PWR_MGMT (1AAh) (#12) 2019-08-27 10:32:51 +03:00
vit9696
ef39b29bb8 OcTimerLib: Add PMC detection, which is absent on B360 2019-08-22 14:41:50 +03:00
vit9696
1afdc06b5b OcTimerLib: Move OcGetPmTimerAddr to OcCpuLib 2019-08-22 13:21:50 +03:00
vit9696
fdbb6ed367 OcTimerLib: Implement B360/Z390 timer lookup
Closes acidanthera/bugtracker#465
2019-08-21 22:03:01 +03:00
Michael Belyaev
958ed863ae Add ClearScreenOnModeSwitch and ReplaceTabWithSpace UEFI quirks 2019-08-21 14:24:54 +03:00
vit9696
2657d54cb9 OcDataHubLib: Specify non 24 MHz ARTFrequency to macOS 2019-08-20 14:48:26 +03:00
M. R. Miller
5ce54f3a0f New procedure for determining the core crystal clock frequency:
1. Try obtaining crystal clock frequency from CPUID_TIME_STAMP_COUNTER (15h) leaf from ECX.
  2. On failure, take predefined values for known processor models.
  3. On failure, check for CPUID_PROCESSOR_FREQUENCY availability and divide by the TSC ratio.
  4. On failure, assume 24 MHz.

Added info about the highest supported leaf (OC_CPU_INFO::MaxId).
Fixed a few places which were incorrectly comparing standard CPUID leaves against the maximum extended function leaf (OC_CPU_INFO::MaxExtId).
Add a warning in case the TSC- and ART-derived frequency calculations are wildly different.
2019-08-20 14:11:48 +03:00