145 Commits

Author SHA1 Message Date
netanelc305
cdaf9a2302
OcCpuLib: Add TSC frequency calculation for xen hypervisor (#521) 2024-01-21 16:46:31 +03:00
Alex James
fe5fc3320b
OcCpuLib: Fix cpu-type detection on Raptor Lake (#518) 2024-01-06 14:56:52 +03:00
John Davis
5ce824b291 OcCpuLib: Fix CPU frequency calculation on AMD 0Fh family 2024-01-04 22:52:32 -06:00
John Davis
b585ba824b OcCpuLib: Fix CPU frequency calculation on AMD 10h family 2023-12-30 22:37:48 -06:00
John Davis
1d5b1736fe OcCpuLib: Fix previous commit 2023-08-28 18:30:43 -05:00
John Davis
fa08f7e7bf OcCpuLib: Fallback to DUET on AMD with invalid PM timer address 2023-08-28 18:23:55 -05:00
John Davis
34496a047d OcCpuLib: Fix ACPI HOB size check 2023-07-09 10:28:41 -05:00
John Davis
fcc28d70c0 OcCpuLib: Get PM timer address from OpenDuet for non-Intel chipsets 2023-07-08 20:58:49 -05:00
John Davis
dc5165b660 OcCpuLib: Fix incorrect core count and ACPI timer on Silvermont
Closes https://github.com/acidanthera/bugtracker/issues/2062 and https://github.com/acidanthera/bugtracker/issues/1643
2023-07-06 23:06:39 -05:00
vit9696
d25ec52b22 OcCpuLib: Fix crash when gathering system report on virtualised CPUs
closes acidanthera/bugtracker#2270
2023-05-07 17:47:06 +03:00
Savva Mitrofanov
b2d438d6f3 Switch OcGuardLib to BaseOverflowLib 2023-04-13 13:16:14 +06:00
Mike Beaton
b34b7c48f2 Various: Add missing .inf dependencies 2023-02-25 19:37:27 +03:00
Savva Mitrofanov
202735d898 OcCpuLib: Rename CpuidVerEcx NotUsed field
Due to changed CPUID_VERSION_INFO_ECX structure, field NotUsed was
renamed to ParaVirtualized
2022-12-09 14:42:45 +06:00
Mike Beaton
06fe0d63a2 OcCpuLib: Cache InternalCalculateARTFrequencyIntel failure to avoid log loop 2022-10-25 08:44:05 +01:00
John Davis
8425dbaa92 OcCpuLib: Fixed crash while using SysReport on Pentium 4 systems
MSRs MSR_IA32_EXT_CONFIG and MSR_CORE_FSB_FREQ are not supported on P4 platforms, limiting to Yonah and newer only
2022-08-24 21:14:03 -05:00
vit9696
c75d74bbda Build: Fix Uncrustify warnings 2022-05-28 14:09:52 +03:00
John Davis
65569b6590 Added PIIX4 ACPI PM timer detection for TSC calculations 2022-05-26 20:57:00 -05:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
MikeBeaton
9d5fc5f4f7 OcCpuLib: Add EnableVmx UEFI quirk 2021-11-28 19:38:28 +00:00
vit9696
4073b8afae OcCpuLib: Fix processor generation 2021-11-11 14:23:15 +03:00
vit9696
13af8ec14a OcCpuLib: Fixed Alder Lake SMBIOS CPU model information 2021-11-11 01:03:12 +03:00
vit9696
8825c2b329 OcCpuLib: Fix core count detection for Pentium 4 541
closes acidanthera/bugtracker#1783
2021-09-12 06:20:05 +03:00
vit9696
072b705d3a OcCpuLib: Print Max CPUIDs 2021-09-12 01:44:29 +03:00
Marvin Häuser
30980b6691 OC: Introduce "ForceOcWriteFlash" quirk to mitigate memory corruption 2021-09-05 21:02:16 +02:00
PMheart
321c6c4a2b OcDeviceMiscLib: Add MSR prefix to IA32_MISC_ENABLE 2021-06-21 10:52:25 +08:00
PMheart
7b8cd22549 OcCpuLib: Read IA32 MSRs only on PrePenryn and above 2021-06-20 08:32:42 +08:00
PMheart
d65378c1d2 OcCpuLib: Only read MSR_PKG_POWER_INFO on SNB+ 2021-06-13 08:36:58 +08:00
PMheart
92875adce0 OcCpuLib: Dump other info for non-Intel machines 2021-06-12 11:36:24 +08:00
PMheart
25c249a68f OcDeviceMiscLib: Code optimisations for CPU info dump 2021-06-12 11:08:55 +08:00
PMheart
fded511423
OpenCore: Add CPU Info (MSRs) to SysReport (#267) 2021-06-11 14:40:31 +08:00
vit9696
5c7d61f416 OcCpuLib: Fixed core detection crashes on Intel Silvermont 2021-05-17 11:21:18 +03:00
vit9696
717ce18861 OcCpuLib: Fix FSB frequency calculation on Bonnel CPUs 2021-04-05 19:20:24 +03:00
Goldfish64
6dcabf08e9 OcCpuLib: Fix incorrect identification of Xeon E5 and W CPUs 2021-04-04 13:09:31 -05:00
vit9696
afc7a72041 OcCpuLib: Added identifiers for Rocket Lake and Tiger Lake CPUs 2021-04-02 00:50:30 +03:00
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
vit9696
a2dbd20724 OcCpuLib: Fix typo in MCP name 2021-03-28 17:22:26 +03:00
vit9696
ca70ea975a OcCpuLib: Improve CPU frequency detection on nForce MPC79
closes acidanthera/bugtracker#1576
2021-03-28 17:12:18 +03:00
Marvin Häuser
9452be4b7e OpenCanopy: Move absolute pointer querying to timed event
Removes pointer update concurrency and absolute pointer input lag.
2021-03-20 19:42:08 +01:00
Marvin Häuser
31129295c3 OcCpuLib: Initial import of OcAtomicPreIncUint8 2021-03-19 22:46:09 +01:00
vit9696
7252f2553f OcCpuLib: Fix frequency rounding for Core 2 Duo P8600 2021-03-13 01:31:40 +03:00
vit9696
5a69caa7e0 OcCpuLib: Implement Apple nForce CPU frequency reading 2021-03-13 01:12:43 +03:00
vit9696
6f914f98be Utilities: Let CPU decoder be tested externally 2021-03-12 23:24:29 +03:00
PMheart
ca8046be27
OcCpuLib: Implement TSC frequency reading from Apple Platform Info (#233) 2021-03-12 19:26:23 +08:00
vit9696
f71a3357c9 OcCpuLib: Fix Prescott regression introduced in previous commit 2021-02-26 01:28:26 +03:00
vit9696
8e90a2f007 OcCpuLib: Fixed showing core count for some AMD CPUs 2021-02-25 19:45:38 +03:00
vit9696
e2f219e075 OcCpuLib: Fixed FSBFrequency calculation with fractional multiplier
closes acidanthera/bugtracker#1529
2021-02-25 19:45:38 +03:00
vit9696
9f4387dd64 Build: Fix user utilities compilation 2021-02-14 01:30:29 +03:00
vit9696
a62cdf2e26 OcCpuLib: Implement ASM CPU frequency calculation for HSW and lower 2021-02-14 01:17:09 +03:00
Mykola Grymalyuk
1ae9bb0068 Add AMD 19h support 2020-11-15 21:20:51 -07:00
Goldfish64
a049687ed7 OcCpuLib: Add compatibility for Bonnell Atom CPUs 2020-10-20 18:07:21 -05:00