Re: Current kernel with http://gnats.netbsd.org/39965 and pmap patches

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.ports.atari
Message-ID <[email protected]>
I wrote:

> Major diffrences between ATARITT (or FALCON) and BOOT
> which might affect pmap changes are:
> - kernel size (due to many MI options)
> - options SERCONSOLE
> - options RELOC_KERNEL
> - options MSGBUFSIZE
> 
> I guess the last two items require some special handling
> during pmap initialization. (conversion between PA and VA etc.)

I have not checked how RELOC_KERNEL works, but it looks
Sysptmap_pa should be adjusted for it:

--- atari_init.c.0	2008-12-28 14:40:20.000000000 +0900
+++ atari_init.c	2008-12-29 19:09:46.000000000 +0900
@@ -302,7 +302,7 @@
 	 * allocate kernel page table map
 	 */
 	Sysptmap = (pt_entry_t *)pstart;
-	Sysptmap_pa = pstart;
+	Sysptmap_pa = pstart + kbase;
 	pstart  += PAGE_SIZE;
 	avail   -= PAGE_SIZE;
 

---

I've put new kernels from the latest sources
(which include ffs_update() fix) with this patch:

http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-ATARITT-HEAD-20081229.gz
http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-BOOT-HEAD-20081229.gz
http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-FALCON-HEAD-20081229.gz

---
Izumi Tsutsui
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.