Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-km]: src/sys/arch/x68k/x68k sync with other m68k pmaps slightly.
details: https://anonhg.NetBSD.org/src/rev/6131bf315e5b
branches: yamt-km
changeset: 573364:6131bf315e5b
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Feb 23 10:25:50 2005 +0000
description:
sync with other m68k pmaps slightly.
diffstat:
sys/arch/x68k/x68k/pmap_bootstrap.c | 16 +++++-----------
1 files changed, 5 insertions(+), 11 deletions(-)
diffs (45 lines):
diff -r a5efc17ad988 -r 6131bf315e5b sys/arch/x68k/x68k/pmap_bootstrap.c
--- a/sys/arch/x68k/x68k/pmap_bootstrap.c Wed Feb 23 10:23:37 2005 +0000
+++ b/sys/arch/x68k/x68k/pmap_bootstrap.c Wed Feb 23 10:25:50 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.27.2.4 2005/02/23 10:07:48 yamt Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.27.2.5 2005/02/23 10:25:50 yamt Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.27.2.4 2005/02/23 10:07:48 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.27.2.5 2005/02/23 10:25:50 yamt Exp $");
#include "opt_m680x0.h"
@@ -322,8 +322,10 @@
#define PTE2VA(pte) m68k_ptob(pte - ((pt_entry_t *)kptpa))
protopte = INTIOBASE | PG_RW | PG_CI | PG_V;
+ epte = &pte[IIOMAPSIZE];
RELOC(IODEVbase, char *) = (char *)PTE2VA(pte);
- epte = &pte[IIOMAPSIZE];
+ RELOC(intiobase, u_int8_t *) = RELOC(IODEVbase, u_int8_t *); /* XXX */
+ RELOC(intiolimit, char *) = (char *)PTE2VA(epte);
while (pte < epte) {
*pte++ = protopte;
protopte += PAGE_SIZE;
@@ -349,14 +351,6 @@
*/
RELOC(Sysmap, pt_entry_t *) =
(pt_entry_t *)m68k_ptob((NPTEPG - 1) * NPTEPG);
- /*
- * IODEVbase, intiolimit: base and end of internal (DIO) IO space.
- * IIOMAPSIZE pages prior to external IO space at end of static
- * kernel page table.
- */
- RELOC(intiobase, u_int8_t *) = RELOC(IODEVbase, u_int8_t *); /* XXX */
- RELOC(intiolimit, char *) =
- RELOC(intiobase, u_int8_t *) + m68k_ptob(IIOMAPSIZE);
/*
* Setup u-area for process 0.
Home |
Main Index |
Thread Index |
Old Index