Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke Add prototypes for lbc_* rout...



details:   https://anonhg.NetBSD.org/src/rev/de29343aa49f
branches:  trunk
changeset: 766688:de29343aa49f
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 30 04:45:38 2011 +0000

description:
Add prototypes for lbc_* routines.

diffstat:

 sys/arch/powerpc/include/booke/obiovar.h |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r fd829f54b148 -r de29343aa49f sys/arch/powerpc/include/booke/obiovar.h
--- a/sys/arch/powerpc/include/booke/obiovar.h  Thu Jun 30 04:45:04 2011 +0000
+++ b/sys/arch/powerpc/include/booke/obiovar.h  Thu Jun 30 04:45:38 2011 +0000
@@ -48,5 +48,11 @@
        struct powerpc_bus_space sc_obio_bst;
 };
 
+#ifdef _KERNEL
+void lbc_lock(struct pq3obio_softc *);
+void lbc_unlock(struct pq3obio_softc *);
+uint32_t lbc_read_4(struct pq3obio_softc *, bus_size_t);
+void lbc_write_4(struct pq3obio_softc *, bus_size_t, uint32_t size);
+#endif
 
 #endif /* _POWERPC_BOOKE_OBIOVAR_H_ */



Home | Main Index | Thread Index | Old Index