Turn sp_tlb_flush_{ctx,pte} into function pointers, and pick one out of three
authormiod <miod@openbsd.org>
Sun, 14 Apr 2024 19:08:09 +0000 (19:08 +0000)
committermiod <miod@openbsd.org>
Sun, 14 Apr 2024 19:08:09 +0000 (19:08 +0000)
commitd00b7f603c5fc8ad53b75772b6ba7e4b590fcc51
treeeaca65217411371a22f891e76cd87857396ed972
parentc74702f8a020c6cfd3ae0dbd2b85bf100802950e
Turn sp_tlb_flush_{ctx,pte} into function pointers, and pick one out of three
flavours: pre-usIII, usIII, and sun4v.

This allows us to get rid of the HORRID_III_HACK define in locore and switch
pre-usIII systems to the older, slightly simpler, code for these routines.

ok claudio@ kettenis@
sys/arch/sparc64/include/pte.h
sys/arch/sparc64/sparc64/autoconf.c
sys/arch/sparc64/sparc64/ipifuncs.c
sys/arch/sparc64/sparc64/locore.s