Turns out the cores on Apple's M1 SoC only support 8-bit ASIDs.
authorkettenis <kettenis@openbsd.org>
Thu, 4 Mar 2021 18:36:52 +0000 (18:36 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 4 Mar 2021 18:36:52 +0000 (18:36 +0000)
commiteb55967038eb01cc51fa1c1c66965dda70c8cdd4
tree746e32c1104a5e937354e090763b67a680545e08
parent228ea451b077f9d519b55c498184cf588bd765c6
Turns out the cores on Apple's M1 SoC only support 8-bit ASIDs.
Thank you Apple (not)!

Add an initial attempt to support such systems.  This isn't good enough
since the kernel will hang once you create more than 127 processes.
But it makes things work reasonably well until you reach that limit
which is good enough to build things on the machine itself.

ok patrick@
sys/arch/arm64/arm64/pmap.c