Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/virt68k/virt68k



Module Name:    src
Committed By:   thorpej
Date:           Fri Dec  5 14:17:52 UTC 2025

Modified Files:
        src/sys/arch/virt68k/virt68k: genassym.cf locore.s

Log Message:
Some tidy-up of the MMU-enable code:
- Use defined constants rather than magic numbers for the 68040 %cacr
  and 68060 %cacr and %pcr bits.
- Clean up some comments.
- Use a more robust comparison against mmutype for the 68040-or-68060
  case (and improve the comment, as well).
- Make sure all final jumps to Lmmuenabled are non-PC-relative, and add
  such a jump to the final (68851/68030) case rather than letting it simply
  fall through.  This is in service of making this code sharable as an
  includable code fragment on platforms with different requirements (i.e.
  systems that don't have a VA==PA environment when this code runs).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/virt68k/virt68k/genassym.cf
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/virt68k/virt68k/locore.s

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