Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sgimips/sgimips PMAP_NOCACHE -> PGC_NOCACHE where a...
details: https://anonhg.NetBSD.org/src/rev/eaaa621c4bc6
branches: trunk
changeset: 761877:eaaa621c4bc6
user: macallan <macallan%NetBSD.org@localhost>
date: Thu Feb 10 05:55:26 2011 +0000
description:
PMAP_NOCACHE -> PGC_NOCACHE where appropriate
diffstat:
sys/arch/sgimips/sgimips/bus.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 89605015954b -r eaaa621c4bc6 sys/arch/sgimips/sgimips/bus.c
--- a/sys/arch/sgimips/sgimips/bus.c Thu Feb 10 05:07:46 2011 +0000
+++ b/sys/arch/sgimips/sgimips/bus.c Thu Feb 10 05:55:26 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.c,v 1.60 2010/07/06 20:50:35 cegger Exp $ */
+/* $NetBSD: bus.c,v 1.61 2011/02/10 05:55:26 macallan Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.60 2010/07/06 20:50:35 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus.c,v 1.61 2011/02/10 05:55:26 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1194,7 +1194,7 @@
return (-1);
#if defined(_MIPS_PADDR_T_64BIT) || defined(_LP64)
- return (mips_btop(rv | PMAP_NOCACHE));
+ return (mips_btop(rv | PGC_NOCACHE));
#else
return (mips_btop(rv));
#endif
@@ -1211,7 +1211,7 @@
} else
#if defined(_MIPS_PADDR_T_64BIT) || defined(_LP64)
return mips_btop((MIPS_KSEG1_TO_PHYS(addr) + off)
- | PMAP_NOCACHE);
+ | PGC_NOCACHE);
#else
return mips_btop((MIPS_KSEG1_TO_PHYS(addr) + off));
#endif
Home |
Main Index |
Thread Index |
Old Index