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 #if 0 copyout_le32 and friends, they ...
details: https://anonhg.NetBSD.org/src/rev/01c626b67b25
branches: trunk
changeset: 330892:01c626b67b25
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jul 24 23:29:02 2014 +0000
description:
#if 0 copyout_le32 and friends, they are currently unused.
diffstat:
sys/arch/powerpc/booke/copyout.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (50 lines):
diff -r 41ddb83a8e99 -r 01c626b67b25 sys/arch/powerpc/booke/copyout.c
--- a/sys/arch/powerpc/booke/copyout.c Thu Jul 24 23:27:25 2014 +0000
+++ b/sys/arch/powerpc/booke/copyout.c Thu Jul 24 23:29:02 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copyout.c,v 1.3 2011/06/20 05:17:24 matt Exp $ */
+/* $NetBSD: copyout.c,v 1.4 2014/07/24 23:29:02 joerg Exp $ */
/*-
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.3 2011/06/20 05:17:24 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: copyout.c,v 1.4 2014/07/24 23:29:02 joerg Exp $");
#include <sys/param.h>
#include <sys/lwp.h>
@@ -58,6 +58,7 @@
: [ds_msr] "r" (ds_msr), [data] "r" (data), [udaddr] "b" (udaddr));
}
+#if 0
static inline void
copyout_uint16(uint8_t *udaddr, uint8_t data, register_t ds_msr)
{
@@ -70,6 +71,7 @@
: [msr] "=&r" (msr)
: [ds_msr] "r" (ds_msr), [data] "r" (data), [udaddr] "b" (udaddr));
}
+#endif
static inline void
copyout_uint32(uint32_t * const udaddr, uint32_t data, register_t ds_msr)
@@ -84,6 +86,7 @@
: [ds_msr] "r" (ds_msr), [data] "r" (data), [udaddr] "b" (udaddr));
}
+#if 0
static inline void
copyout_le32(uint32_t * const udaddr, uint32_t data, register_t ds_msr)
{
@@ -116,6 +119,7 @@
: [ds_msr] "r" (ds_msr), [data] "r" (data),
[mask] "r" (mask), [udaddr] "b" (udaddr));
}
+#endif
static inline void
copyout_16uint8s(const uint8_t *ksaddr8, uint8_t *udaddr8, register_t ds_msr)
Home |
Main Index |
Thread Index |
Old Index