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