Module Name: src
Committed By: tsutsui
Date: Sun Jan 2 05:09:28 UTC 2011
Modified Files:
src/sys/arch/news68k/news68k: pmap_bootstrap.c
Log Message:
Remove disabled code for VAC. No such news68k models.
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/news68k/news68k/pmap_bootstrap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/news68k/news68k/pmap_bootstrap.c
diff -u src/sys/arch/news68k/news68k/pmap_bootstrap.c:1.33 src/sys/arch/news68k/news68k/pmap_bootstrap.c:1.34
--- src/sys/arch/news68k/news68k/pmap_bootstrap.c:1.33 Sun Jan 2 05:01:57 2011
+++ src/sys/arch/news68k/news68k/pmap_bootstrap.c Sun Jan 2 05:09:27 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.33 2011/01/02 05:01:57 tsutsui Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.34 2011/01/02 05:09:27 tsutsui Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -41,7 +41,7 @@
#include "opt_m68k_arch.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.33 2011/01/02 05:01:57 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.34 2011/01/02 05:09:27 tsutsui Exp $");
#include <sys/param.h>
@@ -58,9 +58,6 @@
extern int maxmem, physmem;
extern paddr_t avail_start, avail_end;
-#if 0
-extern int pmap_aliasmask;
-#endif
void pmap_bootstrap(paddr_t, paddr_t);
@@ -439,16 +436,6 @@
RELOC(virtual_end, vaddr_t) = VM_MAX_KERNEL_ADDRESS;
-#if 0
- /*
- * Determine VA aliasing distance if any
- *
- * XXX Are there any models which have VAC?
- */
- if (RELOC(ectype, int) == EC_VIRT) {
- RELOC(pmap_aliasmask, int) = 0x3fff; /* 16k */
- }
-#endif
#ifdef news1700
if (RELOC(systype, int) == NEWS1700) {
RELOC(cache_ctl, uint8_t *) = 0xe1300000 - INTIOBASE1700 +