Source-Changes archive

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

CVS commit: src/sys/arch



Module Name:    src
Committed By:   thorpej
Date:           Sun Apr  5 14:58:16 UTC 2026

Modified Files:
        src/sys/arch/amiga/amiga: machdep.c
        src/sys/arch/atari/atari: machdep.c
        src/sys/arch/m68k/m68k: m68k_machdep.c
        src/sys/arch/mvme68k/mvme68k: machdep.c
        src/sys/arch/next68k/next68k: machdep.c
        src/sys/arch/sun68k/include: types.h
        src/sys/arch/virt68k/virt68k: machdep.c

Log Message:
Centralize the declaration of msgbufpa.  Not all m68k platforms use this,
but it's part of forthcoming unification changes, and does no harm in
the meantime.

As part of this, a hook for Sun platforms (__HAVE_M68K_PRIVATE_MSGSBUF)
is provided to handle the scenario somewhat unique to Sun2, but where
the pattern is also present in Sun3/Sun3x -- On Sun2, PROM mappings of
4 (2K) pages are used for the message buffer, and there is technically
no guarantee that those pages will be physically contiguous.  Instead,
the existing PageMap entries are fixed up during VM bootstrap to ensure
that the permissions are correct, but the existing VA->PA mappings
remain.

This PageMap treatment is also done on Sun3, although since the Sun3
page size is 8K, only one page is used.  Similarly, on Sun3x, we just
use the first physical (8K) page and create our own mapping for it.
However, it's easiest just to treat all the Sun platforms the same
and embrace the lovable little oddballs that they are.


To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/sys/arch/amiga/amiga/machdep.c
cvs rdiff -u -r1.201 -r1.202 src/sys/arch/atari/atari/machdep.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/m68k/m68k/m68k_machdep.c
cvs rdiff -u -r1.184 -r1.185 src/sys/arch/mvme68k/mvme68k/machdep.c
cvs rdiff -u -r1.135 -r1.136 src/sys/arch/next68k/next68k/machdep.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/sun68k/include/types.h
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/virt68k/virt68k/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