Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Add prototypes for mipsNN_cp0_watch{lo...



details:   https://anonhg.NetBSD.org/src/rev/b8ef1d2458ab
branches:  trunk
changeset: 764161:b8ef1d2458ab
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Apr 12 22:54:31 2011 +0000

description:
Add prototypes for mipsNN_cp0_watch{lo,hi}_{read,write}

diffstat:

 sys/arch/mips/include/locore.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 73834337caed -r b8ef1d2458ab sys/arch/mips/include/locore.h
--- a/sys/arch/mips/include/locore.h    Tue Apr 12 22:50:33 2011 +0000
+++ b/sys/arch/mips/include/locore.h    Tue Apr 12 22:54:31 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.h,v 1.86 2011/04/06 05:43:11 matt Exp $ */
+/* $NetBSD: locore.h,v 1.87 2011/04/12 22:54:31 matt Exp $ */
 
 /*
  * This file should not be included by MI code!!!
@@ -148,6 +148,11 @@
 uint32_t mipsNN_cp0_config2_read(void);
 uint32_t mipsNN_cp0_config3_read(void);
 
+uintptr_t mipsNN_cp0_watchlo_read(u_int);
+void   mipsNN_cp0_watchlo_write(u_int, uintptr_t);
+uint32_t mipsNN_cp0_watchhi_read(u_int);
+void   mipsNN_cp0_watchhi_write(u_int, uint32_t);
+
 #if (MIPS32R2 + MIPS64R2) > 0
 void   mipsNN_cp0_hwrena_write(uint32_t);
 void   mipsNN_cp0_userlocal_write(void *);



Home | Main Index | Thread Index | Old Index