Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/arch/arm/include Pull up revision 1.3 (requested by...
details: https://anonhg.NetBSD.org/src/rev/e7b0cec3decd
branches: netbsd-1-6
changeset: 529389:e7b0cec3decd
user: he <he%NetBSD.org@localhost>
date: Mon Nov 18 01:15:59 2002 +0000
description:
Pull up revision 1.3 (requested by thorpej in ticket #673):
Rename ``word'' -> 16 and ``long'' -> 32.
Replace __byte_swap_32_variable() with a C version that
generates nearly identical assembly.
diffstat:
sys/arch/arm/include/bswap.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r d0d902023317 -r e7b0cec3decd sys/arch/arm/include/bswap.h
--- a/sys/arch/arm/include/bswap.h Mon Nov 18 01:09:10 2002 +0000
+++ b/sys/arch/arm/include/bswap.h Mon Nov 18 01:15:59 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bswap.h,v 1.1.20.1 2002/11/18 01:03:30 he Exp $ */
+/* $NetBSD: bswap.h,v 1.1.20.2 2002/11/18 01:15:59 he Exp $ */
#ifndef _MACHINE_BSWAP_H_
#define _MACHINE_BSWAP_H_
@@ -9,8 +9,8 @@
#ifdef __GNUC__
#include <arm/byte_swap.h>
-#define bswap16(x) __byte_swap_word(x)
-#define bswap32(x) __byte_swap_long(x)
+#define bswap16(x) __byte_swap_16(x)
+#define bswap32(x) __byte_swap_32(x)
#endif /* __GNUC__ */
Home |
Main Index |
Thread Index |
Old Index