What version of exec is your patch based on?
The original 3.1 of course. I was in a friendly race with Piru to come up with fixes and features for it. I don't think he incorporated my subroutine call twists, and I'm also a bit of a purist so I changed many macro and local calls to use the APIs.
Apart from the 060 stuff I think Piru has all the goodies you can wish for.
Ah, I found the code - nearly the last thing before the fpu testing (just 2 more instructions before it)
********
**
** Manually turn off MMU! Needs real mmu...
**
********
moveq #0,d1
movec d1,TC
;
; Do the 68060 test - PCR register does not exist on other CPUs
;
bset #AFB_68060,d0 ; guess at 060
cs_Test060
movec PCR,d1 ; flunks if 040 and clears the 060 bit
cs_Test060done
btst #AFB_68060,d0
beq cs_Not040
and.l #2,d1
cmp.w #2,d1
beq cs_Not040
FNOP
movec d1,PCR ; clear some odd bit
cs_Not040