summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/endian.h
diff options
context:
space:
mode:
authoralm <alm@FreeBSD.org>1993-12-19 05:14:46 +0000
committeralm <alm@FreeBSD.org>1993-12-19 05:14:46 +0000
commit60ba667cf6cf6d920616fa5a8d0bf72111d736a0 (patch)
tree586cc8d9287c0e7dd5859a4179c29a3745673dc3 /sys/i386/include/endian.h
parent71b67e5a560e27117fd4ff9fe76b1e67f1423f1e (diff)
downloadFreeBSD-src-60ba667cf6cf6d920616fa5a8d0bf72111d736a0.zip
FreeBSD-src-60ba667cf6cf6d920616fa5a8d0bf72111d736a0.tar.gz
adding libc/quad:
added _QUAD_HIGH/LOW added (U_)QUAD_MAX/MIN (from NetBSD)
Diffstat (limited to 'sys/i386/include/endian.h')
-rw-r--r--sys/i386/include/endian.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/i386/include/endian.h b/sys/i386/include/endian.h
index 8c7dc4a..dc4e98c 100644
--- a/sys/i386/include/endian.h
+++ b/sys/i386/include/endian.h
@@ -31,13 +31,19 @@
* SUCH DAMAGE.
*
* from: @(#)endian.h 7.8 (Berkeley) 4/3/91
- * $Id: endian.h,v 1.2 1993/10/16 14:39:15 rgrimes Exp $
+ * $Id: endian.h,v 1.3 1993/11/07 17:42:52 wollman Exp $
*/
#ifndef _MACHINE_ENDIAN_H_
#define _MACHINE_ENDIAN_H_ 1
/*
+ * Define the order of 32-bit words in 64-bit words.
+ */
+#define _QUAD_HIGHWORD 1
+#define _QUAD_LOWWORD 0
+
+/*
* Definitions for byte order, according to byte significance from low
* address to high.
*/
OpenPOWER on IntegriCloud