130 Commits

Author SHA1 Message Date
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
Download-Fritz
f10f29004a OcCpuLib: First-gen Atom does not support TURBO_RATIO_LIMIT MSR 2020-10-20 19:56:32 +02:00
Goldfish64
1053e3843f OcCpuLib: Fix incorrect core/thread counts on Pentium M 2020-10-13 20:34:56 -05:00
Goldfish64
1029e98ffc OcCpuLib: Add support for NetBurst models 2020-10-01 19:15:28 -05:00
vit9696
c72e716895 OcCpuLib: Improve SNB-E engineering sample detection
closes acidanthera/bugtracker#1149
2020-09-11 15:14:26 +03:00
Goldfish64
eb74fb9f0d OcCpuLib: Detect extended CPUID features 2020-08-29 21:51:45 -05:00
vit9696
6f4f762354 OcCpuLib: Fixed display name for older Xeon CPUs like Xeon E5450
closes acidanthera/bugtracker#1079
2020-08-08 17:20:45 +03:00
vit9696
87a287f2be OcCpuLib: Fix display name for i9 CPUs like 7920X 2020-08-02 09:39:22 +03:00
vit9696
0e1c134261 OcCpuLib: Fixed FSBFrequency reporting on Meron and similar CPUs 2020-06-28 19:17:48 +03:00
PMheart
c904ab671c
Buid: Migrate all tools to Utilities (#69) 2020-06-05 15:12:33 +03:00
vit9696
d9d4fdbe0b OcCpuLib: Remove SyncrhonizationLib dependency
SyncrhonizationLib requires TimerLib, and our TimerLib requires
OcCpuLib, which results in OcTimerLib constructors being called before
UefiRuntimeServicesTableLib constructors leading to NULL gRT dereference
in OcTimerLibConstructor causing UEFI Shell crashes.
2020-06-01 02:04:46 +03:00
vit9696
bf5cea16f8 Build: Fix IA32 -> Ia32 naming to conform UDK 2020-05-31 05:32:18 +03:00
vit9696
13d019baba Docs: Mention Hyper-V fixes by Goldfish 2020-05-31 05:12:40 +03:00
Goldfish64
4505831e1b OcCpuLib: Provide TSC frequency under Hyper-V 2020-05-30 20:32:25 -05:00
vit9696
bf8e36b7f4 OcCpuLib: Provide basic implementation for TscSyncTimeout 2020-05-30 01:29:52 +03:00
vit9696
f6258a71ce OcCpuLib: Preserve TscAdjust value in CPU context 2020-05-30 00:16:15 +03:00