CVS commit: src/sys/arch/mac68k/mac68k

"Jason R Thorpe" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	thorpej
Date:		Wed May  6 12:46:24 UTC 2026

Modified Files:
	src/sys/arch/mac68k/mac68k: machdep.c macrom.c

Log Message:
In the __HAVE_NEW_PMAP_68K case, use machine_bootmap[] to map the I/O
area VA==PA.  With the Utah pmap, the I/O area was mapped at some
arbitrary KVA in pmap_bootstrap() and then double-mapped VA==PA in
mrg_init().  Initially, the new pmap case did this, as well, but then
mrg_init() blew up because no page tables were present for the address
it attempted to use.  Now that pmap_bootstrap1() ensures that PTs are
allocated for FIXEDVA entries in machine_bootmap[], we can just have
the one mapping.

Confirmed by nat@ that this makes mac68k boot and run with the new
pmap, but there are still gremlins when running the X server.


To generate a diff of this commit:
cvs rdiff -u -r1.387 -r1.388 src/sys/arch/mac68k/mac68k/machdep.c
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/mac68k/mac68k/macrom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.