Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Remove msgbuf_paddr.
details: https://anonhg.NetBSD.org/src/rev/8136c0b02807
branches: trunk
changeset: 346449:8136c0b02807
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Jul 13 15:39:33 2016 +0000
description:
Remove msgbuf_paddr.
diffstat:
sys/arch/amd64/amd64/machdep.c | 6 ++----
sys/arch/i386/i386/machdep.c | 5 ++---
2 files changed, 4 insertions(+), 7 deletions(-)
diffs (60 lines):
diff -r b23786ae59c1 -r 8136c0b02807 sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c Wed Jul 13 15:35:56 2016 +0000
+++ b/sys/arch/amd64/amd64/machdep.c Wed Jul 13 15:39:33 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.221 2016/07/13 15:35:56 maxv Exp $ */
+/* $NetBSD: machdep.c,v 1.222 2016/07/13 15:39:33 maxv Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -111,7 +111,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.221 2016/07/13 15:35:56 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.222 2016/07/13 15:39:33 maxv Exp $");
/* #define XENDEBUG_LOW */
@@ -253,7 +253,6 @@
size_t dump_totalbytesleft;
vaddr_t msgbuf_vaddr;
-paddr_t msgbuf_paddr;
struct {
paddr_t paddr;
@@ -352,7 +351,6 @@
if (msgbuf_vaddr == 0)
panic("failed to valloc msgbuf_vaddr");
- /* msgbuf_paddr was init'd in pmap */
for (y = 0, sz = 0; y < msgbuf_p_cnt; y++) {
for (x = 0; x < btoc(msgbuf_p_seg[y].sz); x++, sz += PAGE_SIZE)
pmap_kenter_pa((vaddr_t)msgbuf_vaddr + sz,
diff -r b23786ae59c1 -r 8136c0b02807 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c Wed Jul 13 15:35:56 2016 +0000
+++ b/sys/arch/i386/i386/machdep.c Wed Jul 13 15:39:33 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.756 2016/07/13 15:35:56 maxv Exp $ */
+/* $NetBSD: machdep.c,v 1.757 2016/07/13 15:39:33 maxv Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008, 2009
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.756 2016/07/13 15:35:56 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.757 2016/07/13 15:39:33 maxv Exp $");
#include "opt_beep.h"
#include "opt_compat_ibcs2.h"
@@ -433,7 +433,6 @@
if (msgbuf_vaddr == 0)
panic("failed to valloc msgbuf_vaddr");
- /* msgbuf_paddr was init'd in pmap */
for (y = 0, sz = 0; y < msgbuf_p_cnt; y++) {
for (x = 0; x < btoc(msgbuf_p_seg[y].sz); x++, sz += PAGE_SIZE)
pmap_kenter_pa((vaddr_t)msgbuf_vaddr + sz,
Home |
Main Index |
Thread Index |
Old Index