head	1.6;
access;
symbols
	netbsd-11-0-RC4:1.6
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.12
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.10
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.5.2.1
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	thorpej-ifq:1.6.0.8
	thorpej-ifq-base:1.6
	thorpej-altq-separation:1.6.0.6
	thorpej-altq-separation-base:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.4
	netbsd-10-base:1.6
	bouyer-sunxi-drm:1.6.0.2
	bouyer-sunxi-drm-base:1.6
	netbsd-9-3-RELEASE:1.5
	thorpej-i2c-spi-conf2:1.5.0.24
	thorpej-i2c-spi-conf2-base:1.5
	thorpej-futex2:1.5.0.22
	thorpej-futex2-base:1.5
	thorpej-cfargs2:1.5.0.20
	thorpej-cfargs2-base:1.5
	cjep_sun2x-base1:1.5
	cjep_sun2x:1.5.0.18
	cjep_sun2x-base:1.5
	cjep_staticlib_x-base1:1.5
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.5.0.16
	cjep_staticlib_x-base:1.5
	thorpej-i2c-spi-conf:1.5.0.14
	thorpej-i2c-spi-conf-base:1.5
	thorpej-cfargs:1.5.0.12
	thorpej-cfargs-base:1.5
	thorpej-futex:1.5.0.10
	thorpej-futex-base:1.5
	netbsd-9-1-RELEASE:1.5
	bouyer-xenpvh-base2:1.5
	phil-wifi-20200421:1.5
	bouyer-xenpvh-base1:1.5
	phil-wifi-20200411:1.5
	bouyer-xenpvh:1.5.0.8
	bouyer-xenpvh-base:1.5
	is-mlppp:1.5.0.6
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.4
	ad-namecache-base3:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	ad-namecache-base2:1.5
	ad-namecache-base1:1.5
	ad-namecache:1.5.0.4
	ad-namecache-base:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.2
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	isaki-audio2:1.4.0.162
	isaki-audio2-base:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.4.0.160
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.4.0.158
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.4
	tls-maxphys-base-20171202:1.4
	matt-nb8-mediatek:1.4.0.156
	matt-nb8-mediatek-base:1.4
	nick-nhusb-base-20170825:1.4
	perseant-stdc-iso10646:1.4.0.154
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.152
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.150
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	jdolecek-ncq:1.4.0.148
	jdolecek-ncq-base:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.4.0.146
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	nick-nhusb-base-20170204:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.144
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	nick-nhusb-base-20161204:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	nick-nhusb-base-20161004:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.142
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.140
	pgoyette-localcount-base:1.4
	nick-nhusb-base-20160907:1.4
	nick-nhusb-base-20160529:1.4
	netbsd-7-0-1-RELEASE:1.4
	nick-nhusb-base-20160422:1.4
	nick-nhusb-base-20160319:1.4
	nick-nhusb-base-20151226:1.4
	netbsd-7-0:1.4.0.138
	netbsd-7-0-RELEASE:1.4
	nick-nhusb-base-20150921:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	nick-nhusb-base-20150606:1.4
	nick-nhusb-base-20150406:1.4
	nick-nhusb:1.4.0.136
	nick-nhusb-base:1.4
	netbsd-5-2-3-RELEASE:1.4
	netbsd-5-1-5-RELEASE:1.4
	netbsd-6-0-6-RELEASE:1.4
	netbsd-6-1-5-RELEASE:1.4
	netbsd-7:1.4.0.134
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.4
	netbsd-6-1-4-RELEASE:1.4
	netbsd-6-0-5-RELEASE:1.4
	tls-earlyentropy:1.4.0.132
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-6-1-3-RELEASE:1.4
	netbsd-6-0-4-RELEASE:1.4
	netbsd-5-2-2-RELEASE:1.4
	netbsd-5-1-4-RELEASE:1.4
	netbsd-6-1-2-RELEASE:1.4
	netbsd-6-0-3-RELEASE:1.4
	netbsd-5-2-1-RELEASE:1.4
	netbsd-5-1-3-RELEASE:1.4
	rmind-smpnet-nbase:1.4
	netbsd-6-1-1-RELEASE:1.4
	riastradh-drm2-base2:1.4
	riastradh-drm2-base1:1.4
	riastradh-drm2:1.4.0.130
	riastradh-drm2-base:1.4
	rmind-smpnet:1.4.0.122
	rmind-smpnet-base:1.4
	netbsd-6-1:1.4.0.128
	netbsd-6-0-2-RELEASE:1.4
	netbsd-6-1-RELEASE:1.4
	khorben-n900:1.4.0.126
	netbsd-6-1-RC4:1.4
	netbsd-6-1-RC3:1.4
	agc-symver:1.4.0.124
	agc-symver-base:1.4
	netbsd-6-1-RC2:1.4
	netbsd-6-1-RC1:1.4
	yamt-pagecache-base8:1.4
	netbsd-5-2:1.4.0.120
	netbsd-6-0-1-RELEASE:1.4
	yamt-pagecache-base7:1.4
	netbsd-5-2-RELEASE:1.4
	netbsd-5-2-RC1:1.4
	matt-nb6-plus-nbase:1.4
	yamt-pagecache-base6:1.4
	netbsd-6-0:1.4.0.118
	netbsd-6-0-RELEASE:1.4
	netbsd-6-0-RC2:1.4
	tls-maxphys:1.4.0.116
	tls-maxphys-base:1.4
	matt-nb6-plus:1.4.0.114
	matt-nb6-plus-base:1.4
	netbsd-6-0-RC1:1.4
	jmcneill-usbmp-base10:1.4
	yamt-pagecache-base5:1.4
	jmcneill-usbmp-base9:1.4
	yamt-pagecache-base4:1.4
	jmcneill-usbmp-base8:1.4
	jmcneill-usbmp-base7:1.4
	jmcneill-usbmp-base6:1.4
	jmcneill-usbmp-base5:1.4
	jmcneill-usbmp-base4:1.4
	jmcneill-usbmp-base3:1.4
	jmcneill-usbmp-pre-base2:1.4
	jmcneill-usbmp-base2:1.4
	netbsd-6:1.4.0.112
	netbsd-6-base:1.4
	netbsd-5-1-2-RELEASE:1.4
	netbsd-5-1-1-RELEASE:1.4
	jmcneill-usbmp:1.4.0.110
	jmcneill-usbmp-base:1.4
	jmcneill-audiomp3:1.4.0.108
	jmcneill-audiomp3-base:1.4
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.106
	yamt-pagecache-base:1.4
	rmind-uvmplock-nbase:1.4
	cherry-xenmp:1.4.0.104
	cherry-xenmp-base:1.4
	jym-xensuspend-nbase:1.4
	uebayasi-xip-base7:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.102
	bouyer-quota2-base:1.4
	jruoho-x86intr:1.4.0.100
	jruoho-x86intr-base:1.4
	matt-mips64-premerge-20101231:1.4
	matt-nb5-mips64-premerge-20101231:1.4
	matt-nb5-pq3:1.4.0.98
	matt-nb5-pq3-base:1.4
	netbsd-5-1:1.4.0.96
	uebayasi-xip-base6:1.4
	uebayasi-xip-base5:1.4
	netbsd-5-1-RELEASE:1.4
	uebayasi-xip-base4:1.4
	uebayasi-xip-base3:1.4
	yamt-nfs-mp-base11:1.4
	netbsd-5-1-RC4:1.4
	matt-nb5-mips64-k15:1.4
	uebayasi-xip-base2:1.4
	yamt-nfs-mp-base10:1.4
	netbsd-5-1-RC3:1.4
	netbsd-5-1-RC2:1.4
	uebayasi-xip-base1:1.4
	netbsd-5-1-RC1:1.4
	rmind-uvmplock:1.4.0.94
	rmind-uvmplock-base:1.4
	yamt-nfs-mp-base9:1.4
	uebayasi-xip:1.4.0.92
	uebayasi-xip-base:1.4
	netbsd-5-0-2-RELEASE:1.4
	matt-nb5-mips64-premerge-20091211:1.4
	matt-premerge-20091211:1.4
	yamt-nfs-mp-base8:1.4
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.4
	matt-nb4-mips64-k7-u2a-k9b:1.4
	matt-nb5-mips64-u1-k1-k5:1.4
	yamt-nfs-mp-base7:1.4
	matt-nb5-mips64:1.4.0.90
	netbsd-5-0-1-RELEASE:1.4
	jymxensuspend-base:1.4
	yamt-nfs-mp-base6:1.4
	yamt-nfs-mp-base5:1.4
	yamt-nfs-mp-base4:1.4
	yamt-nfs-mp-base3:1.4
	nick-hppapmap-base4:1.4
	nick-hppapmap-base3:1.4
	netbsd-5-0:1.4.0.88
	netbsd-5-0-RELEASE:1.4
	netbsd-5-0-RC4:1.4
	netbsd-5-0-RC3:1.4
	nick-hppapmap-base2:1.4
	netbsd-5-0-RC2:1.4
	jym-xensuspend:1.4.0.86
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.4
	haad-dm-base2:1.4
	haad-nbase2:1.4
	ad-audiomp2:1.4.0.84
	ad-audiomp2-base:1.4
	netbsd-5:1.4.0.82
	netbsd-5-base:1.4
	nick-hppapmap:1.4.0.80
	nick-hppapmap-base:1.4
	matt-mips64-base2:1.4
	haad-dm-base1:1.4
	wrstuden-revivesa-base-4:1.4
	netbsd-4-0-1-RELEASE:1.4
	wrstuden-revivesa-base-3:1.4
	wrstuden-revivesa-base-2:1.4
	wrstuden-fixsa-newbase:1.4
	nick-csl-alignment-base5:1.4
	haad-dm:1.4.0.78
	haad-dm-base:1.4
	wrstuden-revivesa-base-1:1.4
	simonb-wapbl-nbase:1.4
	yamt-pf42-base4:1.4
	simonb-wapbl:1.4.0.76
	simonb-wapbl-base:1.4
	yamt-pf42-base3:1.4
	hpcarm-cleanup-nbase:1.4
	yamt-pf42-baseX:1.4
	yamt-pf42-base2:1.4
	yamt-nfs-mp-base2:1.4
	wrstuden-revivesa:1.4.0.74
	wrstuden-revivesa-base:1.4
	yamt-nfs-mp:1.4.0.72
	yamt-nfs-mp-base:1.4
	yamt-pf42:1.4.0.70
	yamt-pf42-base:1.4
	ad-socklock-base1:1.4
	yamt-lazymbuf-base15:1.4
	yamt-lazymbuf-base14:1.4
	keiichi-mipv6-nbase:1.4
	mjf-devfs2:1.4.0.68
	mjf-devfs2-base:1.4
	nick-net80211-sync:1.4.0.66
	nick-net80211-sync-base:1.4
	keiichi-mipv6:1.4.0.64
	keiichi-mipv6-base:1.4
	bouyer-xeni386-merge1:1.4
	matt-armv6-prevmlocking:1.4
	wrstuden-fixsa-base-1:1.4
	vmlocking2-base3:1.4
	netbsd-4-0:1.4.0.62
	netbsd-4-0-RELEASE:1.4
	bouyer-xeni386-nbase:1.4
	yamt-kmem-base3:1.4
	cube-autoconf:1.4.0.60
	cube-autoconf-base:1.4
	yamt-kmem-base2:1.4
	bouyer-xeni386:1.4.0.58
	bouyer-xeni386-base:1.4
	yamt-kmem:1.4.0.56
	yamt-kmem-base:1.4
	vmlocking2-base2:1.4
	reinoud-bufcleanup-nbase:1.4
	vmlocking2:1.4.0.54
	vmlocking2-base1:1.4
	netbsd-4-0-RC5:1.4
	matt-nb4-arm:1.4.0.52
	matt-nb4-arm-base:1.4
	matt-armv6-nbase:1.4
	jmcneill-base:1.4
	netbsd-4-0-RC4:1.4
	mjf-devfs:1.4.0.50
	mjf-devfs-base:1.4
	bouyer-xenamd64-base2:1.4
	vmlocking-nbase:1.4
	yamt-x86pmap-base4:1.4
	bouyer-xenamd64:1.4.0.48
	bouyer-xenamd64-base:1.4
	netbsd-4-0-RC3:1.4
	yamt-x86pmap-base3:1.4
	yamt-x86pmap-base2:1.4
	netbsd-4-0-RC2:1.4
	yamt-x86pmap:1.4.0.46
	yamt-x86pmap-base:1.4
	netbsd-4-0-RC1:1.4
	matt-armv6:1.4.0.44
	matt-armv6-base:1.4
	jmcneill-pm:1.4.0.42
	jmcneill-pm-base:1.4
	hpcarm-cleanup:1.4.0.40
	hpcarm-cleanup-base:1.4
	nick-csl-alignment:1.4.0.38
	nick-csl-alignment-base:1.4
	matt-mips64:1.4.0.36
	matt-mips64-base:1.4
	netbsd-3-1-1-RELEASE:1.2
	netbsd-3-0-3-RELEASE:1.2
	yamt-idlelwp-base8:1.4
	wrstuden-fixsa:1.4.0.34
	wrstuden-fixsa-base:1.4
	ppcoea-renovation:1.4.0.32
	ppcoea-renovation-base:1.4
	thorpej-atomic:1.4.0.30
	thorpej-atomic-base:1.4
	reinoud-bufcleanup:1.4.0.28
	reinoud-bufcleanup-base:1.4
	mjf-ufs-trans:1.4.0.26
	mjf-ufs-trans-base:1.4
	vmlocking:1.4.0.24
	vmlocking-base:1.4
	ad-audiomp:1.4.0.22
	ad-audiomp-base:1.4
	yamt-idlelwp:1.4.0.20
	post-newlock2-merge:1.4
	newlock2-nbase:1.4
	yamt-splraiseipl-base5:1.4
	yamt-splraiseipl-base4:1.4
	yamt-splraiseipl-base3:1.4
	abandoned-netbsd-4-base:1.4
	abandoned-netbsd-4:1.4.0.12
	netbsd-3-1:1.2.0.22
	netbsd-3-1-RELEASE:1.2
	netbsd-3-0-2-RELEASE:1.2
	yamt-splraiseipl-base2:1.4
	netbsd-3-1-RC4:1.2
	yamt-splraiseipl:1.4.0.16
	yamt-splraiseipl-base:1.4
	netbsd-3-1-RC3:1.2
	yamt-pdpolicy-base9:1.4
	newlock2:1.4.0.14
	newlock2-base:1.4
	yamt-pdpolicy-base8:1.4
	netbsd-3-1-RC2:1.2
	netbsd-3-1-RC1:1.2
	yamt-pdpolicy-base7:1.4
	netbsd-4:1.4.0.18
	netbsd-4-base:1.4
	yamt-pdpolicy-base6:1.4
	chap-midi-nbase:1.4
	netbsd-3-0-1-RELEASE:1.2
	gdamore-uart:1.4.0.10
	gdamore-uart-base:1.4
	simonb-timcounters-final:1.3.6.1
	yamt-pdpolicy-base5:1.4
	chap-midi:1.4.0.8
	chap-midi-base:1.4
	yamt-pdpolicy-base4:1.4
	yamt-pdpolicy-base3:1.4
	peter-altq-base:1.4
	peter-altq:1.4.0.6
	yamt-pdpolicy-base2:1.4
	elad-kernelauth-base:1.4
	elad-kernelauth:1.4.0.4
	yamt-pdpolicy:1.4.0.2
	yamt-pdpolicy-base:1.4
	yamt-uio_vmspace-base5:1.3
	simonb-timecounters:1.3.0.6
	simonb-timecounters-base:1.4
	rpaulo-netinet-merge-pcb:1.3.0.4
	rpaulo-netinet-merge-pcb-base:1.4
	yamt-uio_vmspace:1.3.0.2
	netbsd-3-0:1.2.0.20
	netbsd-3-0-RELEASE:1.2
	netbsd-3-0-RC6:1.2
	yamt-readahead-base3:1.2
	netbsd-3-0-RC5:1.2
	netbsd-3-0-RC4:1.2
	netbsd-3-0-RC3:1.2
	yamt-readahead-base2:1.2
	netbsd-3-0-RC2:1.2
	yamt-readahead-pervnode:1.2
	yamt-readahead-perfile:1.2
	yamt-readahead:1.2.0.18
	yamt-readahead-base:1.2
	netbsd-3-0-RC1:1.2
	yamt-vop-base3:1.2
	netbsd-2-0-3-RELEASE:1.1
	netbsd-2-1:1.1.0.8
	yamt-vop-base2:1.2
	thorpej-vnode-attr:1.2.0.16
	thorpej-vnode-attr-base:1.2
	netbsd-2-1-RELEASE:1.1
	yamt-vop:1.2.0.14
	yamt-vop-base:1.2
	netbsd-2-1-RC6:1.1
	netbsd-2-1-RC5:1.1
	netbsd-2-1-RC4:1.1
	netbsd-2-1-RC3:1.1
	netbsd-2-1-RC2:1.1
	netbsd-2-1-RC1:1.1
	yamt-lazymbuf:1.2.0.12
	yamt-km-base4:1.2
	netbsd-2-0-2-RELEASE:1.1
	yamt-km-base3:1.2
	netbsd-3:1.2.0.10
	netbsd-3-base:1.2
	yamt-km-base2:1.2
	yamt-km:1.2.0.6
	yamt-km-base:1.2
	kent-audio2:1.2.0.4
	kent-audio2-base:1.2
	netbsd-2-0-1-RELEASE:1.1
	kent-audio1-beforemerge:1.2
	netbsd-2:1.1.0.6
	netbsd-2-base:1.1
	kent-audio1:1.2.0.2
	kent-audio1-base:1.2
	netbsd-2-0-RELEASE:1.1
	netbsd-2-0-RC5:1.1
	netbsd-2-0-RC4:1.1
	netbsd-2-0-RC3:1.1
	netbsd-2-0-RC2:1.1
	netbsd-2-0-RC1:1.1
	ktrace-lwp-base:1.2
	ktrace-lwp:1.1.0.4
	netbsd-2-0:1.1.0.2
	netbsd-2-0-base:1.1;
locks; strict;
comment	@# @;


1.6
date	2022.09.25.21.19.20;	author ryo;	state Exp;
branches;
next	1.5;
commitid	l2fQTuwYTuiDZhVD;

1.5
date	2019.05.06.17.12.50;	author ryo;	state Exp;
branches
	1.5.2.1;
next	1.4;
commitid	dQ3ycaGJRIqhqamB;

1.4
date	2006.03.04.02.00.16;	author uwe;	state Exp;
branches
	1.4.160.1;
next	1.3;

1.3
date	2005.12.11.12.17.06;	author christos;	state Exp;
branches
	1.3.4.1
	1.3.6.1;
next	1.2;

1.2
date	2004.09.18.03.32.30;	author itohy;	state Exp;
branches
	1.2.12.1;
next	1.1;

1.1
date	2003.08.24.17.33.30;	author marcus;	state Exp;
branches
	1.1.4.1;
next	;

1.5.2.1
date	2023.04.20.14.08.07;	author martin;	state Exp;
branches;
next	;
commitid	3LCu7RSr4XzaXQlE;

1.4.160.1
date	2019.06.10.22.06.02;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.3.4.1
date	2006.09.09.02.38.39;	author rpaulo;	state Exp;
branches;
next	;

1.3.6.1
date	2006.04.22.11.37.21;	author simonb;	state Exp;
branches;
next	;

1.2.12.1
date	2006.06.21.14.50.32;	author yamt;	state Exp;
branches;
next	;

1.1.4.1
date	2003.08.24.17.33.30;	author skrll;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2004.08.03.10.33.53;	author skrll;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	2004.09.18.14.33.38;	author skrll;	state Exp;
branches;
next	1.1.4.4;

1.1.4.4
date	2004.09.21.13.14.40;	author skrll;	state Exp;
branches;
next	;


desc
@@


1.6
log
@arm side of aica(4) sometimes became unresponsive when audioplay was performed several times.

- disabled data cache at startup.
- compiled with cross-arm-none-eabi-gcc-8.3.0nb4 of pkg.
- added memset() in asm because gcc8 (and later) detects the zero clear part in
  own bzero function and calls memset internally, and bzero were replaced with memset.
@
text
@#	$NetBSD: Makefile,v 1.5 2019/05/06 17:12:50 ryo Exp $

S	= ${.CURDIR}/../../../..

TOOLDIR	?= /usr/pkg/cross-arm-none-eabi

CC	= ${TOOLDIR}/bin/arm-none-eabi-gcc
OBJCOPY	= ${TOOLDIR}/bin/arm-none-eabi-objcopy

CFLAGS	= -W -Wall -mlittle-endian
CFLAGS	+= -O3 -mcpu=arm7
CFLAGS	+= -fomit-frame-pointer -funroll-loops -finline-functions
CFLAGS	+= -I${S}

all: aica_armcode.h

aica_armcode.h: aica_armcode.elf
	${OBJCOPY} -O binary aica_armcode.elf aica_armcode.bin
	echo '/* $$'NetBSD'$$ */' > ${.TARGET}.tmp
	echo 'static uint32_t aica_armcode[] = {' >> ${.TARGET}.tmp
	hexdump -v -e '" /* %04.4_ax */\t" 1/4 "0x%08x, " "\n"' \
		aica_armcode.bin >> ${.TARGET}.tmp
	echo '		0 };' >> ${.TARGET}.tmp
	mv ${.TARGET}.tmp ${.TARGET}

aica_armcode.elf: aica_arm_locore.o aica_arm.o
	${CC} ${CFLAGS} -Wl,-Ttext,0 -Wl,-T ldscript -nostdlib -e 0 \
		-o aica_armcode.elf aica_arm_locore.o aica_arm.o

clean: clean-tmp
#	rm -f aica_armcode.h

clean-tmp:
	rm -f *.o aica_armcode.elf aica_armcode.bin aica_armcode.h.tmp

@


1.5
log
@don't use tsleep() in interrupt context.
when the audio starts playing, initialization is performed on the aica arm driver side.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2006/03/04 02:00:16 uwe Exp $
d5 4
a8 2
CC	= ${TOOLDIR}/bin/arm--netbsdelf-gcc
OBJCOPY	= ${TOOLDIR}/bin/arm--netbsdelf-objcopy
a13 1
#AFLAGS	= -mcpu=arm7tdmi -mthumb -mthumb-interwork -mapcs-32
@


1.5.2.1
log
@Pull up following revision(s) (requested by tsutsui in ticket #1628):

	sys/arch/dreamcast/dev/microcode/aica_armcode.h: revision 1.5
	sys/arch/dreamcast/dev/microcode/aica_arm_locore.S: revision 1.4
	sys/arch/dreamcast/dev/microcode/aica_arm_locore.S: revision 1.5
	sys/arch/dreamcast/dev/microcode/Makefile: revision 1.6
	sys/arch/dreamcast/dev/microcode/aica_arm.c: revision 1.7
	sys/arch/dreamcast/dev/microcode/aica_arm.c: revision 1.8

arm side of aica(4) sometimes became unresponsive when audioplay was performed several times.
- disabled data cache at startup.
- compiled with cross-arm-none-eabi-gcc-8.3.0nb4 of pkg.
- added memset() in asm because gcc8 (and later) detects the zero clear part in
  own bzero function and calls memset internally, and bzero were replaced with memset.
improve comment, update mailaddr, and remove clause 3 from my licenses.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2019/05/06 17:12:50 ryo Exp $
d5 2
a6 4
TOOLDIR	?= /usr/pkg/cross-arm-none-eabi

CC	= ${TOOLDIR}/bin/arm-none-eabi-gcc
OBJCOPY	= ${TOOLDIR}/bin/arm-none-eabi-objcopy
d12 1
@


1.4
log
@s/u_intN_t/uintN_t/
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2005/12/11 12:17:06 christos Exp $
d9 1
a9 1
CFLAGS	+= -O3 -mcpu=arm7tdmi
@


1.4.160.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2019/05/06 17:12:50 ryo Exp $
d9 1
a9 1
CFLAGS	+= -O3 -mcpu=arm7
@


1.3
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.4.3 2004/09/21 13:14:40 skrll Exp $
d19 1
a19 1
	echo 'static u_int32_t aica_armcode[] = {' >> ${.TARGET}.tmp
@


1.3.4.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2006/03/04 02:00:16 uwe Exp $
d19 1
a19 1
	echo 'static uint32_t aica_armcode[] = {' >> ${.TARGET}.tmp
@


1.3.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2006/03/04 02:00:16 uwe Exp $
d19 1
a19 1
	echo 'static uint32_t aica_armcode[] = {' >> ${.TARGET}.tmp
@


1.2
log
@Make sure the string  dollar NetBSD doller  is stored literally.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2003/08/24 17:33:30 marcus Exp $
@


1.2.12.1
log
@sync with head.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2004/09/18 03:32:30 itohy Exp $
d19 1
a19 1
	echo 'static uint32_t aica_armcode[] = {' >> ${.TARGET}.tmp
@


1.1
log
@Added AICA sound driver contributed by Ryo Shimizu.
@
text
@d1 1
a1 1
#	$NetBSD$
d18 1
a18 1
	echo '/* $$NetBSD$$ */' > ${.TARGET}.tmp
@


1.1.4.1
log
@file Makefile was added on branch ktrace-lwp on 2004-08-03 10:33:53 +0000
@
text
@d1 34
@


1.1.4.2
log
@Sync with HEAD
@
text
@a0 34
#	$NetBSD: Makefile,v 1.1.4.1 2004/08/03 10:33:53 skrll Exp $

S	= ${.CURDIR}/../../../..

CC	= ${TOOLDIR}/bin/arm--netbsdelf-gcc
OBJCOPY	= ${TOOLDIR}/bin/arm--netbsdelf-objcopy

CFLAGS	= -W -Wall -mlittle-endian
CFLAGS	+= -O3 -mcpu=arm7tdmi
CFLAGS	+= -fomit-frame-pointer -funroll-loops -finline-functions
CFLAGS	+= -I${S}
#AFLAGS	= -mcpu=arm7tdmi -mthumb -mthumb-interwork -mapcs-32

all: aica_armcode.h

aica_armcode.h: aica_armcode.elf
	${OBJCOPY} -O binary aica_armcode.elf aica_armcode.bin
	echo '/* $$NetBSD: Makefile,v 1.1.4.1 2004/08/03 10:33:53 skrll Exp $$ */' > ${.TARGET}.tmp
	echo 'static u_int32_t aica_armcode[] = {' >> ${.TARGET}.tmp
	hexdump -v -e '" /* %04.4_ax */\t" 1/4 "0x%08x, " "\n"' \
		aica_armcode.bin >> ${.TARGET}.tmp
	echo '		0 };' >> ${.TARGET}.tmp
	mv ${.TARGET}.tmp ${.TARGET}

aica_armcode.elf: aica_arm_locore.o aica_arm.o
	${CC} ${CFLAGS} -Wl,-Ttext,0 -Wl,-T ldscript -nostdlib -e 0 \
		-o aica_armcode.elf aica_arm_locore.o aica_arm.o

clean: clean-tmp
#	rm -f aica_armcode.h

clean-tmp:
	rm -f *.o aica_armcode.elf aica_armcode.bin aica_armcode.h.tmp

@


1.1.4.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.4.2 2004/09/18 14:33:38 skrll Exp $
d18 1
a18 1
	echo '/* $$'NetBSD'$$ */' > ${.TARGET}.tmp
@


1.1.4.4
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.4.3 2004/09/21 13:14:40 skrll Exp $
@
