]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update the parsing of the cpu node. We are unable to use the reg property
authorandrew <andrew@FreeBSD.org>
Wed, 21 Jan 2015 16:52:24 +0000 (16:52 +0000)
committerandrew <andrew@FreeBSD.org>
Wed, 21 Jan 2015 16:52:24 +0000 (16:52 +0000)
commit68577bf3539672355648bd07058d38b648e0ee09
treeb023752c44ce2dc0370eaf90fe5cf8439cf7f587
parent4721e5b10a6394debc054efdb295af2478d19b08
Update the parsing of the cpu node. We are unable to use the reg property
as the cpu id on arm64 as it may use two cells. In it's place we can use
the device id.

It is expected we will use the reg data on arm64 to enable cores so we
still need to read and store it even if it is not yet used.

Differential Revision: https://reviews.freebsd.org/D1555
Reviewed by: nwhitehorn
Sponsored by: The FreeBSD Foundation
sys/dev/ofw/ofw_cpu.c