head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.104 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.102 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.100 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.98 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.96 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.94 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.92 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.90 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.88 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.86 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.84 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.82 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.80 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.78 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.76 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.74 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.72 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.70 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.68 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.66 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.64 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.62 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.60 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.56 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.36 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.58 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.54 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.52 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.50 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.48 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.46 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.44 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.42 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.40 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.38 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.34 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.32 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.30 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.28 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.26 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.24 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.22 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.20 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.18 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.16 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.14 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.12 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.10 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.8 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.6 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.4 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.2 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.6.0.10 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.8 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.6 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.4 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.2 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.5.0.54 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q3:1.5.0.52 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.50 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.5.0.48 pkgsrc-2011Q1-base:1.5 pkgsrc-2010Q4:1.5.0.46 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.44 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.42 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.5.0.40 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.38 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.36 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.34 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.32 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.30 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.28 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.26 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.24 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.22 pkgsrc-2008Q1:1.5.0.20 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.18 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.16 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.14 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.12 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.10 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.8 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.6 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.4 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.1 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1; locks; strict; comment @# @; 1.7 date 2013.05.28.19.02.18; author joerg; state Exp; branches; next 1.6; commitid wlkC7GsANRQdKqRw; 1.6 date 2012.03.07.15.08.40; author hans; state Exp; branches; next 1.5; 1.5 date 2005.11.03.21.51.57; author rillig; state Exp; branches; next 1.4; 1.4 date 2003.08.14.09.31.40; author agc; state Exp; branches; next 1.3; 1.3 date 2002.04.01.05.50.45; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 2001.09.14.22.18.23; author wiz; state dead; branches; next 1.1; 1.1 date 2000.07.07.23.35.57; author wiz; state Exp; branches; next ; desc @@ 1.7 log @Don't redefine __LITTLE_ENDIAN__ or __BIG_ENDIAN__. @ text @$NetBSD: patch-aa,v 1.6 2012/03/07 15:08:40 hans Exp $ fix tests for endianness and use our own header files to get int64_t and uint64_t --- src/swarm_types.h.orig 2001-09-23 16:12:23.000000000 +0000 +++ src/swarm_types.h @@@@ -26,11 +26,25 @@@@ #ifndef __SWARM_TYPES_H__ #define __SWARM_TYPES_H__ -#ifdef sun4 +#ifdef __sun +#include +#if !defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__) +#ifdef _BIG_ENDIAN #define __BIG_ENDIAN__ -#else /* ix86 / alpha / arm32 */ +#else +#define __LITTLE_ENDIAN__ +#endif +#endif +#else +#include +#if !defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__) +#if BYTE_ORDER == BIG_ENDIAN +#define __BIG_ENDIAN__ +#else #define __LITTLE_ENDIAN__ #endif +#endif +#endif #ifdef WIN32 #include @@@@ -60,6 +74,10 @@@@ typedef int int32_ typedef unsigned short uint16_t; typedef unsigned int uint32_t; +#ifdef __NetBSD__ +#include +#include +#else #ifndef WIN32 #ifndef __int8_t_defined typedef long long int int64_t; @@@@ -69,6 +87,7 @@@@ typedef unsigned long long int uint64 typedef INT64 int64_t; typedef UINT64 uint64_t; #endif // !WIN32 +#endif // __NetBSD__ #endif typedef int bool_t; @ 1.6 log @Fix build on SunOS. Use correct header for endianness definitions and add a getpt() function. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2005/11/03 21:51:57 rillig Exp $ d6 1 a6 1 --- src/swarm_types.h.orig Tue Apr 10 09:46:10 2001 d8 1 a8 1 @@@@ -26,11 +26,21 @@@@ d15 1 d22 1 d25 1 d32 1 d36 1 a36 1 @@@@ -60,6 +70,10 @@@@ typedef int int32_ d47 1 a47 1 @@@@ -69,6 +83,7 @@@@ typedef unsigned long long int uint64 @ 1.5 log @Fixed wrong use of WRKSRC. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2003/08/14 09:31:40 agc Exp $ d8 1 a8 1 @@@@ -26,9 +26,10 @@@@ d13 9 d24 1 a24 2 #define __BIG_ENDIAN__ -#else /* ix86 / alpha / arm32 */ d28 1 d30 3 a32 1 @@@@ -60,6 +61,10 @@@@ d43 1 a43 1 @@@@ -69,6 +74,7 @@@@ @ 1.4 log @Update swarm from 0.57 to 0.61. Swarm now emulates an ARM 7M core. Changes since previous version: #00061 michael pp Michael Dales (michael@@dcs.gla.ac.uk) Thu Sep 27 10:41:39 BST 2001 ------------------------------------------------------------------------------------ * Contains lots of code by Hanish Menon [www.hanishkvc.com] to enable uCLinux to work on SWARM. * Updated the logic in armproc.cpp wrt UART and LCD Ctrls so that they can rise interrupts to the Interrupt Ctrl if required. * Updated certain messages and return values. * Added the srec loader * Updated the LCD controller address * ReIntroduced the Parse_Opts logic. * Will be adding support for SREC file loading. * Fixed a problem in the bin/Makefile * Added support for a minimal UART controller. * Updated the earlier sample LCD controller which I had written wrt its Addr. * Looking into SWARM and the Device/Pheriperal interface logic in SWARM * Added a partial LCD Ctrl logic to test the interface logic * fix a problem with ldms #00060 michael pp Michael Dales (michael@@dcs.gla.ac.uk) Tue May 15 22:53:15 BST 2001 ------------------------------------------------------------------------------------ Added cache invalivation functions to the system coprocessor. #00059 michael pp Michael Dales (michael@@dcs.gla.ac.uk) Fri May 11 16:52:45 BST 2001 ------------------------------------------------------------------------------------ Corrected the n-way set associative cache. Added functionality to the system co-processor to allow me to read the cycle counter, cache hit counter, and cache miss counter in an application, using register 11 with opcode 2 set to 0, 1, and 2 respectively. #00058 michael pp Michael Dales (michael@@dcs.gla.ac.uk) Thu May 10 14:05:25 BST 2001 ------------------------------------------------------------------------------------ Added a n-way set associative cache. Default is now 8k 4-way shared cache. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2002/04/01 05:50:45 dmcmahill Exp $ d6 2 a7 2 --- swarm_types.h.orig Tue Apr 10 09:46:10 2001 +++ swarm_types.h @ 1.3 log @- fix detection of endianness (#ifdef sun4 is not adequate!) - use the system header files to get int64_t instead of (incorrectly) typedef'ing it. - Fix compilation on big endian systems. @ text @d1 1 a1 1 $NetBSD$ d21 1 a21 1 @@@@ -45,6 +46,10 @@@@ d32 1 a32 1 @@@@ -54,7 +59,7 @@@@ d36 3 a38 2 - +#endif /* __NetBSD */ a39 2 #ifndef WIN32 @ 1.2 log @Update to 0.57, based on pkg/13849 by Hiramatsu Yoshifumi. Lots of changes, with at least the effect that madplay now works inside swarm. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2000/07/07 23:35:57 wiz Exp $ d3 36 a38 5 --- ../bin/scripts/arch.orig Sun May 7 17:19:51 2000 +++ ../bin/scripts/arch Sat Jul 8 01:04:09 2000 @@@@ -183,6 +183,12 @@@@ kbin=$bin k_version=$version;; d40 1 a40 9 +NetBSD) + arch=$machine + bin=${machine}_netbsd + karch=$arch + kbin=$bin;; + FreeBSD) case "$machine" in i[3456]86) arch=ix86; machine=$arch; bin=${machine}_freebsd;; *) echo 1>&2 "Unknown $system machine $machine"; exit 3;; @ 1.1 log @Make this package compile on NetBSD. Untested for lack of ARM executables. Remove ONLY_FOR_PLATFORM line. @ text @d1 1 a1 1 $NetBSD$ @