Merge pull request #7924 from claui/hardware_cpu_armv83a
Add CPU family ARMv8.3-A
This commit is contained in:
commit
99aee97856
@ -21,8 +21,6 @@ module Hardware
|
|||||||
end
|
end
|
||||||
|
|
||||||
def family
|
def family
|
||||||
return :dunno if arm?
|
|
||||||
|
|
||||||
case sysctl_int("hw.cpufamily")
|
case sysctl_int("hw.cpufamily")
|
||||||
when 0x73d67300 # Yonah: Core Solo/Duo
|
when 0x73d67300 # Yonah: Core Solo/Duo
|
||||||
:core
|
:core
|
||||||
@ -48,6 +46,8 @@ module Hardware
|
|||||||
:kabylake
|
:kabylake
|
||||||
when 0x38435547 # Ice Lake
|
when 0x38435547 # Ice Lake
|
||||||
:icelake
|
:icelake
|
||||||
|
when 0x07d34b9f # ARMv8.3-A (Vortex, Tempest)
|
||||||
|
:arm_vortex_tempest
|
||||||
else
|
else
|
||||||
:dunno
|
:dunno
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user