diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-11-11 16:07:06 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-11-11 16:07:06 +0000 |
commit | 4705576f844f536cdf46d581d4d1ad8776aaa4e9 (patch) | |
tree | 518e67fb33270e2d71dd39250ea8d3c40b60ec04 /sys/src/cmd/cpp/cpp.c | |
parent | 44c0e7259800885d0028d8c5352f6760f670132b (diff) |
bcm64, imx8: provide more flexible MPIDR_EL1 CPUID to machno mapping
Handle the mapping from MPIDR_EL1 to machno with a
mpidindex() function, that uses a new MPIDMASK
constant from mem.h that signifies the cpuid bits.
This way, other affinity arrangements can be supported
by just changing the MPIDMASK constant.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.c')
0 files changed, 0 insertions, 0 deletions