HomeFreeBSD

Query MVPConf0.PVPE for number of CPUs.

Description

Query MVPConf0.PVPE for number of CPUs.

Rather than hard-coding the number of CPUs to 2, look up the PVPE field
in MVPConf0, as the valid VPE numbers are from 0 to PVPE inclusive.

Submitted by: "James Clarke" <jrtc4@cam.ac.uk>
Reviewed by: br
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D16644

Details

Provenance
brAuthored on
Reviewer
br
Differential Revision
D16644: MALTA: Query MVPConf0.PVPE for number of CPUs
Parents
rS337770: Fix typo.
Branches
Unknown
Tags
Unknown