Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/booke GC openpic_read.
details: https://anonhg.NetBSD.org/src/rev/3d8aa1feac65
branches: trunk
changeset: 331063:3d8aa1feac65
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Jul 29 23:35:00 2014 +0000
description:
GC openpic_read.
diffstat:
sys/arch/powerpc/booke/e500_timer.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r 3a1f27701ef0 -r 3d8aa1feac65 sys/arch/powerpc/booke/e500_timer.c
--- a/sys/arch/powerpc/booke/e500_timer.c Tue Jul 29 21:21:43 2014 +0000
+++ b/sys/arch/powerpc/booke/e500_timer.c Tue Jul 29 23:35:00 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e500_timer.c,v 1.4 2011/06/29 05:56:31 matt Exp $ */
+/* $NetBSD: e500_timer.c,v 1.5 2014/07/29 23:35:00 joerg Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: e500_timer.c,v 1.4 2011/06/29 05:56:31 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: e500_timer.c,v 1.5 2014/07/29 23:35:00 joerg Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -69,14 +69,6 @@
NULL /* tc_next */
};
-static inline uint32_t
-openpic_read(struct cpu_softc *cpu, bus_size_t offset)
-{
-
- return bus_space_read_4(cpu->cpu_bst, cpu->cpu_bsh,
- OPENPIC_BASE + offset);
-}
-
static inline void
openpic_write(struct cpu_softc *cpu, bus_size_t offset, uint32_t val)
{
Home |
Main Index |
Thread Index |
Old Index