Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/news68k/news68k
Module Name: src
Committed By: thorpej
Date: Sat Mar 21 20:19:52 UTC 2026
Modified Files:
src/sys/arch/news68k/news68k: machdep.c
Log Message:
Re-factor m68k FP exception handling:
- Move the FP exception stubs into the shared trap_subr.s. Remove as
many conditionals from the stubs as feasible, having separate stubs
for each case that needs to be handled. This doesn't really result
in any more (or duplicated) code, and makes it all a lot easier to
read.
- All platforms now call the new fpu_init() function, which is renamed
from fpu_probe(), and centralizes all of the FP-related initialization.
Platforms that don't need to probe for the FPU aren't forced to do so;
the probe only occurs if the fputype is FPU_UNKNOWN at the time fpu_init()
is called.
- Even on platforms that don't actually need to probe the FPU, make sure
the "nofault" code is present in trap() to do so; this is meant to reduce
diffs that need to be resolved later then the trap() function is re-factored.
- On Amiga and Atari, remove the bespoke vectab code and just use the shared
vec_init(). Additional cleanup is possible in this area.
(missed this file in larger commit)
To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/sys/arch/news68k/news68k/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index