diff options
author | kim <kim@pkgsrc.org> | 2000-10-12 19:17:03 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2000-10-12 19:17:03 +0000 |
commit | 15f42f6a1e9c77a374f1d932eafbb02edbd9cb57 (patch) | |
tree | 153df505de5a981fdd042f4e63836cc8a30b5a90 /news | |
parent | 54367d8e8a7d3002623c496265f3423c2b29f7e1 (diff) | |
download | pkgsrc-15f42f6a1e9c77a374f1d932eafbb02edbd9cb57.tar.gz |
Add machine config for arm32
XXX: may break arm26, if LOWER_OPSYS is "arm" on them
Diffstat (limited to 'news')
-rw-r--r-- | news/nn/files/patch-sum | 3 | ||||
-rw-r--r-- | news/nn/patches/patch-bc | 43 |
2 files changed, 45 insertions, 1 deletions
diff --git a/news/nn/files/patch-sum b/news/nn/files/patch-sum index 13c6310f41e..4b9dd3acf83 100644 --- a/news/nn/files/patch-sum +++ b/news/nn/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.7 2000/10/11 01:26:32 dmcmahill Exp $ +$NetBSD: patch-sum,v 1.8 2000/10/12 19:17:03 kim Exp $ MD5 (patch-aa) = 484c0c2ee06c7e507a09ba11dcedc7aa MD5 (patch-ab) = bb054068ebdbe26eb6f9d3928881a040 @@ -28,3 +28,4 @@ MD5 (patch-ay) = b7bfb52b31aa3440749252a29ce4391c MD5 (patch-az) = 9539751382afdcc1154ecc2af121ede4 MD5 (patch-ba) = 47a13339ffce7c9a8352569ac7c02efd MD5 (patch-bb) = abcdad2f88ef1dee0d4a38ab8e5b538f +MD5 (patch-bc) = 4ddde4694fd7e2c56977a6cdbef30194 diff --git a/news/nn/patches/patch-bc b/news/nn/patches/patch-bc new file mode 100644 index 00000000000..2efceb1e95f --- /dev/null +++ b/news/nn/patches/patch-bc @@ -0,0 +1,43 @@ +$NetBSD: patch-bc,v 1.1 2000/10/12 19:17:03 kim Exp $ + +add machine config file for arm32 machines + +--- /dev/null Thu Oct 12 14:46:24 2000 ++++ conf/m-arm.h Thu Oct 12 15:05:05 2000 +@@ -0,0 +1,36 @@ ++/************** Machine (and compiler) dependent definitions. ************** ++ * ++ * For arm32 ++ * ++ */ ++ ++/* MACHINE TYPE DEFINED TYPE VALUE RANGE */ ++ ++typedef unsigned char int8; /* 0 .. 255 */ ++typedef short int16; /* -10,000 .. 10,000 */ ++typedef int int32; /* -100,000 .. 100,000 */ ++typedef unsigned int uint32; /* 0 .. 2^31-1 */ ++ ++#ifdef NETWORK_DATABASE ++ ++/* ++ * Define NETWORK_BYTE_ORDER if the machine's int32's are ++ * already in network byte order, i.e. m68k based. ++ */ ++#include <sys/types.h> ++#include <machine/endian.h> ++ ++#if BYTE_ORDER == BIG_ENDIAN ++#define NETWORK_BYTE_ORDER /* */ ++#endif ++ ++/* ++ * OTHERWISE provide the functions/macros ntohl/htonl to ++ * convert longs from and to network byte order ++ */ ++ ++#ifndef NETWORK_BYTE_ORDER ++#include <netinet/in.h> ++#endif ++ ++#endif /* NETWORK_DATABASE */ |