I'm looking at adding more complete support for different sparc32
CPUs, MMUs, cache controllers and systems.
Each CPU/MMU/cache controller combination is slightly different and
requires its own unique state. For example the two CPUs currently
supported save the boot mode in different bits in the MMU control
register: 0x2000 for the SuperSparc and 0x4000 for the TurboSparc.
Others bits will need to be saved in the MMU and cache controllers
as better hardware emulation is added.
It looks like other architectures handle this by computing hflags
in the target directories but sparc determines the flags value to save
in common code.
Are there plans to add hflags support to sparc? I'm willing work
on it but I don't have the experience yet to tackle a job like this
without help.