arch: add powerpc64 support

This commit is contained in:
Amaan Qureshi 2026-04-16 18:23:22 -04:00
commit 03e6d1f4cf
No known key found for this signature in database
5 changed files with 280 additions and 11 deletions

View file

@ -148,6 +148,7 @@ fn get_cpu_freq_mhz() -> Option<u32> {
b"cpu MHz dynamic",
b"cpu MHz static",
b"CPU MHz",
b"clock",
] {
if let Some(val) = extract_field(data, key) {
// Parse integer part of the MHz value (e.g. "5200.00" -> 5200)