Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Oops - have to RELOC(physmem) here.
details: https://anonhg.NetBSD.org/src/rev/6664c5676aff
branches: trunk
changeset: 773625:6664c5676aff
user: mhitch <mhitch%NetBSD.org@localhost>
date: Fri Feb 10 06:21:15 2012 +0000
description:
Oops - have to RELOC(physmem) here.
diffstat:
sys/arch/cesfic/cesfic/pmap_bootstrap.c | 6 +++---
sys/arch/hp300/hp300/pmap_bootstrap.c | 6 +++---
sys/arch/luna68k/luna68k/pmap_bootstrap.c | 6 +++---
sys/arch/mvme68k/mvme68k/pmap_bootstrap.c | 6 +++---
sys/arch/news68k/news68k/pmap_bootstrap.c | 6 +++---
sys/arch/next68k/next68k/pmap_bootstrap.c | 6 +++---
sys/arch/x68k/x68k/pmap_bootstrap.c | 6 +++---
7 files changed, 21 insertions(+), 21 deletions(-)
diffs (189 lines):
diff -r c8c6dad095ee -r 6664c5676aff sys/arch/cesfic/cesfic/pmap_bootstrap.c
--- a/sys/arch/cesfic/cesfic/pmap_bootstrap.c Fri Feb 10 05:57:42 2012 +0000
+++ b/sys/arch/cesfic/cesfic/pmap_bootstrap.c Fri Feb 10 06:21:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.32 2012/02/10 04:49:45 mhitch Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.33 2012/02/10 06:21:15 mhitch Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.32 2012/02/10 04:49:45 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.33 2012/02/10 06:21:15 mhitch Exp $");
#include <sys/param.h>
#include <uvm/uvm_extern.h>
@@ -120,7 +120,7 @@
lkptpa = nextpa;
nextpa += PAGE_SIZE;
kptpa = nextpa;
- nptpages = RELOC(Sysptsize, int) + howmany(physmem, NPTEPG);
+ nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem), NPTEPG);
nextpa += nptpages * PAGE_SIZE;
/*
diff -r c8c6dad095ee -r 6664c5676aff sys/arch/hp300/hp300/pmap_bootstrap.c
--- a/sys/arch/hp300/hp300/pmap_bootstrap.c Fri Feb 10 05:57:42 2012 +0000
+++ b/sys/arch/hp300/hp300/pmap_bootstrap.c Fri Feb 10 06:21:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.55 2012/02/10 04:49:45 mhitch Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.56 2012/02/10 06:21:15 mhitch Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.55 2012/02/10 04:49:45 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.56 2012/02/10 06:21:15 mhitch Exp $");
#include <sys/param.h>
#include <uvm/uvm_extern.h>
@@ -126,7 +126,7 @@
lkptpa = nextpa;
nextpa += PAGE_SIZE;
kptpa = nextpa;
- nptpages = RELOC(Sysptsize, int) + howmany(physmem, NPTEPG) +
+ nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem), NPTEPG) +
(IIOMAPSIZE + EIOMAPSIZE + NPTEPG - 1) / NPTEPG;
nextpa += nptpages * PAGE_SIZE;
diff -r c8c6dad095ee -r 6664c5676aff sys/arch/luna68k/luna68k/pmap_bootstrap.c
--- a/sys/arch/luna68k/luna68k/pmap_bootstrap.c Fri Feb 10 05:57:42 2012 +0000
+++ b/sys/arch/luna68k/luna68k/pmap_bootstrap.c Fri Feb 10 06:21:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.33 2012/02/10 04:49:45 mhitch Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.34 2012/02/10 06:21:15 mhitch Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.33 2012/02/10 04:49:45 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.34 2012/02/10 06:21:15 mhitch Exp $");
#include "opt_m68k_arch.h"
@@ -125,7 +125,7 @@
kptmpa = nextpa;
nextpa += PAGE_SIZE;
kptpa = nextpa;
- nptpages = RELOC(Sysptsize, int) + howmany(physmem, NPTEPG) +
+ nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem), NPTEPG) +
(iiomapsize + NPTEPG - 1) / NPTEPG;
nextpa += nptpages * PAGE_SIZE;
diff -r c8c6dad095ee -r 6664c5676aff sys/arch/mvme68k/mvme68k/pmap_bootstrap.c
--- a/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c Fri Feb 10 05:57:42 2012 +0000
+++ b/sys/arch/mvme68k/mvme68k/pmap_bootstrap.c Fri Feb 10 06:21:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.49 2012/02/10 04:49:45 mhitch Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.50 2012/02/10 06:21:15 mhitch Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.49 2012/02/10 04:49:45 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.50 2012/02/10 06:21:15 mhitch Exp $");
#include "opt_m68k_arch.h"
@@ -135,7 +135,7 @@
kptmpa = nextpa;
nextpa += PAGE_SIZE;
kptpa = nextpa;
- nptpages = RELOC(Sysptsize, int) + howmany(physmem, NPTEPG) +
+ nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem), NPTEPG) +
(iiomappages + NPTEPG - 1) / NPTEPG;
nextpa += nptpages * PAGE_SIZE;
diff -r c8c6dad095ee -r 6664c5676aff sys/arch/news68k/news68k/pmap_bootstrap.c
--- a/sys/arch/news68k/news68k/pmap_bootstrap.c Fri Feb 10 05:57:42 2012 +0000
+++ b/sys/arch/news68k/news68k/pmap_bootstrap.c Fri Feb 10 06:21:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.38 2012/02/10 04:49:45 mhitch Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.39 2012/02/10 06:21:15 mhitch Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.38 2012/02/10 04:49:45 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.39 2012/02/10 06:21:15 mhitch Exp $");
#include "opt_m68k_arch.h"
@@ -138,7 +138,7 @@
kptmpa = nextpa;
nextpa += PAGE_SIZE;
kptpa = nextpa;
- nptpages = RELOC(Sysptsize, int) + howmany(physmem, NPTEPG) +
+ nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem), NPTEPG) +
(iiomapsize + eiomapsize + NPTEPG - 1) / NPTEPG;
nextpa += nptpages * PAGE_SIZE;
diff -r c8c6dad095ee -r 6664c5676aff sys/arch/next68k/next68k/pmap_bootstrap.c
--- a/sys/arch/next68k/next68k/pmap_bootstrap.c Fri Feb 10 05:57:42 2012 +0000
+++ b/sys/arch/next68k/next68k/pmap_bootstrap.c Fri Feb 10 06:21:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.40 2012/02/10 04:49:46 mhitch Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.41 2012/02/10 06:21:15 mhitch Exp $ */
/*
* This file was taken from mvme68k/mvme68k/pmap_bootstrap.c
@@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.40 2012/02/10 04:49:46 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.41 2012/02/10 06:21:15 mhitch Exp $");
#include "opt_m68k_arch.h"
@@ -147,7 +147,7 @@
lkptpa = nextpa;
nextpa += PAGE_SIZE;
kptpa = nextpa;
- nptpages = RELOC(Sysptsize, int) + howmany(physmem, NPTEPG) +
+ nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem), NPTEPG) +
(IIOMAPSIZE + MONOMAPSIZE + COLORMAPSIZE + NPTEPG - 1) / NPTEPG;
nextpa += nptpages * PAGE_SIZE;
diff -r c8c6dad095ee -r 6664c5676aff sys/arch/x68k/x68k/pmap_bootstrap.c
--- a/sys/arch/x68k/x68k/pmap_bootstrap.c Fri Feb 10 05:57:42 2012 +0000
+++ b/sys/arch/x68k/x68k/pmap_bootstrap.c Fri Feb 10 06:21:15 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_bootstrap.c,v 1.56 2012/02/10 04:49:46 mhitch Exp $ */
+/* $NetBSD: pmap_bootstrap.c,v 1.57 2012/02/10 06:21:15 mhitch Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.56 2012/02/10 04:49:46 mhitch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.57 2012/02/10 06:21:15 mhitch Exp $");
#include "opt_m68k_arch.h"
@@ -122,7 +122,7 @@
kptmpa = nextpa;
nextpa += PAGE_SIZE;
kptpa = nextpa;
- nptpages = RELOC(Sysptsize, int) + howmany(physmem, NPTEPG) +
+ nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem), NPTEPG) +
(IIOMAPSIZE + NPTEPG - 1) / NPTEPG;
nextpa += nptpages * PAGE_SIZE;
Home |
Main Index |
Thread Index |
Old Index