head	1.25;
access;
symbols
	netbsd-11-0-RC3:1.25
	netbsd-11-0-RC2:1.25
	netbsd-11-0-RC1:1.25
	perseant-exfatfs-base-20250801:1.25
	netbsd-11:1.25.0.38
	netbsd-11-base:1.25
	netbsd-10-1-RELEASE:1.25
	perseant-exfatfs-base-20240630:1.25
	perseant-exfatfs:1.25.0.36
	perseant-exfatfs-base:1.25
	netbsd-8-3-RELEASE:1.24
	netbsd-9-4-RELEASE:1.25
	netbsd-10-0-RELEASE:1.25
	netbsd-10-0-RC6:1.25
	netbsd-10-0-RC5:1.25
	netbsd-10-0-RC4:1.25
	netbsd-10-0-RC3:1.25
	netbsd-10-0-RC2:1.25
	thorpej-ifq:1.25.0.34
	thorpej-ifq-base:1.25
	thorpej-altq-separation:1.25.0.32
	thorpej-altq-separation-base:1.25
	netbsd-10-0-RC1:1.25
	netbsd-10:1.25.0.30
	netbsd-10-base:1.25
	bouyer-sunxi-drm:1.25.0.28
	bouyer-sunxi-drm-base:1.25
	netbsd-9-3-RELEASE:1.25
	thorpej-i2c-spi-conf2:1.25.0.26
	thorpej-i2c-spi-conf2-base:1.25
	thorpej-futex2:1.25.0.24
	thorpej-futex2-base:1.25
	thorpej-cfargs2:1.25.0.22
	thorpej-cfargs2-base:1.25
	cjep_sun2x-base1:1.25
	cjep_sun2x:1.25.0.20
	cjep_sun2x-base:1.25
	cjep_staticlib_x-base1:1.25
	netbsd-9-2-RELEASE:1.25
	cjep_staticlib_x:1.25.0.18
	cjep_staticlib_x-base:1.25
	thorpej-i2c-spi-conf:1.25.0.16
	thorpej-i2c-spi-conf-base:1.25
	thorpej-cfargs:1.25.0.14
	thorpej-cfargs-base:1.25
	thorpej-futex:1.25.0.12
	thorpej-futex-base:1.25
	netbsd-9-1-RELEASE:1.25
	bouyer-xenpvh-base2:1.25
	phil-wifi-20200421:1.25
	bouyer-xenpvh-base1:1.25
	phil-wifi-20200411:1.25
	bouyer-xenpvh:1.25.0.10
	bouyer-xenpvh-base:1.25
	is-mlppp:1.25.0.8
	is-mlppp-base:1.25
	phil-wifi-20200406:1.25
	netbsd-8-2-RELEASE:1.24
	ad-namecache-base3:1.25
	netbsd-9-0-RELEASE:1.25
	netbsd-9-0-RC2:1.25
	ad-namecache-base2:1.25
	ad-namecache-base1:1.25
	ad-namecache:1.25.0.6
	ad-namecache-base:1.25
	netbsd-9-0-RC1:1.25
	phil-wifi-20191119:1.25
	netbsd-9:1.25.0.4
	netbsd-9-base:1.25
	phil-wifi-20190609:1.25
	netbsd-8-1-RELEASE:1.24
	netbsd-8-1-RC1:1.24
	isaki-audio2:1.25.0.2
	isaki-audio2-base:1.25
	pgoyette-compat-merge-20190127:1.24.12.1
	pgoyette-compat-20190127:1.25
	pgoyette-compat-20190118:1.25
	pgoyette-compat-1226:1.24
	pgoyette-compat-1126:1.24
	pgoyette-compat-1020:1.24
	pgoyette-compat-0930:1.24
	pgoyette-compat-0906:1.24
	netbsd-7-2-RELEASE:1.22
	pgoyette-compat-0728:1.24
	netbsd-8-0-RELEASE:1.24
	phil-wifi:1.24.0.14
	phil-wifi-base:1.24
	pgoyette-compat-0625:1.24
	netbsd-8-0-RC2:1.24
	pgoyette-compat-0521:1.24
	pgoyette-compat-0502:1.24
	pgoyette-compat-0422:1.24
	netbsd-8-0-RC1:1.24
	pgoyette-compat-0415:1.24
	pgoyette-compat-0407:1.24
	pgoyette-compat-0330:1.24
	pgoyette-compat-0322:1.24
	pgoyette-compat-0315:1.24
	netbsd-7-1-2-RELEASE:1.22
	pgoyette-compat:1.24.0.12
	pgoyette-compat-base:1.24
	netbsd-7-1-1-RELEASE:1.22
	tls-maxphys-base-20171202:1.24
	matt-nb8-mediatek:1.24.0.10
	matt-nb8-mediatek-base:1.24
	nick-nhusb-base-20170825:1.24
	perseant-stdc-iso10646:1.24.0.8
	perseant-stdc-iso10646-base:1.24
	netbsd-8:1.24.0.6
	netbsd-8-base:1.24
	prg-localcount2-base3:1.24
	prg-localcount2-base2:1.24
	prg-localcount2-base1:1.24
	prg-localcount2:1.24.0.4
	prg-localcount2-base:1.24
	pgoyette-localcount-20170426:1.24
	bouyer-socketcan-base1:1.24
	jdolecek-ncq:1.24.0.2
	jdolecek-ncq-base:1.24
	pgoyette-localcount-20170320:1.23
	netbsd-7-1:1.22.0.14
	netbsd-7-1-RELEASE:1.22
	netbsd-7-1-RC2:1.22
	nick-nhusb-base-20170204:1.23
	netbsd-7-nhusb-base-20170116:1.22
	bouyer-socketcan:1.23.0.2
	bouyer-socketcan-base:1.23
	pgoyette-localcount-20170107:1.23
	netbsd-7-1-RC1:1.22
	nick-nhusb-base-20161204:1.23
	pgoyette-localcount-20161104:1.23
	netbsd-7-0-2-RELEASE:1.22
	nick-nhusb-base-20161004:1.23
	localcount-20160914:1.23
	netbsd-7-nhusb:1.22.0.12
	netbsd-7-nhusb-base:1.22
	pgoyette-localcount-20160806:1.22
	pgoyette-localcount-20160726:1.22
	pgoyette-localcount:1.22.0.10
	pgoyette-localcount-base:1.22
	nick-nhusb-base-20160907:1.22
	nick-nhusb-base-20160529:1.22
	netbsd-7-0-1-RELEASE:1.22
	nick-nhusb-base-20160422:1.22
	nick-nhusb-base-20160319:1.22
	nick-nhusb-base-20151226:1.22
	netbsd-7-0:1.22.0.8
	netbsd-7-0-RELEASE:1.22
	nick-nhusb-base-20150921:1.22
	netbsd-7-0-RC3:1.22
	netbsd-7-0-RC2:1.22
	netbsd-7-0-RC1:1.22
	nick-nhusb-base-20150606:1.22
	nick-nhusb-base-20150406:1.22
	nick-nhusb:1.22.0.6
	nick-nhusb-base:1.22
	netbsd-5-2-3-RELEASE:1.15
	netbsd-5-1-5-RELEASE:1.15
	netbsd-6-0-6-RELEASE:1.21
	netbsd-6-1-5-RELEASE:1.21
	netbsd-7:1.22.0.4
	netbsd-7-base:1.22
	yamt-pagecache-base9:1.22
	yamt-pagecache-tag8:1.21
	netbsd-6-1-4-RELEASE:1.21
	netbsd-6-0-5-RELEASE:1.21
	tls-earlyentropy:1.22.0.2
	tls-earlyentropy-base:1.22
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.22
	riastradh-drm2-base3:1.22
	netbsd-6-1-3-RELEASE:1.21
	netbsd-6-0-4-RELEASE:1.21
	netbsd-5-2-2-RELEASE:1.15
	netbsd-5-1-4-RELEASE:1.15
	netbsd-6-1-2-RELEASE:1.21
	netbsd-6-0-3-RELEASE:1.21
	netbsd-5-2-1-RELEASE:1.15
	netbsd-5-1-3-RELEASE:1.15
	rmind-smpnet-nbase:1.22
	netbsd-6-1-1-RELEASE:1.21
	riastradh-drm2-base2:1.21
	riastradh-drm2-base1:1.21
	riastradh-drm2:1.21.0.26
	riastradh-drm2-base:1.21
	rmind-smpnet:1.21.0.18
	rmind-smpnet-base:1.22
	netbsd-6-1:1.21.0.24
	netbsd-6-0-2-RELEASE:1.21
	netbsd-6-1-RELEASE:1.21
	khorben-n900:1.21.0.22
	netbsd-6-1-RC4:1.21
	netbsd-6-1-RC3:1.21
	agc-symver:1.21.0.20
	agc-symver-base:1.21
	netbsd-6-1-RC2:1.21
	netbsd-6-1-RC1:1.21
	yamt-pagecache-base8:1.21
	netbsd-5-2:1.15.0.28
	netbsd-6-0-1-RELEASE:1.21
	yamt-pagecache-base7:1.21
	netbsd-5-2-RELEASE:1.15
	netbsd-5-2-RC1:1.15
	matt-nb6-plus-nbase:1.21
	yamt-pagecache-base6:1.21
	netbsd-6-0:1.21.0.16
	netbsd-6-0-RELEASE:1.21
	netbsd-6-0-RC2:1.21
	tls-maxphys:1.21.0.14
	tls-maxphys-base:1.22
	matt-nb6-plus:1.21.0.12
	matt-nb6-plus-base:1.21
	netbsd-6-0-RC1:1.21
	jmcneill-usbmp-base10:1.21
	yamt-pagecache-base5:1.21
	jmcneill-usbmp-base9:1.21
	yamt-pagecache-base4:1.21
	jmcneill-usbmp-base8:1.21
	jmcneill-usbmp-base7:1.21
	jmcneill-usbmp-base6:1.21
	jmcneill-usbmp-base5:1.21
	jmcneill-usbmp-base4:1.21
	jmcneill-usbmp-base3:1.21
	jmcneill-usbmp-pre-base2:1.21
	jmcneill-usbmp-base2:1.21
	netbsd-6:1.21.0.10
	netbsd-6-base:1.21
	netbsd-5-1-2-RELEASE:1.15
	netbsd-5-1-1-RELEASE:1.15
	jmcneill-usbmp:1.21.0.8
	jmcneill-usbmp-base:1.21
	jmcneill-audiomp3:1.21.0.6
	jmcneill-audiomp3-base:1.21
	yamt-pagecache-base3:1.21
	yamt-pagecache-base2:1.21
	yamt-pagecache:1.21.0.4
	yamt-pagecache-base:1.21
	rmind-uvmplock-nbase:1.21
	cherry-xenmp:1.21.0.2
	cherry-xenmp-base:1.21
	jym-xensuspend-nbase:1.21
	uebayasi-xip-base7:1.19
	bouyer-quota2-nbase:1.21
	bouyer-quota2:1.17.0.8
	bouyer-quota2-base:1.19
	jruoho-x86intr:1.17.0.6
	jruoho-x86intr-base:1.17
	matt-mips64-premerge-20101231:1.17
	matt-nb5-mips64-premerge-20101231:1.15.22.1
	matt-nb5-pq3:1.15.0.26
	matt-nb5-pq3-base:1.15
	netbsd-5-1:1.15.0.24
	uebayasi-xip-base6:1.17
	uebayasi-xip-base5:1.17
	netbsd-5-1-RELEASE:1.15
	uebayasi-xip-base4:1.17
	uebayasi-xip-base3:1.17
	yamt-nfs-mp-base11:1.17
	netbsd-5-1-RC4:1.15
	matt-nb5-mips64-k15:1.15.22.1
	uebayasi-xip-base2:1.17
	yamt-nfs-mp-base10:1.17
	netbsd-5-1-RC3:1.15
	netbsd-5-1-RC2:1.15
	uebayasi-xip-base1:1.17
	netbsd-5-1-RC1:1.15
	rmind-uvmplock:1.17.0.4
	rmind-uvmplock-base:1.21
	yamt-nfs-mp-base9:1.17
	uebayasi-xip:1.17.0.2
	uebayasi-xip-base:1.17
	netbsd-5-0-2-RELEASE:1.15
	matt-nb5-mips64-premerge-20091211:1.15.22.1
	matt-premerge-20091211:1.16
	yamt-nfs-mp-base8:1.16
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.15.22.1
	matt-nb4-mips64-k7-u2a-k9b:1.15
	matt-nb5-mips64-u1-k1-k5:1.15
	yamt-nfs-mp-base7:1.16
	matt-nb5-mips64:1.15.0.22
	netbsd-5-0-1-RELEASE:1.15
	jymxensuspend-base:1.16
	yamt-nfs-mp-base6:1.16
	yamt-nfs-mp-base5:1.16
	yamt-nfs-mp-base4:1.16
	yamt-nfs-mp-base3:1.16
	nick-hppapmap-base4:1.16
	nick-hppapmap-base3:1.16
	netbsd-5-0:1.15.0.20
	netbsd-5-0-RELEASE:1.15
	netbsd-5-0-RC4:1.15
	netbsd-5-0-RC3:1.15
	nick-hppapmap-base2:1.15
	netbsd-5-0-RC2:1.15
	jym-xensuspend:1.15.0.18
	jym-xensuspend-base:1.21
	netbsd-5-0-RC1:1.15
	haad-dm-base2:1.15
	haad-nbase2:1.15
	ad-audiomp2:1.15.0.16
	ad-audiomp2-base:1.15
	netbsd-5:1.15.0.14
	netbsd-5-base:1.15
	nick-hppapmap:1.15.0.12
	nick-hppapmap-base:1.16
	matt-mips64-base2:1.15
	haad-dm-base1:1.15
	wrstuden-revivesa-base-4:1.15
	netbsd-4-0-1-RELEASE:1.13
	wrstuden-revivesa-base-3:1.15
	wrstuden-revivesa-base-2:1.15
	wrstuden-fixsa-newbase:1.13
	nick-csl-alignment-base5:1.13
	haad-dm:1.15.0.10
	haad-dm-base:1.15
	wrstuden-revivesa-base-1:1.15
	simonb-wapbl-nbase:1.15
	yamt-pf42-base4:1.15
	simonb-wapbl:1.15.0.8
	simonb-wapbl-base:1.15
	yamt-pf42-base3:1.15
	hpcarm-cleanup-nbase:1.15
	yamt-pf42-baseX:1.15
	yamt-pf42-base2:1.15
	yamt-nfs-mp-base2:1.15
	wrstuden-revivesa:1.15.0.6
	wrstuden-revivesa-base:1.15
	yamt-nfs-mp:1.15.0.4
	yamt-nfs-mp-base:1.15
	yamt-pf42:1.15.0.2
	yamt-pf42-base:1.15
	ad-socklock-base1:1.14
	yamt-lazymbuf-base15:1.14
	yamt-lazymbuf-base14:1.14
	keiichi-mipv6-nbase:1.14
	mjf-devfs2:1.13.0.74
	mjf-devfs2-base:1.15
	nick-net80211-sync:1.13.0.72
	nick-net80211-sync-base:1.13
	keiichi-mipv6:1.13.0.70
	keiichi-mipv6-base:1.14
	bouyer-xeni386-merge1:1.13
	matt-armv6-prevmlocking:1.13
	wrstuden-fixsa-base-1:1.13
	vmlocking2-base3:1.13
	netbsd-4-0:1.13.0.68
	netbsd-4-0-RELEASE:1.13
	bouyer-xeni386-nbase:1.13
	yamt-kmem-base3:1.13
	cube-autoconf:1.13.0.66
	cube-autoconf-base:1.13
	yamt-kmem-base2:1.13
	bouyer-xeni386:1.13.0.64
	bouyer-xeni386-base:1.13
	yamt-kmem:1.13.0.62
	yamt-kmem-base:1.13
	vmlocking2-base2:1.13
	reinoud-bufcleanup-nbase:1.13
	vmlocking2:1.13.0.60
	vmlocking2-base1:1.13
	netbsd-4-0-RC5:1.13
	matt-nb4-arm:1.13.0.58
	matt-nb4-arm-base:1.13
	matt-armv6-nbase:1.14
	jmcneill-base:1.13
	netbsd-4-0-RC4:1.13
	mjf-devfs:1.13.0.56
	mjf-devfs-base:1.13
	bouyer-xenamd64-base2:1.13
	vmlocking-nbase:1.13
	yamt-x86pmap-base4:1.13
	bouyer-xenamd64:1.13.0.54
	bouyer-xenamd64-base:1.13
	netbsd-4-0-RC3:1.13
	yamt-x86pmap-base3:1.13
	yamt-x86pmap-base2:1.13
	netbsd-4-0-RC2:1.13
	yamt-x86pmap:1.13.0.52
	yamt-x86pmap-base:1.13
	netbsd-4-0-RC1:1.13
	matt-armv6:1.13.0.50
	matt-armv6-base:1.13
	jmcneill-pm:1.13.0.48
	jmcneill-pm-base:1.13
	hpcarm-cleanup:1.13.0.46
	hpcarm-cleanup-base:1.14
	nick-csl-alignment:1.13.0.44
	nick-csl-alignment-base:1.13
	matt-mips64:1.13.0.42
	matt-mips64-base:1.13
	netbsd-3-1-1-RELEASE:1.12
	netbsd-3-0-3-RELEASE:1.12
	yamt-idlelwp-base8:1.13
	wrstuden-fixsa:1.13.0.40
	wrstuden-fixsa-base:1.13
	ppcoea-renovation:1.13.0.38
	ppcoea-renovation-base:1.13
	thorpej-atomic:1.13.0.36
	thorpej-atomic-base:1.13
	reinoud-bufcleanup:1.13.0.34
	reinoud-bufcleanup-base:1.13
	mjf-ufs-trans:1.13.0.32
	mjf-ufs-trans-base:1.13
	vmlocking:1.13.0.30
	vmlocking-base:1.13
	ad-audiomp:1.13.0.28
	ad-audiomp-base:1.13
	yamt-idlelwp:1.13.0.26
	post-newlock2-merge:1.13
	newlock2-nbase:1.13
	yamt-splraiseipl-base5:1.13
	yamt-splraiseipl-base4:1.13
	yamt-splraiseipl-base3:1.13
	abandoned-netbsd-4-base:1.13
	abandoned-netbsd-4:1.13.0.18
	netbsd-3-1:1.12.0.28
	netbsd-3-1-RELEASE:1.12
	netbsd-3-0-2-RELEASE:1.12
	yamt-splraiseipl-base2:1.13
	netbsd-3-1-RC4:1.12
	yamt-splraiseipl:1.13.0.22
	yamt-splraiseipl-base:1.13
	netbsd-3-1-RC3:1.12
	yamt-pdpolicy-base9:1.13
	newlock2:1.13.0.20
	newlock2-base:1.13
	yamt-pdpolicy-base8:1.13
	netbsd-3-1-RC2:1.12
	netbsd-3-1-RC1:1.12
	yamt-pdpolicy-base7:1.13
	netbsd-4:1.13.0.24
	netbsd-4-base:1.13
	yamt-pdpolicy-base6:1.13
	chap-midi-nbase:1.13
	netbsd-3-0-1-RELEASE:1.12
	gdamore-uart:1.13.0.16
	gdamore-uart-base:1.13
	simonb-timcounters-final:1.13
	yamt-pdpolicy-base5:1.13
	chap-midi:1.13.0.14
	chap-midi-base:1.13
	yamt-pdpolicy-base4:1.13
	yamt-pdpolicy-base3:1.13
	peter-altq-base:1.13
	peter-altq:1.13.0.12
	yamt-pdpolicy-base2:1.13
	elad-kernelauth-base:1.13
	elad-kernelauth:1.13.0.10
	yamt-pdpolicy:1.13.0.8
	yamt-pdpolicy-base:1.13
	yamt-uio_vmspace-base5:1.13
	simonb-timecounters:1.13.0.6
	simonb-timecounters-base:1.13
	rpaulo-netinet-merge-pcb:1.13.0.4
	rpaulo-netinet-merge-pcb-base:1.13
	yamt-uio_vmspace:1.13.0.2
	netbsd-3-0:1.12.0.26
	netbsd-3-0-RELEASE:1.12
	netbsd-3-0-RC6:1.12
	yamt-readahead-base3:1.12
	netbsd-3-0-RC5:1.12
	netbsd-3-0-RC4:1.12
	netbsd-3-0-RC3:1.12
	yamt-readahead-base2:1.12
	netbsd-3-0-RC2:1.12
	yamt-readahead-pervnode:1.12
	yamt-readahead-perfile:1.12
	yamt-readahead:1.12.0.24
	yamt-readahead-base:1.12
	netbsd-3-0-RC1:1.12
	yamt-vop-base3:1.12
	netbsd-2-0-3-RELEASE:1.12
	netbsd-2-1:1.12.0.22
	yamt-vop-base2:1.12
	thorpej-vnode-attr:1.12.0.20
	thorpej-vnode-attr-base:1.12
	netbsd-2-1-RELEASE:1.12
	yamt-vop:1.12.0.18
	yamt-vop-base:1.12
	netbsd-2-1-RC6:1.12
	netbsd-2-1-RC5:1.12
	netbsd-2-1-RC4:1.12
	netbsd-2-1-RC3:1.12
	netbsd-2-1-RC2:1.12
	netbsd-2-1-RC1:1.12
	yamt-lazymbuf:1.12.0.16
	yamt-km-base4:1.12
	netbsd-2-0-2-RELEASE:1.12
	yamt-km-base3:1.12
	netbsd-3:1.12.0.14
	netbsd-3-base:1.12
	yamt-km-base2:1.12
	yamt-km:1.12.0.10
	yamt-km-base:1.12
	kent-audio2:1.12.0.8
	kent-audio2-base:1.12
	netbsd-2-0-1-RELEASE:1.12
	kent-audio1-beforemerge:1.12
	netbsd-2:1.12.0.6
	netbsd-2-base:1.12
	kent-audio1:1.12.0.4
	kent-audio1-base:1.12
	netbsd-2-0-RELEASE:1.12
	netbsd-2-0-RC5:1.12
	netbsd-2-0-RC4:1.12
	netbsd-2-0-RC3:1.12
	netbsd-2-0-RC2:1.12
	netbsd-2-0-RC1:1.12
	netbsd-2-0:1.12.0.2
	netbsd-2-0-base:1.12
	netbsd-1-6-PATCH002-RELEASE:1.6
	netbsd-1-6-PATCH002:1.6
	netbsd-1-6-PATCH002-RC4:1.6
	netbsd-1-6-PATCH002-RC3:1.6
	netbsd-1-6-PATCH002-RC2:1.6
	netbsd-1-6-PATCH002-RC1:1.6
	ktrace-lwp:1.8.0.2
	ktrace-lwp-base:1.12
	netbsd-1-6-PATCH001:1.6
	netbsd-1-6-PATCH001-RELEASE:1.6
	netbsd-1-6-PATCH001-RC3:1.6
	netbsd-1-6-PATCH001-RC2:1.6
	netbsd-1-6-PATCH001-RC1:1.6
	nathanw_sa_before_merge:1.8
	fvdl_fs64_base:1.8
	gmcgarry_ctxsw:1.7.0.4
	gmcgarry_ctxsw_base:1.7
	gmcgarry_ucred:1.7.0.2
	gmcgarry_ucred_base:1.7
	nathanw_sa_base:1.8
	kqueue-aftermerge:1.6
	kqueue-beforemerge:1.6
	netbsd-1-6-RELEASE:1.6
	netbsd-1-6-RC3:1.6
	netbsd-1-6-RC2:1.6
	netbsd-1-6-RC1:1.6
	netbsd-1-6:1.6.0.12
	netbsd-1-6-base:1.6
	gehenna-devsw:1.6.0.10
	gehenna-devsw-base:1.6
	eeh-devprop:1.6.0.8
	eeh-devprop-base:1.6
	newlock:1.6.0.6
	newlock-base:1.6
	ifpoll-base:1.6
	kqueue-base:1.6
	kqueue:1.6.0.2;
locks; strict;
comment	@# @;


1.25
date	2019.01.12.16.44.47;	author tsutsui;	state Exp;
branches;
next	1.24;
commitid	7OXyb3uOrDFQVv7B;

1.24
date	2017.04.08.19.53.22;	author christos;	state Exp;
branches
	1.24.12.1
	1.24.14.1;
next	1.23;

1.23
date	2016.09.08.14.43.48;	author christos;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	2014.01.12.15.26.30;	author tsutsui;	state Exp;
branches
	1.22.6.1
	1.22.10.1;
next	1.21;

1.21
date	2011.02.26.16.26.58;	author matt;	state Exp;
branches
	1.21.4.1
	1.21.14.1
	1.21.18.1;
next	1.20;

1.20
date	2011.02.20.07.59.51;	author matt;	state Exp;
branches;
next	1.19;

1.19
date	2011.01.24.19.26.16;	author joerg;	state Exp;
branches;
next	1.18;

1.18
date	2011.01.22.19.19.23;	author joerg;	state Exp;
branches;
next	1.17;

1.17
date	2009.12.14.00.46.14;	author matt;	state Exp;
branches
	1.17.4.1
	1.17.6.1
	1.17.8.1;
next	1.16;

1.16
date	2009.03.15.15.20.12;	author tsutsui;	state Exp;
branches;
next	1.15;

1.15
date	2008.03.28.16.41.37;	author tsutsui;	state Exp;
branches
	1.15.4.1
	1.15.12.1
	1.15.18.1
	1.15.22.1;
next	1.14;

1.14
date	2008.02.23.06.51.28;	author tsutsui;	state Exp;
branches;
next	1.13;

1.13
date	2005.12.11.12.18.58;	author christos;	state Exp;
branches
	1.13.50.1
	1.13.70.1
	1.13.74.1;
next	1.12;

1.12
date	2003.11.17.09.32.58;	author sekiya;	state Exp;
branches
	1.12.16.1;
next	1.11;

1.11
date	2003.11.11.06.47.00;	author sekiya;	state Exp;
branches;
next	1.10;

1.10
date	2003.10.26.07.25.37;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	2003.10.08.01.40.23;	author simonb;	state Exp;
branches;
next	1.8;

1.8
date	2002.12.23.19.31.24;	author pooka;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	2002.11.10.17.12.58;	author thorpej;	state Exp;
branches;
next	1.6;

1.6
date	2001.12.20.20.30.59;	author thorpej;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2001.12.12.01.49.51;	author tv;	state Exp;
branches;
next	1.4;

1.4
date	2001.11.22.02.18.24;	author soren;	state Exp;
branches;
next	1.3;

1.3
date	2001.11.22.01.30.03;	author soren;	state Exp;
branches;
next	1.2;

1.2
date	2001.11.22.00.58.07;	author thorpej;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.21.19.09.06;	author thorpej;	state Exp;
branches;
next	;

1.24.12.1
date	2019.01.18.08.50.22;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.24.14.1
date	2019.06.10.22.06.44;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.23.2.1
date	2017.04.21.16.53.35;	author bouyer;	state Exp;
branches;
next	;

1.22.6.1
date	2016.10.05.20.55.35;	author skrll;	state Exp;
branches;
next	1.22.6.2;

1.22.6.2
date	2017.08.28.17.51.51;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.22.10.1
date	2017.04.26.02.53.06;	author pgoyette;	state Exp;
branches;
next	;

1.21.4.1
date	2014.05.22.11.40.07;	author yamt;	state Exp;
branches;
next	;

1.21.14.1
date	2014.08.20.00.03.23;	author tls;	state Exp;
branches;
next	1.21.14.2;

1.21.14.2
date	2017.12.03.11.36.42;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.21.18.1
date	2014.05.18.17.45.24;	author rmind;	state Exp;
branches;
next	;

1.17.4.1
date	2011.03.05.20.51.55;	author rmind;	state Exp;
branches;
next	;

1.17.6.1
date	2011.06.06.09.06.41;	author jruoho;	state Exp;
branches;
next	;

1.17.8.1
date	2011.02.08.16.19.39;	author bouyer;	state Exp;
branches;
next	1.17.8.2;

1.17.8.2
date	2011.03.05.15.10.03;	author bouyer;	state Exp;
branches;
next	;

1.15.4.1
date	2009.05.04.08.11.51;	author yamt;	state Exp;
branches;
next	1.15.4.2;

1.15.4.2
date	2010.03.11.15.02.55;	author yamt;	state Exp;
branches;
next	;

1.15.12.1
date	2009.04.28.07.34.38;	author skrll;	state Exp;
branches;
next	;

1.15.18.1
date	2009.05.13.17.18.21;	author jym;	state Exp;
branches;
next	;

1.15.22.1
date	2009.09.10.01.51.32;	author matt;	state Exp;
branches;
next	;

1.13.50.1
date	2008.03.23.02.04.21;	author matt;	state Exp;
branches;
next	;

1.13.70.1
date	2008.03.24.07.15.03;	author keiichi;	state Exp;
branches;
next	;

1.13.74.1
date	2008.04.03.12.42.24;	author mjf;	state Exp;
branches;
next	;

1.12.16.1
date	2008.02.27.08.36.24;	author yamt;	state Exp;
branches;
next	;

1.8.2.1
date	2004.08.03.10.40.15;	author skrll;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2004.09.18.14.39.54;	author skrll;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2004.09.21.13.21.25;	author skrll;	state Exp;
branches;
next	;

1.6.2.1
date	2001.12.20.20.30.59;	author thorpej;	state dead;
branches;
next	1.6.2.2;

1.6.2.2
date	2002.01.10.19.48.33;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Import irisboot, yet another bootloader for pre-ARC sgimips machines.

This bootloader adds support for Personal IRIS 4D/25 (IP6),
Personal IRIS 4D/35 (IP12), and Indigo R3000 (IP12) etc. and
optionally supports R4000 Indy and Indigo R4000 (ARCS machine)
using standalone WD33C93 SCSI driver.

Submitted by Naruaki Etomi via PR port-sgimips/53539,
and reviewed by tsutsui@@.  See also port-sgimips@@ ML thread:
 https://mail-index.netbsd.org/port-sgimips/2018/09/16/msg000778.html
@
text
@# $NetBSD: Makefile.booters,v 1.24 2017/04/08 19:53:22 christos Exp $

# PROG set by parent.
NOMAN=		# defined
NOPIE=		# defined

.include <bsd.init.mk>
.include <bsd.sys.mk>		# for HOST_SH

# $S must correspond to the top of the 'sys' tree
S=	${.CURDIR}/../../../..

BINMODE?=	444

# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBCRTI=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=

realall: ${PROG}

.PATH:		${.CURDIR}/../common
.if !defined(PRE_ARCS)
.PATH.S:	${S}/dev/arcbios
.endif
AFLAGS+=	-D_LOCORE -D_KERNEL -mno-abicalls
CPPFLAGS+=	-nostdinc -D_STANDALONE -DNO_ABICALLS -I${.OBJDIR} -I${S}
# compiler flags for smallest code size
CFLAGS=		-ffreestanding -Os -Wall -Werror -mno-abicalls -msoft-float -G 1024
.if ${MACHINE_ARCH} == "mips64eb"
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
.endif
CWARNFLAGS+=	-Wall -Werror
CWARNFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CWARNFLAGS+=	-Wno-pointer-sign
LDBUG=		-T $S/arch/mips/conf/stand.ldscript
NETBSD_VERS!=	${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+=	-DNETBSD_VERS='"${NETBSD_VERS}"'

CPPFLAGS+=	-Dsgimips

.if !defined(PRE_ARCS)
.include "${S}/dev/arcbios/Makefile.inc"
.endif

# We load the kernel at 420K in from the start of RAM to give the boot
# loader plenty of breathing room.  Load the boot loader starting at
# the second page of RAM.
# A warm thank-you to SGI for making load addresses different :)
LOAD_ADDRESS?=		0x88002000
LOAD_ADDRESS_IP12?=	0x80368000
LOAD_ADDRESS_IP32?=	0x80002000

.include "${S}/conf/newvers_stand.mk"

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+=SA_USE_LOADFILE=yes SA_USE_CREAD=yes
# for now:
SAMISCMAKEFLAGS+=SA_INCLUDE_NET=no
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}


LIBS=		${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}

.include <bsd.klinks.mk>
.include <bsd.prog.mk>
@


1.24
log
@centralize vers.c building for standalone programs.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.23 2016/09/08 14:43:48 christos Exp $
d25 1
d27 1
d45 1
d47 1
d54 1
@


1.24.14.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.25 2019/01/12 16:44:47 tsutsui Exp $
a24 1
.if !defined(PRE_ARCS)
a25 1
.endif
a42 1
.if !defined(PRE_ARCS)
a43 1
.endif
a49 1
LOAD_ADDRESS_IP12?=	0x80368000
@


1.24.12.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.24 2017/04/08 19:53:22 christos Exp $
a24 1
.if !defined(PRE_ARCS)
a25 1
.endif
a42 1
.if !defined(PRE_ARCS)
a43 1
.endif
a49 1
LOAD_ADDRESS_IP12?=	0x80368000
@


1.23
log
@Avoid the PIE
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.22 2014/01/12 15:26:30 tsutsui Exp $
d52 1
a52 11
# if there is a 'version' file, add rule for vers.c and add it to SRCS
# and CLEANFILES
.if exists(version)
.PHONY: vers.c
vers.c: ${.CURDIR}/version
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "sgimips"

SRCS+=	vers.c
CLEANFILES+= vers.c
.endif
@


1.23.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.24 2017/04/08 19:53:22 christos Exp $
d52 11
a62 1
.include "${S}/conf/newvers_stand.mk"
@


1.22
log
@Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.21 2011/02/26 16:26:58 matt Exp $
d5 1
d7 1
a7 1
.include <bsd.own.mk>
@


1.22.10.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.24 2017/04/08 19:53:22 christos Exp $
d51 11
a61 1
.include "${S}/conf/newvers_stand.mk"
@


1.22.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.23 2016/09/08 14:43:48 christos Exp $
a4 1
NOPIE=		# defined
d6 1
a6 1
.include <bsd.init.mk>
@


1.22.6.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.22.6.1 2016/10/05 20:55:35 skrll Exp $
d52 11
a62 1
.include "${S}/conf/newvers_stand.mk"
@


1.21
log
@Make sure that sgimips64 can build the O32 bootloaders
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.20 2011/02/20 07:59:51 matt Exp $
d16 1
@


1.21.14.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
# $NetBSD$
a15 1
LIBCRTI=
@


1.21.14.2
log
@update from HEAD
@
text
@a4 1
NOPIE=		# defined
d6 1
a6 1
.include <bsd.init.mk>
d51 11
a61 1
.include "${S}/conf/newvers_stand.mk"
@


1.21.4.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.21 2011/02/26 16:26:58 matt Exp $
a15 1
LIBCRTI=
@


1.21.18.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.21 2011/02/26 16:26:58 matt Exp $
a15 1
LIBCRTI=
@


1.20
log
@Merge forward matt-nb5-mips64
Adapt to new interrupt/spl framework
Deal with arcbios calls being O32 and kernels being N32/N64.
Need to save/restore T8 across arcbios calls.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.19 2011/01/24 19:26:16 joerg Exp $
d29 2
a30 3
CPUFLAGS+=	-mips3 -mabi=32
LDFLAGS+=	-mips3 -mabi=32
MACHINE_ARCH=	mipseb
@


1.19
log
@Define NOMAN earlier
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.18 2011/01/22 19:19:23 joerg Exp $
d23 1
d29 3
a31 2
CPUFLAGS+=	-mabi=n32
LDFLAGS+=	-mabi=n32
d42 2
@


1.18
log
@Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh.  Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
@
text
@d1 4
a4 1
# $NetBSD: src/sys/arch/sgimips/stand/Makefile.booters,v 1.17 2009-12-14 00:46:14 matt Exp $
a39 3
# PROG set by parent.
NOMAN=		# defined

@


1.17
log
@Merge from matt-nb5-mips64
Merge mips-specific arch files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.16 2009/03/15 15:20:12 tsutsui Exp $
d3 1
d52 2
a53 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "sgimips"
@


1.17.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.21 2011/02/26 16:26:58 matt Exp $
a2 4
# PROG set by parent.
NOMAN=		# defined

.include <bsd.own.mk>
a18 1
.PATH.S:	${S}/dev/arcbios
d24 2
a25 2
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
d36 2
a37 1
.include "${S}/dev/arcbios/Makefile.inc"
d51 1
a51 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "sgimips"
@


1.17.4.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD$
a2 4
# PROG set by parent.
NOMAN=		# defined

.include <bsd.own.mk>
a18 1
.PATH.S:	${S}/dev/arcbios
d24 2
a25 2
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
d36 2
a37 1
.include "${S}/dev/arcbios/Makefile.inc"
d51 1
a51 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "sgimips"
@


1.17.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.19 2011/01/24 19:26:16 joerg Exp $
a2 4
# PROG set by parent.
NOMAN=		# defined

.include <bsd.own.mk>
d36 3
d51 1
a51 2
	${HOST_SH} ${S}/conf/newvers_stand.sh ${${MKREPRO} == "yes" :?:-D} \
	    ${.CURDIR}/version "sgimips"
@


1.17.8.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD$
a22 1
.PATH.S:	${S}/dev/arcbios
d28 2
a29 2
AFLAGS+=	-mips3 -mabi=32
CFLAGS+=	-mips3 -mabi=32
a39 2
.include "${S}/dev/arcbios/Makefile.inc"

@


1.16
log
@- use <bsd.klinks.mk> to create MD include dir symlinks
- make sure to remove lib subdirs on clean and distclean target
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.15 2008/03/28 16:41:37 tsutsui Exp $
d23 7
a29 3
CFLAGS+=	-Wall -Werror
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CFLAGS+=	-Wno-pointer-sign
@


1.15
log
@Enable warning options.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.14 2008/02/23 06:51:28 tsutsui Exp $
a70 8
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	@@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
	@@([ -h mips ] || ln -s ${S}/arch/mips/include mips)
.NOPATH: machine mips
.endif
CLEANFILES+= machine mips

d74 1
@


1.15.22.1
log
@Add preliminary LP64 support for sgimips
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.15 2008/03/28 16:41:37 tsutsui Exp $
d23 3
a25 7
.if ${MACHINE_ARCH} == "mips64eb"
CPUFLAGS+=	-mabi=n32
LDFLAGS+=	-mabi=n32
.endif
CWARNFLAGS+=	-Wall -Werror
CWARNFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CWARNFLAGS+=	-Wno-pointer-sign
@


1.15.18.1
log
@Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.16 2009/03/15 15:20:12 tsutsui Exp $
d71 8
a81 1
.include <bsd.klinks.mk>
@


1.15.4.1
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.15 2008/03/28 16:41:37 tsutsui Exp $
d71 8
a81 1
.include <bsd.klinks.mk>
@


1.15.4.2
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.15.4.1 2009/05/04 08:11:51 yamt Exp $
d23 3
a25 7
.if ${MACHINE_ARCH} == "mips64eb"
CPUFLAGS+=	-mabi=n32
LDFLAGS+=	-mabi=n32
.endif
CWARNFLAGS+=	-Wall -Werror
CWARNFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CWARNFLAGS+=	-Wno-pointer-sign
@


1.15.12.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.16 2009/03/15 15:20:12 tsutsui Exp $
d71 8
a81 1
.include <bsd.klinks.mk>
@


1.14
log
@- use bootprog_name[] generated by sys/conf/newvers_stand.sh
- constify, KNF
- fix bootloader names in comment
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.13 2005/12/11 12:18:58 christos Exp $
d23 3
@


1.13
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.8.2.3 2004/09/21 13:21:25 skrll Exp $
d44 1
a44 1
	${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sgimips"
@


1.13.74.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD$
a22 3
CFLAGS+=	-Wall -Werror
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
CFLAGS+=	-Wno-pointer-sign
d44 1
a44 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "sgimips"
@


1.13.70.1
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.14 2008/02/23 06:51:28 tsutsui Exp $
d44 1
a44 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "sgimips"
@


1.13.50.1
log
@sync with HEAD
@
text
@d1 1
a1 1
# Makefile.booters,v 1.13 2005/12/11 12:18:58 christos Exp
d44 1
a44 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "sgimips"
@


1.12
log
@Rationalize the machine-links creation mechanism.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.11 2003/11/11 06:47:00 sekiya Exp $
@


1.12.16.1
log
@sync with head.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.12 2003/11/17 09:32:58 sekiya Exp $
d44 1
a44 1
	${HOST_SH} ${S}/conf/newvers_stand.sh ${.CURDIR}/version "sgimips"
@


1.11
log
@Rework the boot loader:
	* remove dead code,
	* streamline kernel selection logic,
	* various small bugfixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.10 2003/10/26 07:25:37 lukem Exp $
d16 1
a16 11
.PHONY: machine-links
beforedepend: machine-links
# ${MACHINE} then ${MACHINE_ARCH}
machine-links:
	-rm -f machine && \
	    ln -s $S/arch/${MACHINE}/include machine
	-rm -f mips && \
	    ln -s $S/arch/mips/include mips
CLEANFILES+= machine mips

realall: machine-links ${PROG}
d67 9
@


1.10
log
@Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.9 2003/10/08 01:40:23 simonb Exp $
a29 2
# -I${.CURDIR}/../.. done by Makefile.inc
#CPPFLAGS+=	-nostdinc -D_STANDALONE -DNO_ABICALLS -DHEAP_VARIABLE -I${.OBJDIR} -I${S}
d32 1
a32 1
CFLAGS=		-ffreestanding -Os -g -mmemcpy -mno-abicalls -msoft-float -G 128
@


1.9
log
@Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
@
text
@d1 3
a3 1
# $NetBSD: Makefile.booters,v 1.8 2002/12/23 19:31:24 pooka Exp $
d36 1
a36 1
NETBSD_VERS!=	sh ${.CURDIR}/../../../../conf/osrelease.sh
d56 1
a56 1
	sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sgimips"
@


1.8
log
@also create boot.ip32 with the entry point set to the IP32 load address

from Chris Sekiya
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.7 2002/11/10 17:12:58 thorpej Exp $
d7 6
@


1.8.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 3
# $NetBSD: Makefile.booters,v 1.12 2003/11/17 09:32:58 sekiya Exp $

.include <bsd.sys.mk>		# for HOST_SH
d8 9
a16 5
# XXX SHOULD NOT NEED TO DEFINE THESE!
LIBCRT0=
LIBC=
LIBCRTBEGIN=
LIBCRTEND=
d18 1
a18 1
realall: ${PROG}
d22 2
d26 1
a26 1
CFLAGS=		-ffreestanding -Os -Wall -Werror -mno-abicalls -msoft-float -G 1024
d28 1
a28 1
NETBSD_VERS!=	${HOST_SH} ${.CURDIR}/../../../../conf/osrelease.sh
d48 1
a48 1
	${HOST_SH} ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sgimips"
a71 9
.if !make(obj) && !make(clean) && !make(cleandir)
.BEGIN:
	@@([ -h machine ] || ln -s ${S}/arch/${MACHINE}/include machine)
	@@([ -h mips ] || ln -s ${S}/arch/mips/include mips)
.NOPATH: machine mips
.endif
CLEANFILES+= machine mips


@


1.8.2.2
log
@Sync with HEAD.
@
text
@@


1.8.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.8.2.1 2004/08/03 10:40:15 skrll Exp $
@


1.7
log
@Add "-mno-abicalls" to AFLAGS.  Add "-ffreestanding -msoft-float" to
CFLAGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.6 2001/12/20 20:30:59 thorpej Exp $
d39 1
d41 1
@


1.6
log
@Add -Dsgimips to CPPFLAGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.5 2001/12/12 01:49:51 tv Exp $
d21 1
a21 1
AFLAGS+=	-D_LOCORE -D_KERNEL
d26 1
a26 1
CFLAGS=		-Os -g -mmemcpy -mno-abicalls -G 128
a27 1

@


1.6.2.1
log
@file Makefile.booters was added on branch kqueue on 2002-01-10 19:48:33 +0000
@
text
@d1 73
@


1.6.2.2
log
@Sync kqueue branch with -current.
@
text
@a0 73
# $NetBSD: Makefile.booters,v 1.6.2.1 2002/01/10 19:48:33 thorpej Exp $

# $S must correspond to the top of the 'sys' tree
S=	${.CURDIR}/../../../..

BINMODE?=	444

.PHONY: machine-links
beforedepend: machine-links
# ${MACHINE} then ${MACHINE_ARCH}
machine-links:
	-rm -f machine && \
	    ln -s $S/arch/${MACHINE}/include machine
	-rm -f mips && \
	    ln -s $S/arch/mips/include mips
CLEANFILES+= machine mips

realall: machine-links ${PROG}

.PATH:		${.CURDIR}/../common
AFLAGS+=	-D_LOCORE -D_KERNEL
# -I${.CURDIR}/../.. done by Makefile.inc
#CPPFLAGS+=	-nostdinc -D_STANDALONE -DNO_ABICALLS -DHEAP_VARIABLE -I${.OBJDIR} -I${S}
CPPFLAGS+=	-nostdinc -D_STANDALONE -DNO_ABICALLS -I${.OBJDIR} -I${S}
# compiler flags for smallest code size
CFLAGS=		-Os -g -mmemcpy -mno-abicalls -G 128
LDBUG=		-T $S/arch/mips/conf/stand.ldscript

NETBSD_VERS!=	sh ${.CURDIR}/../../../../conf/osrelease.sh
CPPFLAGS+=	-DNETBSD_VERS='"${NETBSD_VERS}"'

CPPFLAGS+=	-Dsgimips

# PROG set by parent.
NOMAN=		# defined

# We load the kernel at 420K in from the start of RAM to give the boot
# loader plenty of breathing room.  Load the boot loader starting at
# the second page of RAM.
LOAD_ADDRESS?=		0x88002000

# if there is a 'version' file, add rule for vers.c and add it to SRCS
# and CLEANFILES
.if exists(version)
.PHONY: vers.c
vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sgimips"

SRCS+=	vers.c
CLEANFILES+= vers.c
.endif

### find out what to use for libkern
KERN_AS=	library
.include "${S}/lib/libkern/Makefile.inc"
LIBKERN=	${KERNLIB}

### find out what to use for libz
Z_AS=		library
.include "${S}/lib/libz/Makefile.inc"
LIBZ=		${ZLIB}

### find out what to use for libsa
SA_AS=		library
SAMISCMAKEFLAGS+=SA_USE_LOADFILE=yes SA_USE_CREAD=yes
# for now:
SAMISCMAKEFLAGS+=SA_INCLUDE_NET=no
.include "${S}/lib/libsa/Makefile.inc"
LIBSA=		${SALIB}

LIBS=		${LIBSA} ${LIBZ} ${LIBSA} ${LIBKERN}

.include <bsd.prog.mk>
@


1.5
log
@MKfoo=no -> NOfoo
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.4 2001/11/22 02:18:24 soren Exp $
d31 2
@


1.4
log
@Nuke cleandir target override.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.3 2001/11/22 01:30:03 soren Exp $
d33 1
a33 1
MKMAN=		no
@


1.3
log
@Note kernel load adress change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.2 2001/11/22 00:58:07 thorpej Exp $
a69 5

cleandir distclean: cleanlibdir

cleanlibdir:
	rm -rf lib
@


1.2
log
@- Clean up the bootloader Makefiles somewhat.
- Build an ECOFF version of the bootloader as "boot".  As a temporary
  measure (due to a bug in libbfd which has not yet been fixed, but
  for which a work-around exists as a patch), install and ELF version
  of the bootload as well as "boot.elf".  "boot.elf" will go away once
  the toolchain issue is resolved.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.booters,v 1.1 2001/11/21 19:09:06 thorpej Exp $
d35 1
a35 1
# We load the kernel at 512K in from the start of RAM to give the boot
@


1.1
log
@Initial cut at a bootloader for NetBSD/sgimips, by Michael Hitch.
@
text
@d1 1
a1 1
# $NetBSD$
d6 11
a16 12
.BEGIN: machine sgimips mips
${PROG} realdepend realall: machine sgimips mips
CLEANFILES+= machine sgimips mips
machine:
	-rm -f ${.TARGET}
	ln -s $S/arch/${MACHINE}/include ${.TARGET}
sgimips:
	-rm -f ${.TARGET}
	ln -s $S/arch/${MACHINE}/include ${.TARGET}
mips:
	-rm -f ${.TARGET}
	ln -s $S/arch/mips/include mips
d18 1
a18 1
BINMODE?=	444
d34 13
a46 1
LOAD_ADDRESS?=	0x89000000
d49 1
a69 15

.PHONY: vers.c
vers.c: ${.CURDIR}/version
	sh ${S}/conf/newvers_stand.sh -N ${.CURDIR}/version "sgimips"

${PROG}: machine mips sgimips ${OBJS} ${LIBS}
	${LD} -Map ${PROG}.map -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \
	    -e start -o ${PROG} ${OBJS} ${LIBS}
	@@${SIZE} ${PROG}
.if defined(CHECKSIZE_CMD)
	@@${CHECKSIZE_CMD} ${PROG} ${PRIMARY_MAX_LOAD} ${PRIMARY_MAX_TOTAL} || \
	    (rm -f ${PROG} ; false)
.endif

CLEANFILES+=	${PROG}.map
@
