1 1.2.2.2 yamt /* $NetBSD: bswap32.S,v 1.2.2.2 2006/04/11 11:55:48 yamt Exp $ */ 2 1.2.2.2 yamt 3 1.2.2.2 yamt /*- 4 1.2.2.2 yamt * Copyright (c) 1996 Carnegie-Mellon University. 5 1.2.2.2 yamt * All rights reserved. 6 1.2.2.2 yamt * 7 1.2.2.2 yamt * Author: Chris G. Demetriou 8 1.2.2.2 yamt * 9 1.2.2.2 yamt * Permission to use, copy, modify and distribute this software and 10 1.2.2.2 yamt * its documentation is hereby granted, provided that both the copyright 11 1.2.2.2 yamt * notice and this permission notice appear in all copies of the 12 1.2.2.2 yamt * software, derivative works or modified versions, and any portions 13 1.2.2.2 yamt * thereof, and that both notices appear in supporting documentation. 14 1.2.2.2 yamt * 15 1.2.2.2 yamt * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 16 1.2.2.2 yamt * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 17 1.2.2.2 yamt * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 18 1.2.2.2 yamt * 19 1.2.2.2 yamt * Carnegie Mellon requests users of this software to return to 20 1.2.2.2 yamt * 21 1.2.2.2 yamt * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU 22 1.2.2.2 yamt * School of Computer Science 23 1.2.2.2 yamt * Carnegie Mellon University 24 1.2.2.2 yamt * Pittsburgh PA 15213-3890 25 1.2.2.2 yamt * 26 1.2.2.2 yamt * any improvements or extensions that they make and grant Carnegie the 27 1.2.2.2 yamt * rights to redistribute these changes. 28 1.2.2.2 yamt * 29 1.2.2.2 yamt * from: NetBSD: htonl.S,v 1.1 1996/04/17 22:36:52 cgd 30 1.2.2.2 yamt * from: src/sys/libkern/ia64/htonl.S,v 1.2 2002/02/18 20:35:21 31 1.2.2.2 yamt * 32 1.2.2.2 yamt * $FreeBSD$ 33 1.2.2.2 yamt */ 34 1.2.2.2 yamt 35 1.2.2.2 yamt #define NAME bswap32 36 1.2.2.2 yamt 37 1.2.2.2 yamt #include "byte_swap_4.S" 38