1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix breakage and remove redundant _LITTLE_ENDIAN defines. Remove

unneeded include defines.
This commit is contained in:
Martin Blapp 2003-05-08 18:08:11 +00:00
parent c4858e319e
commit 6a9d02491a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80462
34 changed files with 442 additions and 136 deletions

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL

View File

@ -0,0 +1,16 @@
--- ../sal/inc/osl/endian.h.orig Thu May 8 19:38:17 2003
+++ ../sal/inc/osl/endian.h Thu May 8 19:40:11 2003
@@ -108,13 +108,6 @@
#ifdef FREEBSD
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
#endif
#ifdef SCO

View File

@ -1,6 +1,6 @@
--- ../sal/osl/unx/system.h.orig Tue Aug 20 08:54:55 2002
+++ ../sal/osl/unx/system.h Sat Apr 19 22:09:15 2003
@@ -203,8 +203,16 @@
@@ -203,25 +203,25 @@
# include <dlfcn.h>
# include <sys/filio.h>
# include <sys/ioctl.h>
@ -12,15 +12,17 @@
+# include <vm/vm_param.h>
+# include <vm/pmap.h>
+# include <vm/swap_pager.h>
+# include <machine/vmparam.h>
+# include <machine/pmap.h>
# include <sys/un.h>
# include <netinet/tcp.h>
# define IORESOURCE_TRANSFER_BSD
@@ -216,12 +224,13 @@
# elif BYTE_ORDER == PDP_ENDIAN
# define _PDP_ENDIAN
# endif
# include <machine/endian.h>
-# if BYTE_ORDER == LITTLE_ENDIAN
-# define _LITTLE_ENDIAN
-# elif BYTE_ORDER == BIG_ENDIAN
-# define _BIG_ENDIAN
-# elif BYTE_ORDER == PDP_ENDIAN
-# define _PDP_ENDIAN
-# endif
-# define sched_yield() pthread_yield()
-# define pthread_testcancel()
# define NO_PTHREAD_RTL
@ -36,7 +38,7 @@
#endif
#ifdef SCO
@@ -569,12 +578,14 @@
@@ -547,12 +547,14 @@
#endif
#ifdef NO_PTHREAD_RTL