head 1.190; access; symbols netbsd-11-0-RC4:1.189 netbsd-11-0-RC3:1.189 netbsd-11-0-RC2:1.189 netbsd-11-0-RC1:1.189 perseant-exfatfs-base-20250801:1.189 netbsd-11:1.189.0.8 netbsd-11-base:1.189 netbsd-10-1-RELEASE:1.187.4.1 perseant-exfatfs-base-20240630:1.189 perseant-exfatfs:1.189.0.6 perseant-exfatfs-base:1.189 netbsd-8-3-RELEASE:1.147.2.4 netbsd-9-4-RELEASE:1.178.4.2 netbsd-10-0-RELEASE:1.187.4.1 netbsd-10-0-RC6:1.187.4.1 netbsd-10-0-RC5:1.187.4.1 netbsd-10-0-RC4:1.187.4.1 netbsd-10-0-RC3:1.187.4.1 netbsd-10-0-RC2:1.187.4.1 thorpej-ifq:1.189.0.4 thorpej-ifq-base:1.189 thorpej-altq-separation:1.189.0.2 thorpej-altq-separation-base:1.189 netbsd-10-0-RC1:1.187.4.1 netbsd-10:1.187.0.4 netbsd-10-base:1.187 bouyer-sunxi-drm:1.187.0.2 bouyer-sunxi-drm-base:1.187 netbsd-9-3-RELEASE:1.178.4.1 thorpej-i2c-spi-conf2:1.186.0.16 thorpej-i2c-spi-conf2-base:1.186 thorpej-futex2:1.186.0.14 thorpej-futex2-base:1.186 thorpej-cfargs2:1.186.0.12 thorpej-cfargs2-base:1.186 cjep_sun2x-base1:1.186 cjep_sun2x:1.186.0.10 cjep_sun2x-base:1.186 cjep_staticlib_x-base1:1.186 netbsd-9-2-RELEASE:1.178.4.1 cjep_staticlib_x:1.186.0.8 cjep_staticlib_x-base:1.186 thorpej-i2c-spi-conf:1.186.0.6 thorpej-i2c-spi-conf-base:1.186 thorpej-cfargs:1.186.0.4 thorpej-cfargs-base:1.186 thorpej-futex:1.186.0.2 thorpej-futex-base:1.186 netbsd-9-1-RELEASE:1.178.4.1 bouyer-xenpvh-base2:1.181 phil-wifi-20200421:1.181 bouyer-xenpvh-base1:1.180 phil-wifi-20200411:1.180 bouyer-xenpvh:1.180.0.2 bouyer-xenpvh-base:1.180 is-mlppp:1.179.0.4 is-mlppp-base:1.179 phil-wifi-20200406:1.180 netbsd-8-2-RELEASE:1.147.2.3 ad-namecache-base3:1.179 netbsd-9-0-RELEASE:1.178 netbsd-9-0-RC2:1.178 ad-namecache-base2:1.179 ad-namecache-base1:1.179 ad-namecache:1.179.0.2 ad-namecache-base:1.179 netbsd-9-0-RC1:1.178 phil-wifi-20191119:1.179 netbsd-9:1.178.0.4 netbsd-9-base:1.178 phil-wifi-20190609:1.178 netbsd-8-1-RELEASE:1.147.2.1 netbsd-8-1-RC1:1.147.2.1 isaki-audio2:1.178.0.2 isaki-audio2-base:1.178 pgoyette-compat-merge-20190127:1.165.2.7 pgoyette-compat-20190127:1.175 pgoyette-compat-20190118:1.175 pgoyette-compat-1226:1.175 pgoyette-compat-1126:1.170 pgoyette-compat-1020:1.170 pgoyette-compat-0930:1.170 pgoyette-compat-0906:1.170 netbsd-7-2-RELEASE:1.133.4.3 pgoyette-compat-0728:1.170 netbsd-8-0-RELEASE:1.147.2.1 phil-wifi:1.169.0.2 phil-wifi-base:1.169 pgoyette-compat-0625:1.169 netbsd-8-0-RC2:1.147.2.1 pgoyette-compat-0521:1.168 pgoyette-compat-0502:1.168 pgoyette-compat-0422:1.168 netbsd-8-0-RC1:1.147.2.1 pgoyette-compat-0415:1.168 pgoyette-compat-0407:1.168 pgoyette-compat-0330:1.168 pgoyette-compat-0322:1.168 pgoyette-compat-0315:1.165 netbsd-7-1-2-RELEASE:1.133.4.2 pgoyette-compat:1.165.0.2 pgoyette-compat-base:1.165 netbsd-7-1-1-RELEASE:1.133.4.2 tls-maxphys-base-20171202:1.164 matt-nb8-mediatek:1.147.2.1.0.2 matt-nb8-mediatek-base:1.147.2.1 nick-nhusb-base-20170825:1.156 perseant-stdc-iso10646:1.149.0.2 perseant-stdc-iso10646-base:1.149 netbsd-8:1.147.0.2 netbsd-8-base:1.147 prg-localcount2-base3:1.146 prg-localcount2-base2:1.146 prg-localcount2-base1:1.146 prg-localcount2:1.146.0.4 prg-localcount2-base:1.146 pgoyette-localcount-20170426:1.146 bouyer-socketcan-base1:1.146 jdolecek-ncq:1.146.0.2 jdolecek-ncq-base:1.146 pgoyette-localcount-20170320:1.145 netbsd-7-1:1.133.4.2.0.2 netbsd-7-1-RELEASE:1.133.4.2 netbsd-7-1-RC2:1.133.4.2 nick-nhusb-base-20170204:1.143 netbsd-7-nhusb-base-20170116:1.133.4.2 bouyer-socketcan:1.143.0.2 bouyer-socketcan-base:1.143 pgoyette-localcount-20170107:1.143 netbsd-7-1-RC1:1.133.4.2 nick-nhusb-base-20161204:1.141 pgoyette-localcount-20161104:1.141 netbsd-7-0-2-RELEASE:1.133 nick-nhusb-base-20161004:1.141 localcount-20160914:1.141 netbsd-7-nhusb:1.133.0.8 netbsd-7-nhusb-base:1.133 pgoyette-localcount-20160806:1.141 pgoyette-localcount-20160726:1.141 pgoyette-localcount:1.141.0.2 pgoyette-localcount-base:1.141 nick-nhusb-base-20160907:1.141 nick-nhusb-base-20160529:1.141 netbsd-7-0-1-RELEASE:1.133 nick-nhusb-base-20160422:1.140 nick-nhusb-base-20160319:1.140 nick-nhusb-base-20151226:1.138 netbsd-7-0:1.133.0.6 netbsd-7-0-RELEASE:1.133 nick-nhusb-base-20150921:1.137 netbsd-7-0-RC3:1.133 netbsd-7-0-RC2:1.133 netbsd-7-0-RC1:1.133 nick-nhusb-base-20150606:1.137 nick-nhusb-base-20150406:1.137 nick-nhusb:1.134.0.2 nick-nhusb-base:1.134 netbsd-5-2-3-RELEASE:1.88.4.7 netbsd-5-1-5-RELEASE:1.88.4.5 netbsd-6-0-6-RELEASE:1.125 netbsd-6-1-5-RELEASE:1.125 netbsd-7:1.133.0.4 netbsd-7-base:1.133 yamt-pagecache-base9:1.133 yamt-pagecache-tag8:1.123.2.3 netbsd-6-1-4-RELEASE:1.125 netbsd-6-0-5-RELEASE:1.125 tls-earlyentropy:1.133.0.2 tls-earlyentropy-base:1.133 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.133 riastradh-drm2-base3:1.133 netbsd-6-1-3-RELEASE:1.125 netbsd-6-0-4-RELEASE:1.125 netbsd-5-2-2-RELEASE:1.88.4.7 netbsd-5-1-4-RELEASE:1.88.4.5 netbsd-6-1-2-RELEASE:1.125 netbsd-6-0-3-RELEASE:1.125 netbsd-5-2-1-RELEASE:1.88.4.7 netbsd-5-1-3-RELEASE:1.88.4.5 rmind-smpnet-nbase:1.133 netbsd-6-1-1-RELEASE:1.125 riastradh-drm2-base2:1.129 riastradh-drm2-base1:1.129 riastradh-drm2:1.129.0.8 riastradh-drm2-base:1.129 rmind-smpnet:1.129.0.2 rmind-smpnet-base:1.133 netbsd-6-1:1.125.0.8 netbsd-6-0-2-RELEASE:1.125 netbsd-6-1-RELEASE:1.125 khorben-n900:1.129.0.6 netbsd-6-1-RC4:1.125 netbsd-6-1-RC3:1.125 agc-symver:1.129.0.4 agc-symver-base:1.129 netbsd-6-1-RC2:1.125 netbsd-6-1-RC1:1.125 yamt-pagecache-base8:1.129 netbsd-5-2:1.88.4.7.0.2 netbsd-6-0-1-RELEASE:1.125 yamt-pagecache-base7:1.129 netbsd-5-2-RELEASE:1.88.4.7 netbsd-5-2-RC1:1.88.4.7 matt-nb6-plus-nbase:1.125 yamt-pagecache-base6:1.129 netbsd-6-0:1.125.0.6 netbsd-6-0-RELEASE:1.125 netbsd-6-0-RC2:1.125 tls-maxphys:1.128.0.2 tls-maxphys-base:1.133 matt-nb6-plus:1.125.0.4 matt-nb6-plus-base:1.125 netbsd-6-0-RC1:1.125 jmcneill-usbmp-base10:1.126 yamt-pagecache-base5:1.126 jmcneill-usbmp-base9:1.125 yamt-pagecache-base4:1.125 jmcneill-usbmp-base8:1.125 jmcneill-usbmp-base7:1.125 jmcneill-usbmp-base6:1.125 jmcneill-usbmp-base5:1.125 jmcneill-usbmp-base4:1.125 jmcneill-usbmp-base3:1.125 jmcneill-usbmp-pre-base2:1.123 jmcneill-usbmp-base2:1.125 netbsd-6:1.125.0.2 netbsd-6-base:1.125 netbsd-5-1-2-RELEASE:1.88.4.5 netbsd-5-1-1-RELEASE:1.88.4.5 jmcneill-usbmp:1.123.0.6 jmcneill-usbmp-base:1.123 jmcneill-audiomp3:1.123.0.4 jmcneill-audiomp3-base:1.123 yamt-pagecache-base3:1.123 yamt-pagecache-base2:1.123 yamt-pagecache:1.123.0.2 yamt-pagecache-base:1.123 rmind-uvmplock-nbase:1.118 cherry-xenmp:1.118.0.2 cherry-xenmp-base:1.118 uebayasi-xip-base7:1.110 bouyer-quota2-nbase:1.113 bouyer-quota2:1.110.0.4 bouyer-quota2-base:1.110 jruoho-x86intr:1.110.0.2 jruoho-x86intr-base:1.110 matt-mips64-premerge-20101231:1.110 matt-nb5-mips64-premerge-20101231:1.88.4.2.4.1 matt-nb5-pq3:1.88.4.5.0.4 matt-nb5-pq3-base:1.88.4.5 netbsd-5-1:1.88.4.5.0.2 uebayasi-xip-base6:1.109 uebayasi-xip-base5:1.109 netbsd-5-1-RELEASE:1.88.4.5 uebayasi-xip-base4:1.109 uebayasi-xip-base3:1.109 yamt-nfs-mp-base11:1.109 netbsd-5-1-RC4:1.88.4.5 matt-nb5-mips64-k15:1.88.4.2.4.1 uebayasi-xip-base2:1.109 yamt-nfs-mp-base10:1.109 netbsd-5-1-RC3:1.88.4.5 netbsd-5-1-RC2:1.88.4.5 uebayasi-xip-base1:1.106 netbsd-5-1-RC1:1.88.4.5 rmind-uvmplock:1.106.0.4 rmind-uvmplock-base:1.118 yamt-nfs-mp-base9:1.106 uebayasi-xip:1.106.0.2 uebayasi-xip-base:1.106 netbsd-5-0-2-RELEASE:1.88.4.2 matt-nb5-mips64-premerge-20091211:1.88.4.2 matt-premerge-20091211:1.106 yamt-nfs-mp-base8:1.104 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.88.4.2 matt-nb4-mips64-k7-u2a-k9b:1.88.4.2 matt-nb5-mips64-u1-k1-k5:1.88.4.2 yamt-nfs-mp-base7:1.104 matt-nb5-mips64:1.88.4.2.0.4 netbsd-5-0-1-RELEASE:1.88.4.2 jymxensuspend-base:1.100 yamt-nfs-mp-base6:1.100 yamt-nfs-mp-base5:1.100 yamt-nfs-mp-base4:1.99 jym-xensuspend-nbase:1.122 yamt-nfs-mp-base3:1.99 nick-hppapmap-base4:1.98 nick-hppapmap-base3:1.98 netbsd-5-0:1.88.4.2.0.2 netbsd-5-0-RELEASE:1.88.4.2 netbsd-5-0-RC4:1.88.4.2 netbsd-5-0-RC3:1.88.4.2 nick-hppapmap-base2:1.95 netbsd-5-0-RC2:1.88.4.1 jym-xensuspend:1.92.0.2 jym-xensuspend-base:1.122 netbsd-5-0-RC1:1.88.4.1 haad-dm-base2:1.90 haad-nbase2:1.90 ad-audiomp2:1.90.0.2 ad-audiomp2-base:1.90 netbsd-5:1.88.0.4 netbsd-5-base:1.88 nick-hppapmap:1.88.0.2 nick-hppapmap-base:1.98 matt-mips64-base2:1.88 haad-dm-base1:1.88 wrstuden-revivesa-base-4:1.88 netbsd-4-0-1-RELEASE:1.53.2.1 wrstuden-revivesa-base-3:1.88 wrstuden-revivesa-base-2:1.88 wrstuden-fixsa-newbase:1.53.2.1 nick-csl-alignment-base5:1.63 haad-dm:1.87.0.4 haad-dm-base:1.90 wrstuden-revivesa-base-1:1.87 simonb-wapbl-nbase:1.87 yamt-pf42-base4:1.87 simonb-wapbl:1.87.0.2 simonb-wapbl-base:1.87 yamt-pf42-base3:1.87 hpcarm-cleanup-nbase:1.87 yamt-pf42-baseX:1.83 yamt-pf42-base2:1.87 yamt-nfs-mp-base2:1.87 wrstuden-revivesa:1.84.0.4 wrstuden-revivesa-base:1.87 yamt-nfs-mp:1.84.0.2 yamt-nfs-mp-base:1.84 yamt-pf42:1.83.0.2 yamt-pf42-base:1.83 ad-socklock-base1:1.83 yamt-lazymbuf-base15:1.83 yamt-lazymbuf-base14:1.83 keiichi-mipv6-nbase:1.83 mjf-devfs2:1.82.0.6 mjf-devfs2-base:1.91 nick-net80211-sync:1.82.0.4 nick-net80211-sync-base:1.82 keiichi-mipv6:1.82.0.2 keiichi-mipv6-base:1.83 bouyer-xeni386-merge1:1.75.6.7 matt-armv6-prevmlocking:1.63.10.1 wrstuden-fixsa-base-1:1.53.2.1 vmlocking2-base3:1.75 netbsd-4-0:1.53.2.1.0.4 netbsd-4-0-RELEASE:1.53.2.1 bouyer-xeni386-nbase:1.79 yamt-kmem-base3:1.75 cube-autoconf:1.75.0.8 cube-autoconf-base:1.75 yamt-kmem-base2:1.75 bouyer-xeni386:1.75.0.6 bouyer-xeni386-base:1.79 yamt-kmem:1.75.0.4 yamt-kmem-base:1.75 vmlocking2-base2:1.75 reinoud-bufcleanup-nbase:1.75 vmlocking2:1.75.0.2 vmlocking2-base1:1.75 netbsd-4-0-RC5:1.53.2.1 matt-nb4-arm:1.53.2.1.0.2 matt-nb4-arm-base:1.53.2.1 matt-armv6-nbase:1.83 jmcneill-base:1.68 netbsd-4-0-RC4:1.53.2.1 mjf-devfs:1.68.0.2 mjf-devfs-base:1.81 bouyer-xenamd64-base2:1.69 vmlocking-nbase:1.75 yamt-x86pmap-base4:1.65 bouyer-xenamd64:1.64.0.2 bouyer-xenamd64-base:1.70 netbsd-4-0-RC3:1.53.2.1 yamt-x86pmap-base3:1.64 yamt-x86pmap-base2:1.64 netbsd-4-0-RC2:1.53.2.1 yamt-x86pmap:1.63.0.12 yamt-x86pmap-base:1.63 netbsd-4-0-RC1:1.53.2.1 matt-armv6:1.63.0.10 matt-armv6-base:1.76 jmcneill-pm:1.63.0.8 jmcneill-pm-base:1.75 hpcarm-cleanup:1.63.0.6 hpcarm-cleanup-base:1.83 nick-csl-alignment:1.63.0.4 nick-csl-alignment-base:1.63 matt-mips64:1.63.0.2 matt-mips64-base:1.63 netbsd-3-1-1-RELEASE:1.18.2.11 netbsd-3-0-3-RELEASE:1.18.2.6 yamt-idlelwp-base8:1.60 wrstuden-fixsa:1.53.0.4 wrstuden-fixsa-base:1.53.2.1 ppcoea-renovation:1.59.0.2 ppcoea-renovation-base:1.64 thorpej-atomic:1.58.0.2 thorpej-atomic-base:1.58 reinoud-bufcleanup:1.57.0.6 reinoud-bufcleanup-base:1.75 mjf-ufs-trans:1.57.0.4 mjf-ufs-trans-base:1.63 vmlocking:1.57.0.2 vmlocking-base:1.64 ad-audiomp:1.56.0.2 ad-audiomp-base:1.56 yamt-idlelwp:1.55.0.2 post-newlock2-merge:1.55 newlock2-nbase:1.54 yamt-splraiseipl-base5:1.54 yamt-splraiseipl-base4:1.53 yamt-splraiseipl-base3:1.53 abandoned-netbsd-4-base:1.45 abandoned-netbsd-4:1.45.0.2 netbsd-3-1:1.18.2.11.0.2 netbsd-3-1-RELEASE:1.18.2.11 netbsd-3-0-2-RELEASE:1.18.2.6 yamt-splraiseipl-base2:1.53 netbsd-3-1-RC4:1.18.2.11 yamt-splraiseipl:1.46.0.4 yamt-splraiseipl-base:1.46 netbsd-3-1-RC3:1.18.2.11 yamt-pdpolicy-base9:1.46 newlock2:1.46.0.2 newlock2-base:1.54 yamt-pdpolicy-base8:1.46 netbsd-3-1-RC2:1.18.2.10 netbsd-3-1-RC1:1.18.2.10 yamt-pdpolicy-base7:1.46 netbsd-4:1.53.0.2 netbsd-4-base:1.53 yamt-pdpolicy-base6:1.42 chap-midi-nbase:1.42 netbsd-3-0-1-RELEASE:1.18.2.6 gdamore-uart:1.42.0.2 gdamore-uart-base:1.42 simonb-timcounters-final:1.33.4.2 yamt-pdpolicy-base5:1.41 chap-midi:1.40.0.2 chap-midi-base:1.42 yamt-pdpolicy-base4:1.40 yamt-pdpolicy-base3:1.38 peter-altq-base:1.37 peter-altq:1.37.0.4 yamt-pdpolicy-base2:1.37 elad-kernelauth-base:1.40 elad-kernelauth:1.37.0.2 yamt-pdpolicy:1.34.0.2 yamt-pdpolicy-base:1.34 yamt-uio_vmspace-base5:1.34 simonb-timecounters:1.33.0.4 simonb-timecounters-base:1.42 rpaulo-netinet-merge-pcb:1.33.0.2 rpaulo-netinet-merge-pcb-base:1.46 yamt-uio_vmspace:1.32.0.2 netbsd-3-0:1.18.2.6.0.2 netbsd-3-0-RELEASE:1.18.2.6 netbsd-3-0-RC6:1.18.2.6 yamt-readahead-base3:1.31 netbsd-3-0-RC5:1.18.2.6 netbsd-3-0-RC4:1.18.2.6 netbsd-3-0-RC3:1.18.2.6 yamt-readahead-base2:1.31 netbsd-3-0-RC2:1.18.2.6 yamt-readahead-pervnode:1.30 yamt-readahead-perfile:1.30 yamt-readahead:1.30.0.2 yamt-readahead-base:1.30 netbsd-3-0-RC1:1.18.2.6 yamt-vop-base3:1.29 netbsd-2-0-3-RELEASE:1.3.2.1 netbsd-2-1:1.3.2.1.0.4 yamt-vop-base2:1.29 thorpej-vnode-attr:1.29.0.4 thorpej-vnode-attr-base:1.29 netbsd-2-1-RELEASE:1.3.2.1 yamt-vop:1.29.0.2 yamt-vop-base:1.29 netbsd-2-1-RC6:1.3.2.1 netbsd-2-1-RC5:1.3.2.1 netbsd-2-1-RC4:1.3.2.1 netbsd-2-1-RC3:1.3.2.1 netbsd-2-1-RC2:1.3.2.1 netbsd-2-1-RC1:1.3.2.1 yamt-lazymbuf:1.25.0.2 yamt-km-base4:1.18 netbsd-2-0-2-RELEASE:1.3.2.1 yamt-km-base3:1.18 netbsd-3:1.18.0.2 netbsd-3-base:1.18 yamt-km-base2:1.16 yamt-km:1.14.0.8 yamt-km-base:1.14 kent-audio2:1.14.0.6 kent-audio2-base:1.21 netbsd-2-0-1-RELEASE:1.3.2.1 kent-audio1-beforemerge:1.14 netbsd-2:1.3.2.1.0.2 netbsd-2-base:1.3.2.1 bouyer-xen2:1.14.0.4 bouyer-xen2-base:1.14 kent-audio1:1.14.0.2 kent-audio1-base:1.14 netbsd-2-0-RELEASE:1.3.2.1 netbsd-2-0-RC5:1.3.2.1 netbsd-2-0-RC4:1.3.2.1 netbsd-2-0-RC3:1.3.2.1 netbsd-2-0-RC2:1.3.2.1 netbsd-2-0-RC1:1.3.2.1 ktrace-lwp-base:1.31 ktrace-lwp:1.12.0.2 netbsd-2-0:1.3.0.2 netbsd-2-0-base:1.3; locks; strict; comment @# @; 1.190 date 2026.04.08.20.57.36; author andvar; state Exp; branches; next 1.189; commitid Cow4FmLifOGXmcBG; 1.189 date 2023.10.17.16.06.36; author bouyer; state Exp; branches; next 1.188; commitid dbJwhj6kFhqMOZIE; 1.188 date 2023.10.17.12.07.42; author bouyer; state Exp; branches; next 1.187; commitid 0ebogfFoPUX5qYIE; 1.187 date 2022.08.31.12.51.56; author bouyer; state Exp; branches 1.187.4.1; next 1.186; commitid Lhsy3ytrSZ1NW1SD; 1.186 date 2020.05.26.10.37.24; author bouyer; state Exp; branches; next 1.185; commitid SW4SZDoc4Il5PJ9C; 1.185 date 2020.05.05.17.02.01; author bouyer; state Exp; branches; next 1.184; commitid GifeUe8R1kK0D47C; 1.184 date 2020.05.02.16.46.06; author bouyer; state Exp; branches; next 1.183; commitid M7pyqgidpI7CDG6C; 1.183 date 2020.05.02.16.44.36; author bouyer; state Exp; branches; next 1.182; commitid EY6QXNrfrYptzG6C; 1.182 date 2020.04.25.15.26.17; author bouyer; state Exp; branches; next 1.181; commitid OlHyMKBWmojOpM5C; 1.181 date 2020.04.21.02.56.37; author msaitoh; state Exp; branches; next 1.180; commitid bqdXzblZRJXIoc5C; 1.180 date 2020.04.03.22.45.30; author ad; state Exp; branches 1.180.2.1; next 1.179; commitid xBEgTFVsW46ryZ2C; 1.179 date 2019.09.07.18.56.01; author maxv; state Exp; branches; next 1.178; commitid UWimRo2ovcTu07CB; 1.178 date 2019.02.14.08.18.26; author cherry; state Exp; branches 1.178.4.1; next 1.177; commitid GmA2u4xS7qlo2IbB; 1.177 date 2019.02.14.06.59.24; author cherry; state Exp; branches; next 1.176; commitid NaPa0tbUvTEWCHbB; 1.176 date 2019.01.27.02.08.39; author pgoyette; state Exp; branches; next 1.175; commitid ipPva1Pj3xTcBm9B; 1.175 date 2018.12.25.11.56.14; author mlelstv; state Exp; branches; next 1.174; commitid B7hyyTWT0huqUa5B; 1.174 date 2018.12.25.06.50.12; author cherry; state Exp; branches; next 1.173; commitid KhYIyLyfJB0Nb95B; 1.173 date 2018.12.24.21.15.59; author cherry; state Exp; branches; next 1.172; commitid 9BuBdw8kwyHk265B; 1.172 date 2018.12.22.07.45.58; author cherry; state Exp; branches; next 1.171; commitid BzlH8aD2zeFTyL4B; 1.171 date 2018.12.22.06.33.37; author cherry; state Exp; branches; next 1.170; commitid Lq1QdhlI2NaXcL4B; 1.170 date 2018.07.26.15.38.26; author maxv; state Exp; branches; next 1.169; commitid eOg6hUkqmWjP1FLA; 1.169 date 2018.05.23.07.45.35; author maxv; state Exp; branches 1.169.2.1; next 1.168; commitid ISebmexbPE78toDA; 1.168 date 2018.03.18.00.17.18; author christos; state Exp; branches; next 1.167; commitid uyKEneft5B3Q6SuA; 1.167 date 2018.03.17.20.03.01; author christos; state Exp; branches; next 1.166; commitid tkAUca0YznNGHQuA; 1.166 date 2018.03.16.12.48.54; author maxv; state Exp; branches; next 1.165; commitid AtpRhaI6nd8CkGuA; 1.165 date 2018.01.22.22.36.11; author jdolecek; state Exp; branches 1.165.2.1; next 1.164; commitid F3yIDHJE71fHhVnA; 1.164 date 2017.12.02.13.03.15; author maxv; state Exp; branches; next 1.163; commitid Cynu5c8L6sGJKjhA; 1.163 date 2017.11.06.15.21.23; author cherry; state Exp; branches; next 1.162; commitid 7Xb24pkilCTamZdA; 1.162 date 2017.11.04.15.24.42; author cherry; state Exp; branches; next 1.161; commitid 0Ib3ikkFJ0D0rJdA; 1.161 date 2017.11.04.14.56.48; author cherry; state Exp; branches; next 1.160; commitid X8tI7zmHvQnchJdA; 1.160 date 2017.11.04.09.22.16; author cherry; state Exp; branches; next 1.159; commitid RdVrkE46oOhGpHdA; 1.159 date 2017.11.04.08.55.50; author cherry; state Exp; branches; next 1.158; commitid LXx3kelsFI1IhHdA; 1.158 date 2017.11.04.08.50.47; author cherry; state Exp; branches; next 1.157; commitid nJEnBMFL6pZLfHdA; 1.157 date 2017.11.04.07.01.45; author cherry; state Exp; branches; next 1.156; commitid Q6M19Eg2M5AKEGdA; 1.156 date 2017.08.15.08.51.38; author maxv; state Exp; branches; next 1.155; commitid LV4L2Q49DTNPRh3A; 1.155 date 2017.08.15.06.27.39; author maxv; state Exp; branches; next 1.154; commitid YkCEptiSXCRq4h3A; 1.154 date 2017.08.12.07.21.57; author maxv; state Exp; branches; next 1.153; commitid zlGjGZULfCOZsT2A; 1.153 date 2017.08.09.18.48.53; author maxv; state Exp; branches; next 1.152; commitid Kvm6Oc5yzr2Gmz2A; 1.152 date 2017.08.01.14.43.54; author maxv; state Exp; branches; next 1.151; commitid 93lMEiiJKQUygw1A; 1.151 date 2017.08.01.13.47.49; author maxv; state Exp; branches; next 1.150; commitid Sn0JmD14SeCmXv1A; 1.150 date 2017.07.29.11.54.14; author maxv; state Exp; branches; next 1.149; commitid bvMxAKR2Y15lq71A; 1.149 date 2017.07.16.14.02.48; author cherry; state Exp; branches 1.149.2.1; next 1.148; commitid Rk6g5yNBs04KxsZz; 1.148 date 2017.06.22.18.14.32; author khorben; state Exp; branches; next 1.147; commitid QMfto8jpFHtjIoWz; 1.147 date 2017.05.23.08.48.35; author nonaka; state Exp; branches 1.147.2.1; next 1.146; commitid exyUIWTHdFaUxuSz; 1.146 date 2017.03.24.17.09.37; author maxv; state Exp; branches; next 1.145; commitid jdbHA8Gyww5DePKz; 1.145 date 2017.03.10.14.40.56; author maxv; state Exp; branches; next 1.144; commitid 5eHngQDH8SjuS0Jz; 1.144 date 2017.02.17.21.51.47; author kre; state Exp; branches; next 1.143; commitid VkHYMqtfUrobVlGz; 1.143 date 2016.12.15.12.04.18; author kamil; state Exp; branches 1.143.2.1; next 1.142; commitid Lt8NadjjiqyPE4yz; 1.142 date 2016.12.13.10.54.27; author kamil; state Exp; branches; next 1.141; commitid zxIEzinWGJq9qOxz; 1.141 date 2016.05.20.03.41.20; author jnemeth; state Exp; branches 1.141.2.1; next 1.140; commitid 2ld6f6WDtRydGa7z; 1.140 date 2016.02.27.15.42.20; author mlelstv; state Exp; branches; next 1.139; commitid qjMUlpI0A3cWkzWy; 1.139 date 2016.02.27.14.28.50; author mlelstv; state Exp; branches; next 1.138; commitid i3CB4PcdJi5HVyWy; 1.138 date 2015.11.11.08.51.33; author skrll; state Exp; branches; next 1.137; commitid wyyZ12WOLgY9xEIy; 1.137 date 2015.01.04.07.34.14; author uebayasi; state Exp; branches; next 1.136; commitid HZ5z27ASF03y6G4y; 1.136 date 2014.12.15.13.48.51; author christos; state Exp; branches; next 1.135; commitid GFM0cX8mzBOQO82y; 1.135 date 2014.12.15.07.35.09; author ozaki-r; state Exp; branches; next 1.134; commitid ZVkeZe1hwMp5K62y; 1.134 date 2014.10.11.06.07.48; author uebayasi; state Exp; branches 1.134.2.1; next 1.133; commitid Qk7bQJi8LqcimKTx; 1.133 date 2014.02.12.23.24.09; author dsl; state Exp; branches 1.133.4.1 1.133.8.1; next 1.132; commitid CXQjYRJasFvqORox; 1.132 date 2014.02.11.20.17.16; author dsl; state Exp; branches; next 1.131; commitid wfKPrL5dMDSsPIox; 1.131 date 2014.02.07.22.40.22; author dsl; state Exp; branches; next 1.130; commitid 8CIzXzrT5cd3Ldox; 1.130 date 2014.01.26.19.16.17; author dsl; state Exp; branches; next 1.129; commitid RcOe1W0UX0rtVEmx; 1.129 date 2012.10.03.18.58.32; author dsl; state Exp; branches 1.129.2.1; next 1.128; 1.128 date 2012.08.29.17.13.22; author drochner; state Exp; branches 1.128.2.1; next 1.127; 1.127 date 2012.06.27.00.37.09; author jym; state Exp; branches; next 1.126; 1.126 date 2012.05.07.17.45.29; author jym; state Exp; branches; next 1.125; 1.125 date 2012.01.14.04.22.56; author pgoyette; state Exp; branches; next 1.124; 1.124 date 2012.01.13.16.05.15; author cegger; state Exp; branches; next 1.123; 1.123 date 2011.09.22.23.02.34; author jym; state Exp; branches 1.123.2.1 1.123.6.1; next 1.122; 1.122 date 2011.08.10.11.39.45; author cherry; state Exp; branches; next 1.121; 1.121 date 2011.06.13.00.53.15; author pgoyette; state Exp; branches; next 1.120; 1.120 date 2011.06.12.16.31.57; author jruoho; state Exp; branches; next 1.119; 1.119 date 2011.06.12.03.35.50; author rmind; state Exp; branches; next 1.118; 1.118 date 2011.04.26.16.57.41; author joerg; state Exp; branches 1.118.2.1; next 1.117; 1.117 date 2011.04.26.15.51.25; author joerg; state Exp; branches; next 1.116; 1.116 date 2011.04.18.01.36.25; author jym; state Exp; branches; next 1.115; 1.115 date 2011.04.11.08.56.17; author cegger; state Exp; branches; next 1.114; 1.114 date 2011.04.03.22.29.27; author dyoung; state Exp; branches; next 1.113; 1.113 date 2011.02.24.10.56.03; author jruoho; state Exp; branches; next 1.112; 1.112 date 2011.02.24.04.42.54; author jruoho; state Exp; branches; next 1.111; 1.111 date 2011.02.23.11.43.23; author jruoho; state Exp; branches; next 1.110; 1.110 date 2010.12.02.23.12.30; author bouyer; state Exp; branches 1.110.2.1 1.110.4.1; next 1.109; 1.109 date 2010.07.08.11.25.00; author rmind; state Exp; branches; next 1.108; 1.108 date 2010.07.06.15.00.09; author cherry; state Exp; branches; next 1.107; 1.107 date 2010.05.10.18.46.58; author dyoung; state Exp; branches; next 1.106; 1.106 date 2009.11.03.05.23.28; author dyoung; state Exp; branches 1.106.2.1 1.106.4.1; next 1.105; 1.105 date 2009.10.05.23.59.31; author rmind; state Exp; branches; next 1.104; 1.104 date 2009.08.16.15.35.52; author manu; state Exp; branches; next 1.103; 1.103 date 2009.08.05.20.15.37; author jym; state Exp; branches; next 1.102; 1.102 date 2009.07.29.12.02.06; author cegger; state Exp; branches; next 1.101; 1.101 date 2009.07.24.21.22.22; author dyoung; state Exp; branches; next 1.100; 1.100 date 2009.06.16.21.05.34; author bouyer; state Exp; branches; next 1.99; 1.99 date 2009.04.30.04.38.01; author pgoyette; state Exp; branches; next 1.98; 1.98 date 2009.04.18.11.26.58; author cegger; state Exp; branches; next 1.97; 1.97 date 2009.04.16.18.00.35; author cegger; state Exp; branches; next 1.96; 1.96 date 2009.03.31.20.12.19; author rmind; state Exp; branches; next 1.95; 1.95 date 2009.02.19.02.49.41; author jmcneill; state Exp; branches; next 1.94; 1.94 date 2009.02.14.20.22.59; author cube; state Exp; branches; next 1.93; 1.93 date 2009.02.13.21.03.59; author bouyer; state Exp; branches; next 1.92; 1.92 date 2009.01.18.20.50.43; author bouyer; state Exp; branches 1.92.2.1; next 1.91; 1.91 date 2008.12.20.12.41.19; author ad; state Exp; branches; next 1.90; 1.90 date 2008.11.20.10.53.09; author ad; state Exp; branches; next 1.89; 1.89 date 2008.11.19.18.36.02; author ad; state Exp; branches; next 1.88; 1.88 date 2008.08.03.19.32.03; author joerg; state Exp; branches 1.88.2.1 1.88.4.1; next 1.87; 1.87 date 2008.05.11.15.02.34; author ad; state Exp; branches 1.87.4.1; next 1.86; 1.86 date 2008.05.10.16.27.57; author ad; state Exp; branches; next 1.85; 1.85 date 2008.05.09.18.11.29; author joerg; state Exp; branches; next 1.84; 1.84 date 2008.04.25.13.26.27; author ad; state Exp; branches 1.84.2.1 1.84.4.1; next 1.83; 1.83 date 2008.02.27.04.19.24; author dogcow; state Exp; branches 1.83.2.1; next 1.82; 1.82 date 2008.02.20.21.43.35; author drochner; state Exp; branches 1.82.2.1 1.82.6.1; next 1.81; 1.81 date 2008.01.31.13.46.33; author jmmv; state Exp; branches; next 1.80; 1.80 date 2008.01.25.21.12.13; author joerg; state Exp; branches; next 1.79; 1.79 date 2008.01.16.09.37.08; author ad; state Exp; branches; next 1.78; 1.78 date 2008.01.12.20.03.42; author ad; state Exp; branches; next 1.77; 1.77 date 2008.01.11.20.00.18; author bouyer; state Exp; branches; next 1.76; 1.76 date 2008.01.01.20.32.11; author yamt; state Exp; branches; next 1.75; 1.75 date 2007.12.03.15.34.28; author ad; state Exp; branches 1.75.6.1; next 1.74; 1.74 date 2007.12.01.12.52.20; author bouyer; state Exp; branches; next 1.73; 1.73 date 2007.11.30.22.56.05; author dsl; state Exp; branches; next 1.72; 1.72 date 2007.11.28.14.02.31; author yamt; state Exp; branches; next 1.71; 1.71 date 2007.11.22.16.16.47; author bouyer; state Exp; branches; next 1.70; 1.70 date 2007.11.22.07.44.40; author yamt; state Exp; branches; next 1.69; 1.69 date 2007.11.15.19.18.34; author ad; state Exp; branches; next 1.68; 1.68 date 2007.10.26.22.33.23; author xtraeme; state Exp; branches 1.68.2.1; next 1.67; 1.67 date 2007.10.26.22.11.45; author xtraeme; state Exp; branches; next 1.66; 1.66 date 2007.10.26.21.49.51; author xtraeme; state Exp; branches; next 1.65; 1.65 date 2007.10.17.19.58.18; author garbled; state Exp; branches; next 1.64; 1.64 date 2007.09.26.19.48.44; author ad; state Exp; branches 1.64.2.1; next 1.63; 1.63 date 2007.07.07.05.13.17; author tsutsui; state Exp; branches 1.63.8.1 1.63.10.1 1.63.12.1; next 1.62; 1.62 date 2007.06.28.20.07.00; author alc; state Exp; branches; next 1.61; 1.61 date 2007.05.17.14.51.35; author yamt; state Exp; branches; next 1.60; 1.60 date 2007.05.12.07.06.54; author jld; state Exp; branches; next 1.59; 1.59 date 2007.04.16.19.12.19; author ad; state Exp; branches 1.59.2.1; next 1.58; 1.58 date 2007.04.10.03.01.08; author macallan; state Exp; branches; next 1.57; 1.57 date 2007.03.05.16.51.03; author drochner; state Exp; branches 1.57.2.1 1.57.4.1; next 1.56; 1.56 date 2007.02.18.18.15.41; author dsl; state Exp; branches; next 1.55; 1.55 date 2007.02.09.21.55.14; author ad; state Exp; branches 1.55.2.1; next 1.54; 1.54 date 2006.12.18.20.07.36; author gdt; state Exp; branches; next 1.53; 1.53 date 2006.10.19.16.55.37; author drochner; state Exp; branches 1.53.2.1 1.53.4.1; next 1.52; 1.52 date 2006.10.17.19.57.24; author bouyer; state Exp; branches; next 1.51; 1.51 date 2006.10.17.18.53.04; author bouyer; state Exp; branches; next 1.50; 1.50 date 2006.10.15.14.34.56; author xtraeme; state Exp; branches; next 1.49; 1.49 date 2006.10.01.21.36.11; author bouyer; state Exp; branches; next 1.48; 1.48 date 2006.09.28.18.53.15; author bouyer; state Exp; branches; next 1.47; 1.47 date 2006.09.24.18.14.44; author bouyer; state Exp; branches; next 1.46; 1.46 date 2006.08.11.13.22.43; author yamt; state Exp; branches 1.46.2.1 1.46.4.1; next 1.45; 1.45 date 2006.07.12.15.02.15; author yamt; state Exp; branches 1.45.2.1; next 1.44; 1.44 date 2006.07.09.01.59.42; author christos; state Exp; branches; next 1.43; 1.43 date 2006.07.02.16.35.24; author bouyer; state Exp; branches; next 1.42; 1.42 date 2006.05.25.21.27.40; author bouyer; state Exp; branches 1.42.2.1; next 1.41; 1.41 date 2006.05.23.21.10.42; author bouyer; state Exp; branches; next 1.40; 1.40 date 2006.04.09.19.28.01; author bouyer; state Exp; branches 1.40.2.1; next 1.39; 1.39 date 2006.04.04.03.13.12; author gdamore; state Exp; branches; next 1.38; 1.38 date 2006.03.19.00.36.09; author bouyer; state Exp; branches; next 1.37; 1.37 date 2006.03.06.22.04.18; author bouyer; state Exp; branches 1.37.2.1 1.37.4.1; next 1.36; 1.36 date 2006.03.06.20.36.12; author bouyer; state Exp; branches; next 1.35; 1.35 date 2006.03.06.20.34.09; author bouyer; state Exp; branches; next 1.34; 1.34 date 2006.02.12.18.16.01; author tron; state Exp; branches 1.34.2.1; next 1.33; 1.33 date 2006.01.15.22.09.51; author bouyer; state Exp; branches 1.33.2.1 1.33.4.1; next 1.32; 1.32 date 2005.12.30.13.37.57; author jmmv; state Exp; branches 1.32.2.1; next 1.31; 1.31 date 2005.11.21.22.15.13; author bouyer; state Exp; branches; next 1.30; 1.30 date 2005.11.07.11.42.34; author yamt; state Exp; branches 1.30.2.1; next 1.29; 1.29 date 2005.08.21.22.20.28; author bouyer; state Exp; branches; next 1.28; 1.28 date 2005.08.20.19.30.37; author bouyer; state Exp; branches; next 1.27; 1.27 date 2005.08.19.16.06.12; author bouyer; state Exp; branches; next 1.26; 1.26 date 2005.07.15.07.56.22; author yamt; state Exp; branches; next 1.25; 1.25 date 2005.06.25.23.09.54; author dyoung; state Exp; branches 1.25.2.1; next 1.24; 1.24 date 2005.06.22.06.14.51; author dyoung; state Exp; branches; next 1.23; 1.23 date 2005.06.19.20.22.26; author chs; state Exp; branches; next 1.22; 1.22 date 2005.05.16.12.05.50; author yamt; state Exp; branches; next 1.21; 1.21 date 2005.04.18.21.33.21; author bouyer; state Exp; branches; next 1.20; 1.20 date 2005.04.17.14.44.14; author bouyer; state Exp; branches; next 1.19; 1.19 date 2005.04.16.07.53.35; author yamt; state Exp; branches; next 1.18; 1.18 date 2005.03.11.20.44.37; author bouyer; state Exp; branches 1.18.2.1; next 1.17; 1.17 date 2005.03.09.22.39.20; author bouyer; state Exp; branches; next 1.16; 1.16 date 2005.02.04.05.59.23; author jmc; state Exp; branches; next 1.15; 1.15 date 2005.02.03.21.38.59; author bouyer; state Exp; branches; next 1.14; 1.14 date 2004.09.14.16.51.58; author jdolecek; state Exp; branches 1.14.4.1 1.14.6.1 1.14.8.1; next 1.13; 1.13 date 2004.08.30.15.05.19; author drochner; state Exp; branches; next 1.12; 1.12 date 2004.05.07.15.51.04; author cl; state Exp; branches 1.12.2.1; next 1.11; 1.11 date 2004.04.25.23.46.07; author cl; state Exp; branches; next 1.10; 1.10 date 2004.04.24.21.33.32; author cl; state Exp; branches; next 1.9; 1.9 date 2004.04.24.20.58.59; author cl; state Exp; branches; next 1.8; 1.8 date 2004.04.24.20.05.49; author cl; state Exp; branches; next 1.7; 1.7 date 2004.04.24.19.18.01; author cl; state Exp; branches; next 1.6; 1.6 date 2004.04.24.18.24.14; author cl; state Exp; branches; next 1.5; 1.5 date 2004.04.24.17.35.27; author cl; state Exp; branches; next 1.4; 1.4 date 2004.04.17.12.56.27; author cl; state Exp; branches; next 1.3; 1.3 date 2004.03.25.15.26.35; author wiz; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2004.03.25.12.41.54; author wiz; state Exp; branches; next 1.1; 1.1 date 2004.03.11.21.44.08; author cl; state Exp; branches; next ; 1.187.4.1 date 2023.10.18.16.53.03; author martin; state Exp; branches; next ; commitid v8PRU2E4NQg238JE; 1.180.2.1 date 2020.04.11.18.26.07; author bouyer; state Exp; branches; next 1.180.2.2; commitid dBBPEOv2s4OPPZ3C; 1.180.2.2 date 2020.04.14.16.53.57; author bouyer; state Exp; branches; next 1.180.2.3; commitid e0CzEIQyIh7Tfn4C; 1.180.2.3 date 2020.04.16.08.46.35; author bouyer; state Exp; branches; next 1.180.2.4; commitid EHiLAyAEgTwmsA4C; 1.180.2.4 date 2020.04.16.19.23.50; author bouyer; state Exp; branches; next 1.180.2.5; commitid Nt5VLJLoYVk11E4C; 1.180.2.5 date 2020.04.19.20.29.30; author bouyer; state Exp; branches; next 1.180.2.6; commitid MjxmsX9rqtbzh25C; 1.180.2.6 date 2020.04.20.19.40.24; author bouyer; state Exp; branches; next 1.180.2.7; commitid t7CCoR9VxpDaZ95C; 1.180.2.7 date 2020.04.25.10.52.26; author bouyer; state Exp; branches; next 1.180.2.8; commitid VNEFhD3YSp64UK5C; 1.180.2.8 date 2020.04.25.13.16.48; author bouyer; state Exp; branches; next 1.180.2.9; commitid WyGXHvjEvIKxHL5C; 1.180.2.9 date 2020.04.25.15.01.41; author bouyer; state Exp; branches; next ; commitid wHbUgUszsITGhM5C; 1.178.4.1 date 2020.07.15.17.25.08; author martin; state Exp; branches; next 1.178.4.2; commitid JutvzhW7hMj7tcgC; 1.178.4.2 date 2023.05.15.10.25.31; author martin; state Exp; branches; next ; commitid R1TJuMeeI2IaU2pE; 1.169.2.1 date 2019.06.10.22.06.54; author christos; state Exp; branches; next 1.169.2.2; commitid jtc8rnCzWiEEHGqB; 1.169.2.2 date 2020.04.08.14.07.59; author martin; state Exp; branches; next 1.169.2.3; commitid Qli2aW9E74UFuA3C; 1.169.2.3 date 2020.04.13.08.04.12; author martin; state Exp; branches; next 1.169.2.4; commitid X01YhRUPVUDaec4C; 1.169.2.4 date 2020.04.21.18.42.12; author martin; state Exp; branches; next ; commitid 86tA4aEmdr3VCh5C; 1.165.2.1 date 2018.03.17.21.37.52; author pgoyette; state Exp; branches; next 1.165.2.2; commitid CY9NpM102t45eRuA; 1.165.2.2 date 2018.03.18.00.35.26; author pgoyette; state Exp; branches; next 1.165.2.3; commitid ym4nE0oM4qc5dSuA; 1.165.2.3 date 2018.03.22.01.44.47; author pgoyette; state Exp; branches; next 1.165.2.4; commitid fxb4Rxa9G9QMsovA; 1.165.2.4 date 2018.06.25.07.25.47; author pgoyette; state Exp; branches; next 1.165.2.5; commitid 8PtAu9af7VvhiDHA; 1.165.2.5 date 2018.07.28.04.37.42; author pgoyette; state Exp; branches; next 1.165.2.6; commitid 1UP1xAIUxv1ZgRLA; 1.165.2.6 date 2018.09.14.08.38.37; author pgoyette; state Exp; branches; next 1.165.2.7; commitid tw9vRguXEOQT53SA; 1.165.2.7 date 2018.12.26.14.01.45; author pgoyette; state Exp; branches; next ; commitid xUhK8IAeBM1azj5B; 1.149.2.1 date 2017.07.16.14.02.48; author cherry; state dead; branches; next 1.149.2.2; 1.149.2.2 date 2017.07.16.14.02.49; author cherry; state Exp; branches; next ; 1.147.2.1 date 2017.06.30.06.27.38; author snj; state Exp; branches; next 1.147.2.2; commitid QiJ02whBBiQ1ymXz; 1.147.2.2 date 2019.09.23.06.52.21; author martin; state Exp; branches; next 1.147.2.3; commitid YvGKgX7Hzn60u6EB; 1.147.2.3 date 2019.09.23.13.51.12; author martin; state Exp; branches; next 1.147.2.4; commitid Wg6CtJwI8uPzN8EB; 1.147.2.4 date 2020.08.05.16.20.08; author martin; state Exp; branches; next ; commitid Ro0M5uRCC3PcrTiC; 1.143.2.1 date 2017.04.21.16.53.39; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; 1.141.2.1 date 2017.01.07.08.56.28; author pgoyette; state Exp; branches; next 1.141.2.2; commitid uEL0C1YuiJrlV0Bz; 1.141.2.2 date 2017.03.20.06.57.22; author pgoyette; state Exp; branches; next 1.141.2.3; commitid jjw7cAwgyKq7RfKz; 1.141.2.3 date 2017.04.26.02.53.09; author pgoyette; state Exp; branches; next ; commitid ojV02aOSdzvBqZOz; 1.134.2.1 date 2015.04.06.15.18.04; author skrll; state Exp; branches; next 1.134.2.2; commitid pz01Zhy7RP6iGxgy; 1.134.2.2 date 2015.12.27.12.09.45; author skrll; state Exp; branches; next 1.134.2.3; commitid BTSqUD4SdJ5k7AOy; 1.134.2.3 date 2016.03.19.11.30.07; author skrll; state Exp; branches; next 1.134.2.4; commitid 2PHKtPSg1vDV9fZy; 1.134.2.4 date 2016.05.29.08.44.20; author skrll; state Exp; branches; next 1.134.2.5; commitid 8mlnPW6uSaJU1m8z; 1.134.2.5 date 2017.02.05.13.40.23; author skrll; state Exp; branches; next 1.134.2.6; commitid 8hwpk1aHl2UuyLEz; 1.134.2.6 date 2017.08.28.17.51.57; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; 1.133.4.1 date 2016.09.25.12.11.33; author bouyer; state Exp; branches; next 1.133.4.2; commitid 87uLzSxaHaF9oFnz; 1.133.4.2 date 2016.12.18.07.50.37; author snj; state Exp; branches; next 1.133.4.3; commitid Lccj4t1CJCXcfryz; 1.133.4.3 date 2017.07.08.17.04.22; author snj; state Exp; branches; next ; commitid O4EqzL4WpftAOrYz; 1.133.8.1 date 2017.01.18.08.46.26; author skrll; state Exp; branches; next ; commitid M6f3RyDtiAR3wqCz; 1.129.2.1 date 2014.05.18.17.45.30; author rmind; state Exp; branches; next ; commitid mL5ZYSzpqK6QS2Bx; 1.128.2.1 date 2012.11.20.03.01.51; author tls; state Exp; branches; next 1.128.2.2; 1.128.2.2 date 2014.08.20.00.03.29; author tls; state Exp; branches; next 1.128.2.3; commitid jTnpym9Qu0o4R1Nx; 1.128.2.3 date 2017.12.03.11.36.51; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.123.2.1 date 2012.04.17.00.07.07; author yamt; state Exp; branches; next 1.123.2.2; 1.123.2.2 date 2012.05.23.10.07.51; author yamt; state Exp; branches; next 1.123.2.3; 1.123.2.3 date 2012.10.30.17.20.35; author yamt; state Exp; branches; next 1.123.2.4; 1.123.2.4 date 2014.05.22.11.40.14; author yamt; state Exp; branches; next ; commitid VUUXuyNWnt3AKwBx; 1.123.6.1 date 2012.02.18.07.33.38; author mrg; state Exp; branches; next 1.123.6.2; 1.123.6.2 date 2012.06.02.11.09.12; author mrg; state Exp; branches; next ; 1.118.2.1 date 2011.06.03.13.27.39; author cherry; state Exp; branches; next 1.118.2.2; 1.118.2.2 date 2011.06.23.14.19.49; author cherry; state Exp; branches; next 1.118.2.3; 1.118.2.3 date 2011.06.27.10.21.52; author cherry; state Exp; branches; next ; 1.110.2.1 date 2011.06.06.09.07.10; author jruoho; state Exp; branches; next ; 1.110.4.1 date 2011.03.05.15.10.11; author bouyer; state Exp; branches; next ; 1.106.2.1 date 2010.08.17.06.45.35; author uebayasi; state Exp; branches; next 1.106.2.2; 1.106.2.2 date 2010.08.27.09.41.16; author uebayasi; state Exp; branches; next 1.106.2.3; 1.106.2.3 date 2010.10.30.08.41.13; author uebayasi; state Exp; branches; next ; 1.106.4.1 date 2010.03.18.04.36.54; author rmind; state Exp; branches; next 1.106.4.2; 1.106.4.2 date 2010.05.30.05.17.13; author rmind; state Exp; branches; next 1.106.4.3; 1.106.4.3 date 2010.05.31.01.12.14; author rmind; state Exp; branches; next 1.106.4.4; 1.106.4.4 date 2011.03.05.20.52.33; author rmind; state Exp; branches; next 1.106.4.5; 1.106.4.5 date 2011.04.21.01.41.33; author rmind; state Exp; branches; next 1.106.4.6; 1.106.4.6 date 2011.05.31.03.04.24; author rmind; state Exp; branches; next ; 1.92.2.1 date 2009.05.13.17.18.50; author jym; state Exp; branches; next 1.92.2.2; 1.92.2.2 date 2009.07.23.23.31.37; author jym; state Exp; branches; next 1.92.2.3; 1.92.2.3 date 2009.11.01.13.58.44; author jym; state Exp; branches; next 1.92.2.4; 1.92.2.4 date 2010.10.24.22.48.20; author jym; state Exp; branches; next 1.92.2.5; 1.92.2.5 date 2011.01.10.00.37.38; author jym; state Exp; branches; next 1.92.2.6; 1.92.2.6 date 2011.03.28.23.04.55; author jym; state Exp; branches; next 1.92.2.7; 1.92.2.7 date 2011.05.02.22.49.58; author jym; state Exp; branches; next 1.92.2.8; 1.92.2.8 date 2011.08.27.15.37.31; author jym; state Exp; branches; next ; 1.88.2.1 date 2009.01.19.13.17.11; author skrll; state Exp; branches; next 1.88.2.2; 1.88.2.2 date 2009.03.03.18.29.48; author skrll; state Exp; branches; next 1.88.2.3; 1.88.2.3 date 2009.04.28.07.35.01; author skrll; state Exp; branches; next ; 1.88.4.1 date 2009.01.22.20.17.13; author snj; state Exp; branches; next 1.88.4.2; 1.88.4.2 date 2009.02.16.03.03.37; author snj; state Exp; branches 1.88.4.2.4.1; next 1.88.4.3; 1.88.4.3 date 2009.06.16.02.20.41; author snj; state Exp; branches; next 1.88.4.4; 1.88.4.4 date 2009.06.19.21.22.11; author snj; state Exp; branches; next 1.88.4.5; 1.88.4.5 date 2009.10.03.23.54.04; author snj; state Exp; branches; next 1.88.4.6; 1.88.4.6 date 2011.01.07.01.42.55; author riz; state Exp; branches; next 1.88.4.7; 1.88.4.7 date 2011.09.23.12.44.51; author sborrill; state Exp; branches; next ; 1.88.4.2.4.1 date 2010.04.21.00.33.44; author matt; state Exp; branches; next ; 1.87.4.1 date 2008.10.19.22.16.12; author haad; state Exp; branches; next 1.87.4.2; 1.87.4.2 date 2008.12.13.01.13.39; author haad; state Exp; branches; next ; 1.84.2.1 date 2008.05.16.02.23.29; author yamt; state Exp; branches; next 1.84.2.2; 1.84.2.2 date 2009.05.04.08.12.11; author yamt; state Exp; branches; next 1.84.2.3; 1.84.2.3 date 2009.06.20.07.20.13; author yamt; state Exp; branches; next 1.84.2.4; 1.84.2.4 date 2009.08.19.18.46.52; author yamt; state Exp; branches; next 1.84.2.5; 1.84.2.5 date 2010.03.11.15.03.09; author yamt; state Exp; branches; next 1.84.2.6; 1.84.2.6 date 2010.08.11.22.52.59; author yamt; state Exp; branches; next ; 1.84.4.1 date 2008.06.23.04.30.51; author wrstuden; state Exp; branches; next 1.84.4.2; 1.84.4.2 date 2008.09.18.04.33.38; author wrstuden; state Exp; branches; next ; 1.83.2.1 date 2008.05.18.12.33.05; author yamt; state Exp; branches; next ; 1.82.2.1 date 2008.03.24.07.15.09; author keiichi; state Exp; branches; next ; 1.82.6.1 date 2008.04.03.12.42.31; author mjf; state Exp; branches; next 1.82.6.2; 1.82.6.2 date 2008.06.02.13.22.52; author mjf; state Exp; branches; next 1.82.6.3; 1.82.6.3 date 2008.09.28.10.40.12; author mjf; state Exp; branches; next 1.82.6.4; 1.82.6.4 date 2009.01.17.13.28.39; author mjf; state Exp; branches; next ; 1.75.6.1 date 2007.12.11.23.02.59; author bouyer; state Exp; branches; next 1.75.6.2; 1.75.6.2 date 2008.01.02.21.51.29; author bouyer; state Exp; branches; next 1.75.6.3; 1.75.6.3 date 2008.01.05.23.50.23; author bouyer; state Exp; branches; next 1.75.6.4; 1.75.6.4 date 2008.01.06.18.46.41; author bouyer; state Exp; branches; next 1.75.6.5; 1.75.6.5 date 2008.01.06.20.35.44; author bouyer; state Exp; branches; next 1.75.6.6; 1.75.6.6 date 2008.01.07.00.34.53; author bouyer; state Exp; branches; next 1.75.6.7; 1.75.6.7 date 2008.01.09.19.25.06; author bouyer; state Exp; branches; next 1.75.6.8; 1.75.6.8 date 2008.01.19.12.14.50; author bouyer; state Exp; branches; next ; 1.68.2.1 date 2007.11.19.00.47.04; author mjf; state Exp; branches; next 1.68.2.2; 1.68.2.2 date 2007.12.08.18.18.16; author mjf; state Exp; branches; next 1.68.2.3; 1.68.2.3 date 2008.02.18.21.05.19; author mjf; state Exp; branches; next ; 1.64.2.1 date 2007.10.17.21.08.14; author bouyer; state Exp; branches; next 1.64.2.2; 1.64.2.2 date 2007.10.21.15.41.02; author bouyer; state Exp; branches; next 1.64.2.3; 1.64.2.3 date 2007.11.13.16.00.25; author bouyer; state Exp; branches; next 1.64.2.4; 1.64.2.4 date 2007.11.18.19.34.51; author bouyer; state Exp; branches; next 1.64.2.5; 1.64.2.5 date 2007.11.19.19.17.18; author bouyer; state Exp; branches; next 1.64.2.6; 1.64.2.6 date 2007.11.19.19.50.39; author bouyer; state Exp; branches; next 1.64.2.7; 1.64.2.7 date 2007.11.22.15.18.23; author bouyer; state Exp; branches; next ; 1.63.8.1 date 2007.10.02.18.27.54; author joerg; state Exp; branches; next 1.63.8.2; 1.63.8.2 date 2007.10.28.20.11.01; author joerg; state Exp; branches; next 1.63.8.3; 1.63.8.3 date 2007.11.21.21.53.40; author joerg; state Exp; branches; next 1.63.8.4; 1.63.8.4 date 2007.11.27.19.35.59; author joerg; state Exp; branches; next 1.63.8.5; 1.63.8.5 date 2007.12.03.16.14.24; author joerg; state Exp; branches; next 1.63.8.6; 1.63.8.6 date 2007.12.09.19.36.30; author jmcneill; state Exp; branches; next ; 1.63.10.1 date 2007.11.06.23.23.56; author matt; state Exp; branches; next 1.63.10.2; 1.63.10.2 date 2008.01.09.01.50.02; author matt; state Exp; branches; next 1.63.10.3; 1.63.10.3 date 2008.03.23.02.04.28; author matt; state Exp; branches; next ; 1.63.12.1 date 2007.10.06.15.33.38; author yamt; state Exp; branches; next ; 1.59.2.1 date 2007.05.22.17.27.50; author matt; state Exp; branches; next 1.59.2.2; 1.59.2.2 date 2007.10.03.19.25.58; author garbled; state Exp; branches; next ; 1.57.2.1 date 2007.04.10.13.23.21; author ad; state Exp; branches; next 1.57.2.2; 1.57.2.2 date 2007.05.27.14.27.06; author ad; state Exp; branches; next 1.57.2.3; 1.57.2.3 date 2007.07.15.13.17.18; author ad; state Exp; branches; next 1.57.2.4; 1.57.2.4 date 2007.10.09.13.38.48; author ad; state Exp; branches; next 1.57.2.5; 1.57.2.5 date 2007.12.03.18.40.26; author ad; state Exp; branches; next ; 1.57.4.1 date 2007.07.11.20.03.27; author mjf; state Exp; branches; next ; 1.55.2.1 date 2007.02.27.16.53.26; author yamt; state Exp; branches; next 1.55.2.2; 1.55.2.2 date 2007.03.12.05.51.47; author rmind; state Exp; branches; next 1.55.2.3; 1.55.2.3 date 2007.03.26.09.51.30; author yamt; state Exp; branches; next 1.55.2.4; 1.55.2.4 date 2007.04.15.16.03.12; author yamt; state Exp; branches; next 1.55.2.5; 1.55.2.5 date 2007.05.07.10.55.06; author yamt; state Exp; branches; next 1.55.2.6; 1.55.2.6 date 2007.05.17.13.41.08; author yamt; state Exp; branches; next ; 1.53.2.1 date 2007.06.10.20.48.44; author bouyer; state Exp; branches; next ; 1.53.4.1 date 2007.09.03.07.04.13; author wrstuden; state Exp; branches; next ; 1.46.2.1 date 2006.11.18.21.29.39; author ad; state Exp; branches; next 1.46.2.2; 1.46.2.2 date 2007.01.12.01.01.01; author ad; state Exp; branches; next 1.46.2.3; 1.46.2.3 date 2007.01.28.12.12.50; author ad; state Exp; branches; next ; 1.46.4.1 date 2006.10.22.06.05.20; author yamt; state Exp; branches; next 1.46.4.2; 1.46.4.2 date 2006.12.21.15.07.58; author yamt; state Exp; branches; next ; 1.45.2.1 date 2006.09.08.19.07.40; author rpaulo; state Exp; branches; next ; 1.42.2.1 date 2006.07.13.17.49.06; author gdamore; state Exp; branches; next ; 1.40.2.1 date 2006.06.19.03.45.15; author chap; state Exp; branches; next ; 1.37.2.1 date 2006.04.19.02.34.03; author elad; state Exp; branches; next ; 1.37.4.1 date 2006.03.28.09.46.22; author tron; state Exp; branches; next 1.37.4.2; 1.37.4.2 date 2006.05.24.15.48.25; author tron; state Exp; branches; next ; 1.34.2.1 date 2006.03.13.09.07.03; author yamt; state Exp; branches; next 1.34.2.2; 1.34.2.2 date 2006.04.01.12.06.35; author yamt; state Exp; branches; next 1.34.2.3; 1.34.2.3 date 2006.04.11.11.53.47; author yamt; state Exp; branches; next 1.34.2.4; 1.34.2.4 date 2006.05.24.10.57.19; author yamt; state Exp; branches; next 1.34.2.5; 1.34.2.5 date 2006.06.26.12.45.40; author yamt; state Exp; branches; next 1.34.2.6; 1.34.2.6 date 2006.08.11.15.43.16; author yamt; state Exp; branches; next ; 1.33.2.1 date 2006.09.09.02.44.49; author rpaulo; state Exp; branches; next ; 1.33.4.1 date 2006.04.22.11.38.09; author simonb; state Exp; branches; next 1.33.4.2; 1.33.4.2 date 2006.06.01.22.35.32; author kardel; state Exp; branches; next ; 1.32.2.1 date 2006.02.01.14.51.42; author yamt; state Exp; branches; next 1.32.2.2; 1.32.2.2 date 2006.02.18.15.38.54; author yamt; state Exp; branches; next ; 1.30.2.1 date 2005.11.22.16.08.06; author yamt; state Exp; branches; next ; 1.25.2.1 date 2006.06.21.14.58.06; author yamt; state Exp; branches; next 1.25.2.2; 1.25.2.2 date 2006.12.30.20.47.24; author yamt; state Exp; branches; next 1.25.2.3; 1.25.2.3 date 2007.02.26.09.08.52; author yamt; state Exp; branches; next 1.25.2.4; 1.25.2.4 date 2007.09.03.14.31.30; author yamt; state Exp; branches; next 1.25.2.5; 1.25.2.5 date 2007.10.27.11.29.05; author yamt; state Exp; branches; next 1.25.2.6; 1.25.2.6 date 2007.12.07.17.27.04; author yamt; state Exp; branches; next 1.25.2.7; 1.25.2.7 date 2008.01.21.09.40.20; author yamt; state Exp; branches; next 1.25.2.8; 1.25.2.8 date 2008.02.04.09.22.54; author yamt; state Exp; branches; next 1.25.2.9; 1.25.2.9 date 2008.02.27.08.36.29; author yamt; state Exp; branches; next ; 1.18.2.1 date 2005.04.21.18.41.11; author tron; state Exp; branches; next 1.18.2.2; 1.18.2.2 date 2005.04.25.13.41.30; author tron; state Exp; branches; next 1.18.2.3; 1.18.2.3 date 2005.04.25.13.50.07; author tron; state Exp; branches; next 1.18.2.4; 1.18.2.4 date 2005.08.18.20.42.47; author tron; state Exp; branches; next 1.18.2.5; 1.18.2.5 date 2005.08.25.20.16.21; author tron; state Exp; branches; next 1.18.2.6; 1.18.2.6 date 2005.08.25.20.49.54; author tron; state Exp; branches; next 1.18.2.7; 1.18.2.7 date 2006.01.05.05.28.11; author riz; state Exp; branches; next 1.18.2.8; 1.18.2.8 date 2006.03.29.21.18.29; author tron; state Exp; branches; next 1.18.2.9; 1.18.2.9 date 2006.04.07.12.51.25; author tron; state Exp; branches; next 1.18.2.10; 1.18.2.10 date 2006.05.05.16.46.06; author ghen; state Exp; branches; next 1.18.2.11; 1.18.2.11 date 2006.09.08.10.27.35; author ghen; state Exp; branches; next 1.18.2.12; 1.18.2.12 date 2007.01.08.16.45.56; author ghen; state Exp; branches; next ; 1.14.4.1 date 2004.12.13.17.52.20; author bouyer; state Exp; branches; next 1.14.4.2; 1.14.4.2 date 2004.12.17.10.13.32; author bouyer; state Exp; branches; next 1.14.4.3; 1.14.4.3 date 2005.01.18.15.09.04; author bouyer; state Exp; branches; next 1.14.4.4; 1.14.4.4 date 2005.01.19.10.24.22; author bouyer; state Exp; branches; next 1.14.4.5; 1.14.4.5 date 2005.01.20.12.31.35; author bouyer; state Exp; branches; next 1.14.4.6; 1.14.4.6 date 2005.01.31.17.21.16; author bouyer; state Exp; branches; next 1.14.4.7; 1.14.4.7 date 2005.02.04.19.37.39; author bouyer; state Exp; branches; next 1.14.4.8; 1.14.4.8 date 2005.02.12.22.07.15; author bouyer; state Exp; branches; next 1.14.4.9; 1.14.4.9 date 2005.02.16.14.01.47; author bouyer; state Exp; branches; next 1.14.4.10; 1.14.4.10 date 2005.03.08.14.05.01; author bouyer; state Exp; branches; next ; 1.14.6.1 date 2005.04.29.11.28.29; author kent; state Exp; branches; next ; 1.14.8.1 date 2005.03.19.08.33.21; author yamt; state Exp; branches; next ; 1.12.2.1 date 2004.05.07.15.51.04; author skrll; state dead; branches; next 1.12.2.2; 1.12.2.2 date 2004.08.03.10.43.10; author skrll; state Exp; branches; next 1.12.2.3; 1.12.2.3 date 2004.09.03.12.45.09; author skrll; state Exp; branches; next 1.12.2.4; 1.12.2.4 date 2004.09.18.14.42.43; author skrll; state Exp; branches; next 1.12.2.5; 1.12.2.5 date 2004.09.21.13.24.36; author skrll; state Exp; branches; next 1.12.2.6; 1.12.2.6 date 2005.04.01.14.28.58; author skrll; state Exp; branches; next 1.12.2.7; 1.12.2.7 date 2005.11.10.14.00.20; author skrll; state Exp; branches; next 1.12.2.8; 1.12.2.8 date 2005.12.11.10.28.45; author christos; state Exp; branches; next ; 1.3.2.1 date 2004.05.22.15.59.02; author he; state Exp; branches; next ; desc @@ 1.190 log @s/peudo/pseudo/ in comment. @ text @# $NetBSD: files.xen,v 1.189 2023/10/17 16:06:36 bouyer Exp $ defflag opt_xen.h XEN XENPVHVM PAE DOM0OPS file arch/xen/x86/hypervisor_machdep.c xen file arch/xen/x86/xen_intr.c xen file arch/xen/xen/xen_machdep.c xen file arch/xen/xen/evtchn.c xen file arch/xen/xen/xengnt.c xen file arch/xen/xen/xenmem.c xen & !xenpv file arch/xen/x86/xen_mainbus.c xen file arch/xen/xen/xen_clock.c xen file arch/xen/x86/xen_bus_dma.c xen file arch/xen/xen/genfb_xen.c xen & genfb file arch/xen/x86/pvh_consinit.c xenpvhvm define hypervisorbus {} define xendevbus {} # Xen hypervisor device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus attach hypervisor at hypervisorbus file arch/xen/xen/hypervisor.c hypervisor needs-flag file arch/xen/xen/shutdown_xenbus.c hypervisor # Xenbus device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & kernfs file arch/xen/xenbus/xenbus_probe.c xenbus needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus needs-flag # Xen console support device xencons: tty attach xencons at xendevbus file arch/xen/xen/xencons.c xencons needs-flag # Xen Network driver device xennet: arp, ether, ifnet attach xennet at xenbus file arch/xen/xen/if_xennet_xenbus.c xennet needs-flag file arch/xen/xen/xennet_checksum.c xvif | xennet # Xen Block device driver and wd/sd/cd identities device xbd: disk attach xbd at xenbus file arch/xen/xen/xbd_xenbus.c xbd # Domain-0 operations file arch/xen/xen/privcmd.c dom0ops file arch/xen/x86/xen_shm_machdep.c dom0ops file arch/xen/xen/xenevt.c xenevt & dom0ops file arch/xen/xen/xennetback_xenbus.c xvif file arch/xen/xen/xbdback_xenbus.c xbdback # Xen event pseudo-device defpseudo xenevt defpseudo xvif defpseudo xbdback @ 1.189 log @XENPVH option is not used. Fix consinit.c to use XENPVHVM as intended and XENPVH from defflag @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.188 2023/10/17 12:07:42 bouyer Exp $ d59 1 a59 1 # Xen event peudo-device @ 1.188 log @Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic console on EFI-only hardware. Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer structure, filled in with parameters provided by Xen when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the PCI graphic device (when genfb is attached) and in x86_genfb_init() when genfb is used as console. x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo() to check if we have a genfb console xen/x86/consinit.c: support genfb as possible console xen/x86/consinit.c: use the hypervior IO as console until a better one is found. If the hypervisor is using a serial port for boot messages, we'll get NetBSD's boot message on the serial port too until the real console takes over. xen/x86/autoconf.c: rework device_register() to be closer to the x86 version. Especially make sure that device_pci_register() is called. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.187 2022/08/31 12:51:56 bouyer Exp $ d3 1 a3 1 defflag opt_xen.h XEN XENPVH XENPVHVM PAE DOM0OPS @ 1.187 log @Work in progress on dom0 PVH support: ioctl support for tools. Basically, in PVH mode (where XENFEAT_auto_translated_physmap is enabled), the hypervisor will not map foreing ressources in our virtual address space for us. Instead, we have to pass it an address in our physical address space (but not mapped to some RAM) where the ressource will show up and then enter this PA in pour page table. For this, introduce xenmem_* which manage the PA space. In PVH mode this is just allocated from the iomem_ex extent. With this, I can start a PV domU, and the guest's kernel boots (and the console works). It hangs because the backend driver can't map the frontend ressources (yet). Note that, per https://xenbits.xen.org/docs/unstable/support-matrix.html, dom0 PVH support is still considered experimental by Xen. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.186 2020/05/26 10:37:24 bouyer Exp $ d14 1 @ 1.187.4.1 log @Pull up following revision(s) (requested by bouyer in ticket #428): sys/arch/xen/xen/xen_machdep.c: revision 1.28 sys/arch/x86/pci/pci_machdep.c: revision 1.97 sys/arch/xen/xen/genfb_xen.c: revision 1.1 sys/arch/xen/xen/genfb_xen.c: revision 1.2 sys/arch/xen/include/hypervisor.h: revision 1.59 sys/arch/i386/conf/XEN3PAE_DOM0: revision 1.41 (patch) sys/arch/x86/x86/genfb_machdep.c: revision 1.22 sys/arch/xen/x86/consinit.c: revision 1.18 sys/arch/xen/x86/autoconf.c: revision 1.26 sys/external/mit/xen-include-public/dist/xen/include/public/platform.h: revision 1.2 sys/arch/xen/conf/files.xen: revision 1.188 sys/arch/x86/x86/consinit.c: revision 1.37 sys/arch/xen/conf/files.xen: revision 1.189 sys/arch/x86/x86/consinit.c: revision 1.38 sys/external/mit/xen-include-public/dist/xen/include/public/xen.h: revision 1.2 sys/arch/x86/include/genfb_machdep.h: revision 1.7 sys/arch/xen/x86/pvh_consinit.c: revision 1.5 sys/arch/xen/x86/pvh_consinit.c: revision 1.6 sys/arch/amd64/conf/XEN3_DOM0: revision 1.201 Move the pvh_xencons so xen_machdep.c as early_xencons, so it can be used in the future as early ouput for plain PV guests too. Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic console on EFI-only hardware. Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer structure, filled in with parameters provided by Xen when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the PCI graphic device (when genfb is attached) and in x86_genfb_init() when genfb is used as console. x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo() to check if we have a genfb console xen/x86/consinit.c: support genfb as possible console xen/x86/consinit.c: use the hypervior IO as console until a better one is found. If the hypervisor is using a serial port for boot messages, we'll get NetBSD's boot message on the serial port too until the real console takes over. xen/x86/autoconf.c: rework device_register() to be closer to the x86 version. Especially make sure that device_pci_register() is called. Make sure to always fall back to xen_early_console, even for dom0 Enable genfb in DOM0 kernels Add ext_lfb_base to dom0_vga_console_info, from recent Xen. We know if it's present or not by checking dom0.info_size Add XENPF_get_dom0_console, which gets a dom0_vga_console_info stucture from the hypervisor. To be used by PVH dom0 kernels. XENPVH option is not used. Fix consinit.c to use XENPVHVM as intended and XENPVH from defflag for a dom0 PVH, the dom0_vga_console_info structure has to be retrieved using a platform hypercall; do so in the XENPVHVM case. Now genfb works in a PVH dom0 running on Xen 4.18 (Xen 4.15 doesn't support this platoform op, so no way to make it work here). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.187 2022/08/31 12:51:56 bouyer Exp $ d3 1 a3 1 defflag opt_xen.h XEN XENPVHVM PAE DOM0OPS a13 1 file arch/xen/xen/genfb_xen.c xen & genfb @ 1.186 log @Add need-flags for kernfs. Compile Xen kernfs support only if kernfs is compiled in the kernel. Should fix MODULAR build. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.185 2020/05/05 17:02:01 bouyer Exp $ d10 1 @ 1.185 log @Make DOM0OPS build for PVH/PVHVM too @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.184 2020/05/02 16:46:06 bouyer Exp $ d30 1 a30 1 file arch/xen/xenbus/xenbus_dev.c xenbus needs-flag @ 1.184 log @This is called pvh_consinit not hvm_consinit @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.183 2020/05/02 16:44:36 bouyer Exp $ d3 1 a3 1 defflag opt_xen.h XEN XENPVH XENPVHVM PAE d49 12 @ 1.183 log @Introduce Xen PVH support in GENERIC. This is compiled in with options XENPVHVM x86 changes: - add Xen section and xen pvh entry points to locore.S. Set vm_guest to VM_GUEST_XENPVH in this entry point. Most of the boot procedure (especially page table setup and switch to paged mode) is shared with native. - change some x86_delay() to delay_func(), which points to x86_delay() for native/HVM, and xen_delay() for PVH Xen changes: - remove Xen bits from init_x86_64_ksyms() and init386_ksyms() and move to xen_init_ksyms(), used for both PV and PVH - set ISA no-legacy-devices property for PVH - factor out code from Xen's cpu_bootconf() to xen_bootconf() in xen_machdep.c - set up a specific pvh_consinit() which starts with printk() (which uses a simple hypercall that is available early) and switch to xencons when we can use pmap_kenter_pa(). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.182 2020/04/25 15:26:17 bouyer Exp $ d14 1 a14 1 file arch/xen/x86/hvm_consinit.c xenpvhvm @ 1.182 log @Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM guests in GENERIC. Xen support can be disabled at runtime with boot -c disable hypervisor @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180.2.9 2020/04/25 15:01:41 bouyer Exp $ d14 2 @ 1.181 log @Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors. - If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors can take TSC/core crystal clock ratio but core crystal clock frequency can't be taken. Intel SDM give us the values for some processors. - It also required to change lapic_per_second to make LAPIC timer correctly. - Add new file x86/x86/identcpu_subr.c to share common subroutines between kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c will be moved to this file in future. - Add comment to clarify. @ text @d1 1 a1 3 # $NetBSD: files.xen,v 1.180 2020/04/03 22:45:30 ad Exp $ # NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp # NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp d3 1 a3 5 ifdef i386 maxpartitions 8 else maxpartitions 16 endif d5 8 a12 1 maxusers 2 16 128 a13 162 defparam opt_kernbase.h KERNBASE # options for MP configuration through the MP spec defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI # Interrupt debug defflag opt_intrdebug.h INTRDEBUG # delay before cpu_reset() for reboot. defparam CPURESET_DELAY # splraise()/spllower() debug defflag opt_spldebug.h SPLDEBUG # Beep on halt defflag opt_beep.h BEEP_ONHALT defparam opt_beep.h BEEP_ONHALT_COUNT=3 defparam opt_beep.h BEEP_ONHALT_PITCH=1500 defparam opt_beep.h BEEP_ONHALT_PERIOD=250 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE file arch/xen/x86/autoconf.c xenpv ifdef i386 file arch/i386/i386/autoconf.c xenpvhvm file arch/i386/i386/aout_machdep.c exec_aout file arch/i386/i386/i386func.S machdep & xenpvhvm file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum file arch/i386/i386/db_disasm.c ddb file arch/i386/i386/db_interface.c ddb file arch/i386/i386/db_machdep.c ddb file arch/i386/i386/dumpsys.c file arch/i386/i386/gdt.c file arch/i386/i386/kobj_machdep.c modular file arch/i386/i386/machdep.c file arch/i386/i386/longrun.c file arch/i386/i386/mtrr_k6.c mtrr file arch/i386/i386/process_machdep.c file arch/i386/i386/trap.c file arch/i386/i386/lock_stubs.S file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/autoconf.c xenpvhvm file arch/amd64/amd64/busfunc.S file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_machdep.c ddb file arch/amd64/amd64/kobj_machdep.c modular file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/lock_stubs.S endif file kern/subr_disk_mbr.c disk file uvm/pmap/pmap_pvt.c file arch/x86/x86/db_memrw.c ddb | kgdb file arch/x86/x86/db_trace.c ddb file arch/x86/x86/efi.c machdep file arch/x86/x86/errata.c machdep file arch/x86/x86/fpu.c file arch/x86/x86/dbregs.c file arch/xen/x86/hypervisor_machdep.c file arch/x86/x86/kgdb_machdep.c kgdb file arch/x86/x86/mtrr_i686.c mtrr & (dom0ops | xenpvhvm) file arch/x86/x86/syscall.c file arch/xen/x86/x86_xpmap.c xenpv file arch/xen/x86/xen_pmap.c xenpv file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c xenpv file arch/x86/x86/cpu_ucode.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_intel.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/compat_60_cpu_ucode.c compat_60 & dom0ops & cpu_ucode file arch/xen/xen/xen_machdep.c file arch/xen/xen/clock.c xenpv file arch/x86/isa/clock.c xenpvhvm file arch/x86/isa/rtc.c dom0ops | xenpvhvm file arch/xen/xen/evtchn.c file arch/xen/xen/xengnt.c file arch/x86/x86/cpu_rng.c file dev/cons.c # # Stack-less Just-In-Time compiler # include "external/bsd/sljit/conf/files.sljit" # # Machine-independent SCSI drivers # include "dev/scsipi/files.scsipi" # # Machine-independent ATA drivers # include "dev/ata/files.ata" # Memory Disk for install floppy file dev/md_root.c memory_disk_hooks file arch/x86/x86/bus_dma.c machdep file arch/x86/x86/core_machdep.c coredump file arch/xen/x86/xen_bus_dma.c machdep & xenpv file arch/x86/x86/bus_space.c machdep file arch/xen/x86/consinit.c machdep & xenpv file arch/x86/x86/consinit.c machdep & xenpvhvm file arch/x86/x86/identcpu.c machdep file arch/x86/x86/identcpu_subr.c machdep file arch/xen/x86/pintr.c machdep & dom0ops & xenpv file arch/xen/x86/xen_ipi.c multiprocessor & xenpv file arch/x86/x86/idt.c machdep file arch/x86/x86/intr.c machdep & xenpvhvm file arch/x86/x86/ipi.c xenpvhvm file arch/x86/x86/pmap.c machdep file arch/x86/x86/x86_tlb.c machdep file arch/x86/x86/procfs_machdep.c procfs file arch/x86/x86/sys_machdep.c machdep file arch/x86/x86/tsc.c machdep file arch/x86/x86/vm_machdep.c machdep file arch/x86/x86/x86_autoconf.c machdep & xenpvhvm file arch/x86/x86/x86_machdep.c machdep file arch/x86/x86/platform.c machdep include "arch/xen/conf/files.compat" # BIOS32 routines define bios32 file arch/x86/x86/bios32.c bios32 needs-flag # xen specific mainbus attributes define cpubus { [apid = -1] } define cpufeaturebus {} define ioapicbus { [apid = -1] } define apmbus {} define pnpbiosbus {} a16 15 # # System bus types # device mainbus: isabus, pcibus, cpubus, ioapicbus, hypervisorbus, bios32, ipmibus, acpibus attach mainbus at root file arch/xen/x86/xen_mainbus.c mainbus ifdef amd64 file arch/amd64/amd64/amd64_mainbus.c mainbus & xenpvhvm elifdef i386 file arch/i386/i386/i386_mainbus.c mainbus & xenpvhvm file dev/eisa/eisabusprint.c xenpvhvm endif file arch/x86/x86/mainbus.c mainbus a36 5 # Xen event peudo-device defpseudo xenevt defpseudo xvif defpseudo xbdback d41 1 a46 184 # PCI frontend device xpci: pcibus attach xpci at xenbus with xpci_xenbus file arch/xen/xen/xpci_xenbus.c xpci_xenbus # Xen Balloon driver device balloon attach balloon at xenbus file arch/xen/xen/balloon.c balloon # Non-Xen specific devices and options include "dev/pckbport/files.pckbport" # # Machine-independent PCI devices # include "dev/i2o/files.i2o" include "dev/pci/files.pci" include "dev/pci/files.agp" file arch/x86/pci/pciide_machdep.c pciide_common device pciback {unit = -1} attach pciback at pci file arch/xen/xen/pciback.c pciback # x86 specific PCI hardware include "arch/x86/pci/files.pci" # # Machine-independent ISA devices # include "dev/isa/files.isa" include "dev/usb/files.usb" include "dev/ieee1394/files.ieee1394" device fdc {drive = -1} #XXX include "dev/apm/files.apm" include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi & xenpv file arch/x86/x86/mpacpi.c acpi file arch/x86/x86/i8259.c xenpvhvm | dom0ops # Stubs for x86 routines not included in the system file arch/x86/x86/x86_stub.c # MP configuration using Intel SMP specification 1.4 file arch/x86/x86/mpbios.c mpbios # MP configuration using either ACPI or Intel SMP specification 1.4 file arch/x86/x86/mp.c acpi | mpbios file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup file arch/x86/x86/apic.c ioapic file arch/x86/x86/nmi.c file arch/x86/acpi/acpi_machdep.c acpi file arch/x86/acpi/acpi_pdc.c acpi device ioapic attach ioapic at ioapicbus file arch/x86/x86/ioapic.c ioapic needs-flag #IPMI device file arch/x86/x86/x86_ipmi.c ipmi needs-flag # CPUs # device cpu: cpufeaturebus attach cpu at cpubus device vcpu attach vcpu at xendevbus file arch/xen/x86/cpu.c xenpv & vcpu file arch/x86/x86/cpu.c xenpvhvm # CPU features # device est attach est at cpufeaturebus file arch/x86/x86/est.c est file arch/x86/x86/intel_busclock.c est device powernow attach powernow at cpufeaturebus file arch/x86/x86/powernow.c powernow # # Compatibility modules # ifdef i386 # Binary compatibility with previous NetBSD releases (COMPAT_XX) file arch/i386/i386/compat_13_machdep.c compat_13 file arch/i386/i386/compat_16_machdep.c compat_16 # Linux binary compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/i386/files.linux_i386" file arch/i386/i386/linux_sigcode.S compat_linux file arch/i386/i386/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # FreeBSD binary compatibility (COMPAT_FREEBSD) include "compat/freebsd/files.freebsd" elifdef amd64 # Binary compatibility with previous NetBSD releases (COMPAT_XX) file arch/amd64/amd64/compat_16_machdep.c compat_16 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_machdep_13.c compat_netbsd32 & compat_13 file arch/amd64/amd64/netbsd32_machdep_16.c compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif # OSS audio driver compatibility include "compat/ossaudio/files.ossaudio" # Bluetooth include "dev/bluetooth/files.bluetooth" include "dev/sdmmc/files.sdmmc" # # CARDBUS # include "dev/cardbus/files.cardbus" ifdef i386 file arch/i386/i386/rbus_machdep.c cardbus elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif # this wants to be probed as late as possible. # # Machine-independent PCMCIA drivers # include "dev/pcmcia/files.pcmcia" # Domain-0 operations defflag opt_xen.h DOM0OPS file arch/xen/xen/privcmd.c dom0ops file arch/xen/x86/xen_shm_machdep.c dom0ops file arch/x86/pci/pci_machdep.c (xenpvhvm | hypervisor) & pci & ( dom0ops | xenpvhvm ) file arch/x86/pci/pci_intr_machdep.c (xenpvhvm | hypervisor) & pci file arch/x86/pci/pci_msi_machdep.c hypervisor & xenpvhvm & pci & ! no_pci_msi_msix file arch/x86/pci/msipic.c hypervisor & xenpvhvm & pci & ! no_pci_msi_msix file arch/x86/isa/isa_machdep.c (xenpvhvm | hypervisor) & ( dom0ops | xenpvhvm ) file arch/xen/xen/xenevt.c xenevt & (dom0ops | xenpvhvm) file arch/xen/xen/xennetback_xenbus.c xvif file arch/xen/xen/xennet_checksum.c xvif | xennet file arch/xen/xen/xbdback_xenbus.c xbdback ifdef i386 include "arch/i386/conf/majors.i386" elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.180 log @CPU topology makes almost no sense for Xen, and populates it with B/S values @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.179 2019/09/07 18:56:01 maxv Exp $ d147 1 @ 1.180.2.1 log @Move softint and preemtion-related functions out of x86/x86/intr.c to its own file, x86/x86/x86_softintr.c Add x86/x86/x86_softintr.c for native and XenPV Make sure XenPV also check ci_ioending, which is used for softints. Switch XenPV to fast softints and allow kernel preemption. kpreempt_disable() before calling pmap_changeprot_local() run xen_wallclock_time() and xen_global_systime_ns() at splshed() to avoid being interrupted. XXX amd64 lock stubs are racy for XPENDING @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180 2020/04/03 22:45:30 ad Exp $ a150 1 file arch/x86/x86/x86_softintr.c machdep @ 1.180.2.2 log @Always patch spllower with cx8_spllower; it works fine for Xen now Include x86/x86/patch.c is !xenpv While there, defopt XENPV @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180.2.1 2020/04/11 18:26:07 bouyer Exp $ a152 1 file arch/x86/x86/patch.c machdep & ! xenpv d393 1 a393 1 defflag opt_xen.h DOM0OPS XENPV @ 1.180.2.3 log @Reorganise sources to make it possible to include Xen PVHVM support in native kernels. Among others: - move xen/include/amd64/hypercall.h to amd64/include/xen and xen/include/i386/hypercall.h to i386/include/xen - exclude some native files from the build for xenpv - add xen to "machine" config statement for amd64 and i386 - split arch/xen/conf/files.xen to arch/xen/conf/files.xen (for pv drivers) and arch/xen/conf/files.xen.pv (for full pv support) - add GENERIC_XENHVM kernel config which includes GENERIC and add Xen PV drivers. @ text @d1 3 a3 1 # $NetBSD: files.xen,v 1.180.2.2 2020/04/14 16:53:57 bouyer Exp $ d5 5 a9 1 defflag opt_xen.h XEN XENPVH XENPVHVM d11 1 a11 7 file arch/xen/x86/hypervisor_machdep.c xen file arch/xen/x86/xen_intr.c xen file arch/xen/xen/xen_machdep.c xen file arch/xen/xen/evtchn.c xen file arch/xen/xen/xengnt.c xen file arch/xen/x86/xen_ipi.c multiprocessor & xen file arch/xen/x86/xen_mainbus.c xen d13 1 d15 161 d179 15 d214 5 a222 1 file arch/xen/xen/xennet_checksum.c xvif | xennet d228 184 @ 1.180.2.4 log @Rename xen/xen/clock.c to xen_clock.c, so that it can be compiled with x86/isa/clock.c call events_default_setup() from hypervisor_match to that event arrays are properly initialised. Use xen_delay() and xen's timecounter for PVHVM. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180.2.3 2020/04/16 08:46:35 bouyer Exp $ d12 1 a12 1 file arch/xen/xen/xen_clock.c xen @ 1.180.2.5 log @Move xen_ipi.c to XENPV only. Make sure we don't need to send events to remote CPUs (outside of IPIs) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180.2.4 2020/04/16 19:23:50 bouyer Exp $ d10 1 @ 1.180.2.6 log @We need xenbus_bus_dma_tag for PVHVM too, but without phys->machine translation @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180.2.5 2020/04/19 20:29:30 bouyer Exp $ a11 1 file arch/xen/x86/xen_bus_dma.c xen @ 1.180.2.7 log @Include again xen/conf/files.compat for PV kernels, and make it build. My build.sh -u used stale opt_*.h files ... @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180.2.6 2020/04/20 19:40:24 bouyer Exp $ d3 1 a3 1 defflag opt_xen.h XEN XENPVH XENPVHVM PAE @ 1.180.2.8 log @sync with bouyer-xenpvh-base2 (HEAD) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.180.2.7 2020/04/25 10:52:26 bouyer Exp $ d13 34 @ 1.180.2.9 log @restore part accidentaly deleted @ text @a12 34 define hypervisorbus {} define xendevbus {} # Xen hypervisor device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus attach hypervisor at hypervisorbus file arch/xen/xen/hypervisor.c hypervisor needs-flag file arch/xen/xen/shutdown_xenbus.c hypervisor # Xenbus device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus needs-flag # Xen console support device xencons: tty attach xencons at xendevbus file arch/xen/xen/xencons.c xencons needs-flag # Xen Network driver device xennet: arp, ether, ifnet attach xennet at xenbus file arch/xen/xen/if_xennet_xenbus.c xennet needs-flag file arch/xen/xen/xennet_checksum.c xvif | xennet # Xen Block device driver and wd/sd/cd identities device xbd: disk attach xbd at xenbus file arch/xen/xen/xbd_xenbus.c xbd @ 1.179 log @Merge amd64func.S into cpufunc.S, and clean up. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.178 2019/02/14 08:18:26 cherry Exp $ a159 1 file arch/x86/x86/cpu_topology.c machdep @ 1.178 log @Welcome XENPVHVM mode. It is UP only, has xbd(4) and xennet(4) as PV drivers. The console is com0 at isa and the native portion is very rudimentary AT architecture, so is probably suboptimal to run without PV support. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.177 2019/02/14 06:59:24 cherry Exp $ a67 1 file arch/amd64/amd64/amd64func.S machdep & xenpvhvm @ 1.178.4.1 log @Pull up the following, requested by msaitoh in ticket #1015 sys/arch/x86/conf/files.x86 1.108 (via patch) sys/arch/x86/include/apicvar.h 1.7 (via patch) sys/arch/x86/include/cpu.h 1.121 (via patch) sys/arch/x86/x86/cpu.c 1.185 (via patch) sys/arch/x86/x86/hyperv.c 1.7 (via patch) sys/arch/x86/x86/tsc.c 1.41 (via patch) sys/arch/xen/conf/files.xen 1.181 (via patch) Get TSC frequency from CPUID 0x15 and/or x16 if it's available. This change fixes a problem that newer Intel processors' timer counts very slowly. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.178 2019/02/14 08:18:26 cherry Exp $ a147 1 file arch/x86/x86/identcpu_subr.c machdep @ 1.178.4.2 log @Apply patch, requested by manu in ticket #1632: sys/arch/xen/conf/files.xen (apply patch) Build fix to define the SELFRELOC option for XEN kernels. This is not needed in newer branches as those include amd64/conf/files.amd64 from x86/conf/files.x86 (and get the definition via that path) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.178.4.1 2020/07/15 17:25:08 martin Exp $ a14 3 # This options is of no use to Xen, but building requires its definition defflag opt_selfreloc.h SELFRELOC @ 1.177 log @Snag the final bits of PV only code to conditionally compile under -DXENPV This completes the bifurcation. The next step is to add -DXENPVHVM code. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.176 2019/01/27 02:08:39 pgoyette Exp $ d41 1 d43 1 d67 2 d87 2 d93 1 a93 1 # file arch/x86/x86/mtrr_i686.c mtrr d106 1 a106 1 file arch/xen/xen/xen_machdep.c xenpv d109 2 a110 1 file arch/x86/isa/rtc.c dom0ops d146 1 d151 2 d159 1 d183 1 a183 1 device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus, acpibus d186 6 d275 1 a275 1 file arch/x86/x86/i8259.c dom0ops d310 1 d397 6 a402 4 file arch/x86/pci/pci_machdep.c hypervisor & pci & dom0ops file arch/x86/pci/pci_intr_machdep.c hypervisor & pci file arch/x86/isa/isa_machdep.c hypervisor & dom0ops file arch/xen/xen/xenevt.c xenevt & dom0ops @ 1.176 log @Merge the [pgoyette-compat] branch @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.175 2018/12/25 11:56:14 mlelstv Exp $ d39 1 a39 1 file arch/xen/x86/autoconf.c d89 2 a90 2 file arch/xen/x86/x86_xpmap.c file arch/xen/x86/xen_pmap.c d92 1 a92 1 file arch/xen/x86/xenfunc.c d100 1 a100 1 file arch/xen/xen/xen_machdep.c d102 1 a102 1 file arch/xen/xen/clock.c d136 1 a136 1 file arch/xen/x86/xen_bus_dma.c machdep d138 1 a138 1 file arch/xen/x86/consinit.c machdep d140 2 a141 2 file arch/xen/x86/pintr.c machdep & dom0ops file arch/xen/x86/xen_ipi.c multiprocessor d256 1 a256 1 file arch/xen/xen/xen_acpi_machdep.c acpi d292 1 a292 2 file arch/xen/x86/cpu.c cpu | vcpu @ 1.175 log @Make ipmi driver available to other platforms. Add ACPI attachment. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.174 2018/12/25 06:50:12 cherry Exp $ d334 2 @ 1.174 log @Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c While at it, separate the source function tracking so that the interrupt paths are truly independant. Use weak symbol exporting to provision for future PVHVM co-existence of both files, but with independant paths. Introduce assembler code such that in a unified scenario, native interrupts get first priority in spllower(), followed by XEN event callbacks. IPL management and semantics are unchanged - native handlers and xen callbacks are expected to maintain their ipl related semantics. In summary, after this commit, native and XEN now have completely unrelated interrupt handling mechanisms, including intr_establish_xname() and assembler stubs and intr handler management. Happy Christmas! @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.173 2018/12/24 21:15:59 cherry Exp $ a166 1 define ipmibus {} d283 1 a283 3 device ipmi : sysmon_envsys, sysmon_wdog attach ipmi at ipmibus file arch/x86/x86/ipmi.c ipmi needs-flag @ 1.173 log @Do not include files for MSI support on XEN dom0. We do not support MSI as of now. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.172 2018/12/22 07:45:58 cherry Exp $ a141 1 file arch/x86/x86/intr.c machdep @ 1.172 log @This change modifies the mainbus(4) entry point for all x86 sub-archs in the following way: i) It provides a unified entry point in x86/x86/mainbus.c:mainbus_attach() ii) It carves out the preliminary bus attachment sequence that is common to all sub-archs into x86/x86/mainbus.c: x86_cpubus_attach() iii) It consolidates the remaining pathways as internal callee functions so that these may be called piecemeal if required. A special usecase of this is XEN PVHVM which may need to call the native configure path, the xen configure path, or both. iv) It moves the driver private data structures from i386/i386_mainbus.c to an x86/ level one. This allows for other sub-arch's to do similar, if needed. (They do not at the moment). v) For dom0 kernels, it enables 'acpi0 at mainbus?' and 'acpi0 at hypervisorbus'. This serves two purposes: a) To demonstrate the possibility of dynamic configuration tree traversal ordering changes. b) To allow for the common acpi_check(self, "acpibus") call in x86/mainbus.c to not barf when it is called from the dom0 attach path. We allow for the acpi0 device to be a child of mainbus with the changes to amd64/conf/XEN3_DOM0 and i386/conf/XEN3PAE_DOM0 without actually probing further in the code. This path will later be pursued in a PVHVM boot codepath. There should be no operative changes with this change. If there are, please complain loudly. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.171 2018/12/22 06:33:37 cherry Exp $ a383 2 file arch/x86/pci/pci_msi_machdep.c hypervisor & pci file arch/x86/pci/msipic.c hypervisor & pci @ 1.171 log @Move mainbus(4) driver files in various x86 sub-archs to name prefixed versions. This allows us to further modularise them by unifying common bus probe code in x86/x86/mainbus.c to be introduced next. This commit has no functional changes. It is done for ease of visibility of newer diffs in the queue. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.170 2018/07/26 15:38:26 maxv Exp $ d174 1 a174 1 device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus d177 1 @ 1.170 log @Merge the content of xen_debug.c into xen_machdep.c, there is only one function. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.169 2018/05/23 07:45:35 maxv Exp $ d176 1 a176 1 file arch/xen/x86/mainbus.c mainbus @ 1.169 log @Merge convert_xmm_s87.c into fpu.c. It contains only two functions, that are used only in fpu.c. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.168 2018/03/18 00:17:18 christos Exp $ a100 1 file arch/xen/xen/xen_debug.c @ 1.169.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.178 2019/02/14 08:18:26 cherry Exp $ d39 1 a39 1 file arch/xen/x86/autoconf.c xenpv a40 1 file arch/i386/i386/autoconf.c xenpvhvm a41 1 file arch/i386/i386/i386func.S machdep & xenpvhvm a64 2 file arch/amd64/amd64/autoconf.c xenpvhvm file arch/amd64/amd64/amd64func.S machdep & xenpvhvm a82 2 file arch/x86/x86/efi.c machdep file arch/x86/x86/errata.c machdep d87 1 a87 1 file arch/x86/x86/mtrr_i686.c mtrr & (dom0ops | xenpvhvm) d89 2 a90 2 file arch/xen/x86/x86_xpmap.c xenpv file arch/xen/x86/xen_pmap.c xenpv d92 1 a92 1 file arch/xen/x86/xenfunc.c xenpv d101 1 d103 2 a104 3 file arch/xen/xen/clock.c xenpv file arch/x86/isa/clock.c xenpvhvm file arch/x86/isa/rtc.c dom0ops | xenpvhvm d137 1 a137 1 file arch/xen/x86/xen_bus_dma.c machdep & xenpv d139 1 a139 2 file arch/xen/x86/consinit.c machdep & xenpv file arch/x86/x86/consinit.c machdep & xenpvhvm d141 3 a143 2 file arch/xen/x86/pintr.c machdep & dom0ops & xenpv file arch/xen/x86/xen_ipi.c multiprocessor & xenpv a144 2 file arch/x86/x86/intr.c machdep & xenpvhvm file arch/x86/x86/ipi.c xenpvhvm a150 1 file arch/x86/x86/x86_autoconf.c machdep & xenpvhvm d169 1 d175 1 a175 1 device mainbus: isabus, pcibus, cpubus, ioapicbus, hypervisorbus, bios32, ipmibus, acpibus d177 1 a177 8 file arch/xen/x86/xen_mainbus.c mainbus ifdef amd64 file arch/amd64/amd64/amd64_mainbus.c mainbus & xenpvhvm elifdef i386 file arch/i386/i386/i386_mainbus.c mainbus & xenpvhvm file dev/eisa/eisabusprint.c xenpvhvm endif file arch/x86/x86/mainbus.c mainbus d258 1 a258 1 file arch/xen/xen/xen_acpi_machdep.c acpi & xenpv d260 1 a260 1 file arch/x86/x86/i8259.c xenpvhvm | dom0ops d285 3 a287 1 file arch/x86/x86/x86_ipmi.c ipmi needs-flag d296 2 a297 2 file arch/xen/x86/cpu.c xenpv & vcpu file arch/x86/x86/cpu.c xenpvhvm a337 2 file arch/amd64/amd64/netbsd32_machdep_13.c compat_netbsd32 & compat_13 file arch/amd64/amd64/netbsd32_machdep_16.c compat_netbsd32 & compat_16 d382 6 a387 6 file arch/x86/pci/pci_machdep.c (xenpvhvm | hypervisor) & pci & ( dom0ops | xenpvhvm ) file arch/x86/pci/pci_intr_machdep.c (xenpvhvm | hypervisor) & pci file arch/x86/pci/pci_msi_machdep.c hypervisor & xenpvhvm & pci & ! no_pci_msi_msix file arch/x86/pci/msipic.c hypervisor & xenpvhvm & pci & ! no_pci_msi_msix file arch/x86/isa/isa_machdep.c (xenpvhvm | hypervisor) & ( dom0ops | xenpvhvm ) file arch/xen/xen/xenevt.c xenevt & (dom0ops | xenpvhvm) @ 1.169.2.2 log @Merge changes from current as of 20200406 @ text @d1 1 a1 1 # $NetBSD$ d161 1 @ 1.169.2.3 log @Mostly merge changes from HEAD upto 20200411 @ text @d68 1 @ 1.169.2.4 log @Sync with HEAD @ text @a146 1 file arch/x86/x86/identcpu_subr.c machdep @ 1.168 log @Separate the compat code in its own file to facilitate module building. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.167 2018/03/17 20:03:01 christos Exp $ a80 1 file arch/x86/x86/convert_xmm_s87.c @ 1.167 log @dedup microcode handling. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.166 2018/03/16 12:48:54 maxv Exp $ d98 2 @ 1.166 log @Remove ipkdb from i386. Also remove unused references in amd64. I already talked about doing that six months ago on port-i386@@. Back then it was as general cleanup, but now, with SVS etc, we do actually have good reasons for simplifying the entry points. Ok kamil@@. (christos@@ was in the conversation too) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.165 2018/01/22 22:36:11 jdolecek Exp $ d95 1 a95 1 file arch/xen/xen/xen_ucode.c dom0ops & cpu_ucode needs-flag @ 1.165 log @xen has separate list, update here also for x86/pmap_tlb.c -> x86/x86_tlb.c @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.164 2017/12/02 13:03:15 maxv Exp $ a49 1 file arch/i386/i386/ipkdb_glue.c ipkdb @ 1.165.2.1 log @Import christos's changes for the compat_60 cpu_ucode stuff @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.167 2018/03/17 20:03:01 christos Exp $ d96 1 a96 1 file arch/x86/x86/cpu_ucode.c dom0ops & cpu_ucode needs-flag @ 1.165.2.2 log @Import more christos@@ changes from -current @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.168 2018/03/18 00:17:18 christos Exp $ a98 2 file arch/x86/x86/compat_60_cpu_ucode.c compat_60 & dom0ops & cpu_ucode @ 1.165.2.3 log @Synch with HEAD, resolve conflicts @ text @d50 1 @ 1.165.2.4 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.169 2018/05/23 07:45:35 maxv Exp $ d81 1 @ 1.165.2.5 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.170 2018/07/26 15:38:26 maxv Exp $ d101 1 @ 1.165.2.6 log @OMG it builds! Finish rearranging the amd64 MD compat_netbsd32 code. XXX Other architectures will be dealt with later. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.165.2.5 2018/07/28 04:37:42 pgoyette Exp $ a336 2 file arch/amd64/amd64/netbsd32_machdep_13.c compat_netbsd32 & compat_13 file arch/amd64/amd64/netbsd32_machdep_16.c compat_netbsd32 & compat_16 @ 1.165.2.7 log @Sync with HEAD, resolve a few conflicts @ text @d1 1 a1 1 # $NetBSD$ d142 1 d168 1 d174 1 a174 1 device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus, acpibus d176 1 a176 2 file arch/xen/x86/xen_mainbus.c mainbus file arch/x86/x86/mainbus.c mainbus d284 3 a286 1 file arch/x86/x86/x86_ipmi.c ipmi needs-flag d385 2 @ 1.164 log @Drop COMPAT_13 on amd64, already not enabled. Reduces the number of critical places. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.163 2017/11/06 15:21:23 cherry Exp $ d146 1 a146 1 file arch/x86/x86/pmap_tlb.c machdep @ 1.163 log @Summary: xen/x86/intr.c has been retired. Don't try to build it. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.162 2017/11/04 15:24:42 cherry Exp $ a332 1 file arch/amd64/amd64/compat_13_machdep.c compat_13 @ 1.162 log @Remove bitrotted xen specific versions of pci, pciide machdep related code. Use the common x86/ code instead. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.161 2017/11/04 14:56:48 cherry Exp $ a141 1 file arch/xen/x86/intr.c machdep @ 1.161 log @Retire xen/x86/intr.c and use the new xen specific glue in x86/x86/intr.c The purpose of this change is to expose the x86/include/intr.h API to drivers. Specifically the following functions: void *intr_establish_xname(...); void *intr_establish(...); void intr_disestablish(...); while maintaining the old API from xen/include/evtchn.h, specifically the following functions: int event_set_handler(...); int event_remove_handler(...); This is so that if things break, we can keep using the old API until everything stabilises. This is a stepping stone towards getting the actual XEN event callback path rework code in place - which can be done opaquely behind the intr.h API - NetBSD/XEN specific drivers that have been ported to the intr.h API should then work without significant further modifications. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.160 2017/11/04 09:22:16 cherry Exp $ d235 1 a235 1 file arch/xen/xen/pciide_machdep.c pciide_common d385 3 a387 1 file arch/xen/xen/pci_intr_machdep.c hypervisor & pci @ 1.160 log @On XEN dom0, the function xen/x86/intr.c:xen_intr_map() is used to map hardware interrupts to XEN callbacks called 'events'. This function combines both the allocation and the binding. This change is the first part of breaking up that combination into xen_pirq_alloc() and the binding will happen as part of the pic_addroute() callback of a new pseudo PIC_XEN This code will be added later on. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.159 2017/11/04 08:55:50 cherry Exp $ d144 1 @ 1.159 log @On XEN PV, the ISA 8259A PIC is only used on dom0 @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.158 2017/11/04 08:50:47 cherry Exp $ d141 1 @ 1.158 log @In XEN PV, the idt vector table is not required to be altered at runtime, since only entries for exceptions/traps are registered with the hypervisor and interrupts are managed via a completely different mechanism. This change uses the idt_vec_reserve() mechanism nevertheless, modifying it slightly to only do namespace management in XEN, while on native it will continue to do idt entry init as before. Rationale: Consistent API usage and potential future merging of XEN/non-XEN code. There are no functional changes in this commit. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.157 2017/11/04 07:01:45 cherry Exp $ d259 1 a259 1 file arch/x86/x86/i8259.c @ 1.157 log @opt_intrdebug.h - this unbreaks the i386 DOMU build under some conditions @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.156 2017/08/15 08:51:38 maxv Exp $ d143 1 @ 1.156 log @Merge into x86/. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.154 2017/08/12 07:21:57 maxv Exp $ d18 3 @ 1.155 log @Merge into x86/. @ text @a47 1 file arch/i386/i386/kgdb_machdep.c kgdb a68 1 file arch/amd64/amd64/kgdb_machdep.c kgdb d85 1 @ 1.154 log @Remove vm86. Pass 3. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.153 2017/08/09 18:48:53 maxv Exp $ d155 1 a155 5 ifdef i386 file arch/i386/i386/bios32.c bios32 needs-flag elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif @ 1.153 log @Remove references to compat_ibcs2. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.152 2017/08/01 14:43:54 maxv Exp $ a314 2 # VM86 mode file arch/i386/i386/vm86.c vm86 @ 1.152 log @Move arch/i386/i386/freebsd_* into compat/freebsd/. COMPAT_FREEBSD is i386-specific. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.150 2017/07/29 11:54:14 maxv Exp $ d320 1 a320 7 file arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 # iBCS-2 binary compatibility (COMPAT_IBCS2) include "compat/ibcs2/files.ibcs2" file arch/i386/i386/ibcs2_machdep.c compat_ibcs2 file arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 file arch/i386/i386/ibcs2_syscall.c compat_ibcs2 @ 1.151 log @Don't include files.svr4 and files.svr4_32. @ text @a336 3 file arch/i386/i386/freebsd_machdep.c compat_freebsd file arch/i386/i386/freebsd_sigcode.S compat_freebsd file arch/i386/i386/freebsd_syscall.c compat_freebsd @ 1.150 log @Drop support for svr4 on i386. This feature is not maintained, not reliable, and of a limited use case. Most svr4 applications got time to be ported to linux, and we do have a functional, maintained linux emulation. Reduces the number of entry points into the kernel, the number of places that need special care (cpu context). Note that compat_svr4 is still available on sparc. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.149 2017/07/16 14:02:48 cherry Exp $ a321 3 # SVR4 binary compatibility (COMPAT_SVR4) include "compat/svr4/files.svr4" @ 1.149 log @Unify the xen and native x86/ interrupt setup functions and spl traversal data structures. This is towards PVHVM. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.148 2017/06/22 18:14:32 khorben Exp $ a323 3 file arch/i386/i386/svr4_machdep.c compat_svr4 file arch/i386/i386/svr4_sigcode.S compat_svr4 file arch/i386/i386/svr4_syscall.c compat_svr4 @ 1.149.2.1 log @file files.xen was added on branch perseant-stdc-iso10646 on 2017-07-16 14:02:49 +0000 @ text @d1 412 @ 1.149.2.2 log @2302716 @ text @a0 412 # $NetBSD: files.xen,v 1.149 2017/07/16 14:02:48 cherry Exp $ # NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp # NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp ifdef i386 maxpartitions 8 else maxpartitions 16 endif maxusers 2 16 128 defparam opt_kernbase.h KERNBASE # options for MP configuration through the MP spec defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI # delay before cpu_reset() for reboot. defparam CPURESET_DELAY # splraise()/spllower() debug defflag opt_spldebug.h SPLDEBUG # Beep on halt defflag opt_beep.h BEEP_ONHALT defparam opt_beep.h BEEP_ONHALT_COUNT=3 defparam opt_beep.h BEEP_ONHALT_PITCH=1500 defparam opt_beep.h BEEP_ONHALT_PERIOD=250 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE file arch/xen/x86/autoconf.c ifdef i386 file arch/i386/i386/aout_machdep.c exec_aout file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum file arch/i386/i386/db_disasm.c ddb file arch/i386/i386/db_interface.c ddb file arch/i386/i386/db_machdep.c ddb file arch/i386/i386/dumpsys.c file arch/i386/i386/gdt.c file arch/i386/i386/ipkdb_glue.c ipkdb file arch/i386/i386/kgdb_machdep.c kgdb file arch/i386/i386/kobj_machdep.c modular file arch/i386/i386/machdep.c file arch/i386/i386/longrun.c file arch/i386/i386/mtrr_k6.c mtrr file arch/i386/i386/process_machdep.c file arch/i386/i386/trap.c file arch/i386/i386/lock_stubs.S file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/busfunc.S file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_machdep.c ddb file arch/amd64/amd64/kgdb_machdep.c kgdb file arch/amd64/amd64/kobj_machdep.c modular file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/lock_stubs.S endif file kern/subr_disk_mbr.c disk file uvm/pmap/pmap_pvt.c file arch/x86/x86/convert_xmm_s87.c file arch/x86/x86/db_memrw.c ddb | kgdb file arch/x86/x86/db_trace.c ddb file arch/x86/x86/fpu.c file arch/x86/x86/dbregs.c file arch/xen/x86/hypervisor_machdep.c # file arch/x86/x86/mtrr_i686.c mtrr file arch/x86/x86/syscall.c file arch/xen/x86/x86_xpmap.c file arch/xen/x86/xen_pmap.c file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c file arch/xen/xen/xen_ucode.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_intel.c dom0ops & cpu_ucode needs-flag file arch/xen/xen/xen_machdep.c file arch/xen/xen/xen_debug.c file arch/xen/xen/clock.c file arch/x86/isa/rtc.c dom0ops file arch/xen/xen/evtchn.c file arch/xen/xen/xengnt.c file arch/x86/x86/cpu_rng.c file dev/cons.c # # Stack-less Just-In-Time compiler # include "external/bsd/sljit/conf/files.sljit" # # Machine-independent SCSI drivers # include "dev/scsipi/files.scsipi" # # Machine-independent ATA drivers # include "dev/ata/files.ata" # Memory Disk for install floppy file dev/md_root.c memory_disk_hooks file arch/x86/x86/bus_dma.c machdep file arch/x86/x86/core_machdep.c coredump file arch/xen/x86/xen_bus_dma.c machdep file arch/x86/x86/bus_space.c machdep file arch/xen/x86/consinit.c machdep file arch/x86/x86/identcpu.c machdep file arch/xen/x86/intr.c machdep file arch/xen/x86/xen_ipi.c multiprocessor file arch/x86/x86/pmap.c machdep file arch/x86/x86/pmap_tlb.c machdep file arch/x86/x86/procfs_machdep.c procfs file arch/x86/x86/sys_machdep.c machdep file arch/x86/x86/tsc.c machdep file arch/x86/x86/vm_machdep.c machdep file arch/x86/x86/x86_machdep.c machdep file arch/x86/x86/cpu_topology.c machdep file arch/x86/x86/platform.c machdep include "arch/xen/conf/files.compat" # BIOS32 routines define bios32 ifdef i386 file arch/i386/i386/bios32.c bios32 needs-flag elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif # xen specific mainbus attributes define cpubus { [apid = -1] } define cpufeaturebus {} define ioapicbus { [apid = -1] } define apmbus {} define pnpbiosbus {} define hypervisorbus {} define xendevbus {} define ipmibus {} # # System bus types # device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus attach mainbus at root file arch/xen/x86/mainbus.c mainbus # Xen hypervisor device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus attach hypervisor at hypervisorbus file arch/xen/xen/hypervisor.c hypervisor needs-flag file arch/xen/xen/shutdown_xenbus.c hypervisor # Xenbus device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus needs-flag # Xen console support device xencons: tty attach xencons at xendevbus file arch/xen/xen/xencons.c xencons needs-flag # Xen event peudo-device defpseudo xenevt defpseudo xvif defpseudo xbdback # Xen Network driver device xennet: arp, ether, ifnet attach xennet at xenbus file arch/xen/xen/if_xennet_xenbus.c xennet needs-flag # Xen Block device driver and wd/sd/cd identities device xbd: disk attach xbd at xenbus file arch/xen/xen/xbd_xenbus.c xbd # PCI frontend device xpci: pcibus attach xpci at xenbus with xpci_xenbus file arch/xen/xen/xpci_xenbus.c xpci_xenbus # Xen Balloon driver device balloon attach balloon at xenbus file arch/xen/xen/balloon.c balloon # Non-Xen specific devices and options include "dev/pckbport/files.pckbport" # # Machine-independent PCI devices # include "dev/i2o/files.i2o" include "dev/pci/files.pci" include "dev/pci/files.agp" file arch/xen/xen/pciide_machdep.c pciide_common device pciback {unit = -1} attach pciback at pci file arch/xen/xen/pciback.c pciback # x86 specific PCI hardware include "arch/x86/pci/files.pci" # # Machine-independent ISA devices # include "dev/isa/files.isa" include "dev/usb/files.usb" include "dev/ieee1394/files.ieee1394" device fdc {drive = -1} #XXX include "dev/apm/files.apm" include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi file arch/x86/x86/mpacpi.c acpi file arch/x86/x86/i8259.c # Stubs for x86 routines not included in the system file arch/x86/x86/x86_stub.c # MP configuration using Intel SMP specification 1.4 file arch/x86/x86/mpbios.c mpbios # MP configuration using either ACPI or Intel SMP specification 1.4 file arch/x86/x86/mp.c acpi | mpbios file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup file arch/x86/x86/apic.c ioapic file arch/x86/x86/nmi.c file arch/x86/acpi/acpi_machdep.c acpi file arch/x86/acpi/acpi_pdc.c acpi device ioapic attach ioapic at ioapicbus file arch/x86/x86/ioapic.c ioapic needs-flag #IPMI device device ipmi : sysmon_envsys, sysmon_wdog attach ipmi at ipmibus file arch/x86/x86/ipmi.c ipmi needs-flag # CPUs # device cpu: cpufeaturebus attach cpu at cpubus device vcpu attach vcpu at xendevbus file arch/xen/x86/cpu.c cpu | vcpu # CPU features # device est attach est at cpufeaturebus file arch/x86/x86/est.c est file arch/x86/x86/intel_busclock.c est device powernow attach powernow at cpufeaturebus file arch/x86/x86/powernow.c powernow # # Compatibility modules # ifdef i386 # VM86 mode file arch/i386/i386/vm86.c vm86 # Binary compatibility with previous NetBSD releases (COMPAT_XX) file arch/i386/i386/compat_13_machdep.c compat_13 file arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 # SVR4 binary compatibility (COMPAT_SVR4) include "compat/svr4/files.svr4" file arch/i386/i386/svr4_machdep.c compat_svr4 file arch/i386/i386/svr4_sigcode.S compat_svr4 file arch/i386/i386/svr4_syscall.c compat_svr4 # iBCS-2 binary compatibility (COMPAT_IBCS2) include "compat/ibcs2/files.ibcs2" file arch/i386/i386/ibcs2_machdep.c compat_ibcs2 file arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 file arch/i386/i386/ibcs2_syscall.c compat_ibcs2 # Linux binary compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/i386/files.linux_i386" file arch/i386/i386/linux_sigcode.S compat_linux file arch/i386/i386/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # FreeBSD binary compatibility (COMPAT_FREEBSD) include "compat/freebsd/files.freebsd" file arch/i386/i386/freebsd_machdep.c compat_freebsd file arch/i386/i386/freebsd_sigcode.S compat_freebsd file arch/i386/i386/freebsd_syscall.c compat_freebsd elifdef amd64 # Binary compatibility with previous NetBSD releases (COMPAT_XX) file arch/amd64/amd64/compat_13_machdep.c compat_13 file arch/amd64/amd64/compat_16_machdep.c compat_16 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif # OSS audio driver compatibility include "compat/ossaudio/files.ossaudio" # Bluetooth include "dev/bluetooth/files.bluetooth" include "dev/sdmmc/files.sdmmc" # # CARDBUS # include "dev/cardbus/files.cardbus" ifdef i386 file arch/i386/i386/rbus_machdep.c cardbus elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif # this wants to be probed as late as possible. # # Machine-independent PCMCIA drivers # include "dev/pcmcia/files.pcmcia" # Domain-0 operations defflag opt_xen.h DOM0OPS file arch/xen/xen/privcmd.c dom0ops file arch/xen/x86/xen_shm_machdep.c dom0ops file arch/x86/pci/pci_machdep.c hypervisor & pci & dom0ops file arch/xen/xen/pci_intr_machdep.c hypervisor & pci file arch/x86/isa/isa_machdep.c hypervisor & dom0ops file arch/xen/xen/xenevt.c xenevt & dom0ops file arch/xen/xen/xennetback_xenbus.c xvif file arch/xen/xen/xennet_checksum.c xvif | xennet file arch/xen/xen/xbdback_xenbus.c xbdback ifdef i386 include "arch/i386/conf/majors.i386" elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.148 log @Register support for SD card readers with Xen DOM0 kernels Tested on a Lenovo ThinkPad T440s (amd64) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.147 2017/05/23 08:48:35 nonaka Exp $ d402 1 a402 1 file arch/xen/xen/isa_machdep.c hypervisor & dom0ops @ 1.147 log @x86: hypervisor detection from FreeBSD for x2APIC support. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.146 2017/03/24 17:09:37 maxv Exp $ d378 2 @ 1.147.2.1 log @Pull up following revision(s) (requested by khorben in ticket #62): sys/arch/amd64/conf/XEN3_DOM0: revision 1.136 sys/arch/i386/conf/XEN3_DOM0: revision 1.113 sys/arch/xen/conf/files.xen: revision 1.148 Register support for SD card readers with Xen DOM0 kernels Tested on a Lenovo ThinkPad T440s (amd64) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.147 2017/05/23 08:48:35 nonaka Exp $ a377 2 include "dev/sdmmc/files.sdmmc" @ 1.147.2.2 log @Cherry pick a small part of rev1.178 to get efi UUIDs for ticket #1380. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.147.2.1 2017/06/30 06:27:38 snj Exp $ a83 1 file arch/x86/x86/efi.c machdep @ 1.147.2.3 log @Backout previous try to fix ticket #1380, this causes more build fallout, will be fixed differently. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.147.2.2 2019/09/23 06:52:21 martin Exp $ d84 1 @ 1.147.2.4 log @Pull up the following revisions, requested by msaitoh in ticket #1593: sys/arch/x86/conf/files.x86 1.108 sys/arch/x86/include/apicvar.h 1.7 via patch sys/arch/x86/include/cpu.h 1.121 sys/arch/x86/x86/cpu.c 1.185 via patch sys/arch/x86/x86/hyperv.c 1.7 sys/arch/x86/x86/tsc.c 1.41 sys/arch/xen/conf/files.xen 1.181 Get TSC frequency from CPUID 0x15 and/or x16 if it's available. This change fixes a problem that newer Intel processors' timer counts very slowly. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.147.2.3 2019/09/23 13:51:12 martin Exp $ a138 1 file arch/x86/x86/identcpu_subr.c machdep @ 1.146 log @Don't compile PMCs on Xen. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.145 2017/03/10 14:40:56 maxv Exp $ d149 1 @ 1.145 log @Move pmc.c into x86/, it can be shared with amd64. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.144 2017/02/17 21:51:47 kre Exp $ a142 1 file arch/x86/x86/pmc.c machdep @ 1.144 log @ Copy maxv's files.i386 change to files.xen ... this might fix the i386 xen kernel builds (I am doing a test build in parallel with this commit, this shouldn't make things worse ... I will make further changes if needed after my build finishes.) Note: I am not currently in a position to test a Xen3 DomU kernel (let alone Dom0) so I have no way of knowing whether a Xen kernel with PMC included will actually work correctly or not. If this results in a system that builds, I'd appreciate it if someone who can test the Xen3_DOMU kernel could do so. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.143 2016/12/15 12:04:18 kamil Exp $ a52 1 file arch/i386/i386/pmc.c d143 1 @ 1.143 log @Add support for hardware assisted watchpoints/breakpoints API in ptrace(2) Add new ptrace(2) calls: - PT_COUNT_WATCHPOINTS - count the number of available hardware watchpoints - PT_READ_WATCHPOINT - read struct ptrace_watchpoint from the kernel state - PT_WRITE_WATCHPOINT - write new struct ptrace_watchpoint state, this includes enabling and disabling watchpoints The ptrace_watchpoint structure contains MI and MD parts: typedef struct ptrace_watchpoint { int pw_index; /* HW Watchpoint ID (count from 0) */ lwpid_t pw_lwpid; /* LWP described */ struct mdpw pw_md; /* MD fields */ } ptrace_watchpoint_t; For example amd64 defines MD as follows: struct mdpw { void *md_address; int md_condition; int md_length; }; These calls are protected with the __HAVE_PTRACE_WATCHPOINTS guard. Tested on amd64, initial support added for i386 and XEN. Sponsored by @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.142 2016/12/13 10:54:27 kamil Exp $ d53 1 a57 2 file arch/i386/i386/pmc.c perfctrs @ 1.143.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.146 2017/03/24 17:09:37 maxv Exp $ d57 2 @ 1.142 log @Torn down KSTACK_CHECK_DR0, i386-only feature to detect stack overflow This feature was intended to detect stack overflow with CPU Debug Registers (x86). It was never ported to other ports, neither amd64 and should be adapted for SMP... Currently there might be better ways to detect stack overflows like page mapping protection. Since the number of Debug Registers is restricted (4 on x86), torn it down completely. This interface introduced helper functions for Debug Registers, they will be replaced with the new interface. KSTACK_CHECK_DR0 was disabled by default and won't affect ordinary users. Sponsored by @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.141 2016/05/20 03:41:20 jnemeth Exp $ d87 1 @ 1.141 log @make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.140 2016/02/27 15:42:20 mlelstv Exp $ a41 1 file arch/i386/i386/db_dbgreg.S ddb | kstack_check_dr0 @ 1.141.2.1 log @Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.143 2016/12/15 12:04:18 kamil Exp $ d42 1 a87 1 file arch/x86/x86/dbregs.c @ 1.141.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.145 2017/03/10 14:40:56 maxv Exp $ d57 2 a144 1 file arch/x86/x86/pmc.c machdep @ 1.141.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.146 2017/03/24 17:09:37 maxv Exp $ d143 1 @ 1.140 log @no condition for cpu_rng here @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.139 2016/02/27 14:28:50 mlelstv Exp $ d96 3 a98 3 file arch/xen/xen/xen_ucode.c dom0ops | cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops | cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_intel.c dom0ops | cpu_ucode needs-flag @ 1.139 log @add missing cpu_rng.c to kernel @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.138 2015/11/11 08:51:33 skrll Exp $ d109 1 a109 1 file arch/x86/x86/cpu_rng.c cpu @ 1.138 log @Fix XEN build - does XEN really want/need pmap_pv_track? @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.137 2015/01/04 07:34:14 uebayasi Exp $ d109 2 @ 1.137 log @Include files.sljit as i386/amd64 do. @ text @d1 1 a1 1 # $NetBSD$ d83 1 @ 1.136 log @there is no ibcs2 in amd64 [yet?] @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.135 2014/12/15 07:35:09 ozaki-r Exp $ d112 6 @ 1.135 log @Add two new compat files for Xen on amd64 @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.134 2014/10/11 06:07:48 uebayasi Exp $ d340 1 d343 1 a343 1 file arch/amd64/amd64/compat_16_machdep.c compat_16 | compat_ibcs2 @ 1.134 log @Mark machdep files. @ text @d1 1 a1 1 # $NetBSD$ d340 4 @ 1.134.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.137 2015/01/04 07:34:14 uebayasi Exp $ a111 6 # Stack-less Just-In-Time compiler # include "external/bsd/sljit/conf/files.sljit" # a339 5 # Binary compatibility with previous NetBSD releases (COMPAT_XX) file arch/amd64/amd64/compat_13_machdep.c compat_13 file arch/amd64/amd64/compat_16_machdep.c compat_16 @ 1.134.2.2 log @Sync with HEAD (as of 26th Dec) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.134.2.1 2015/04/06 15:18:04 skrll Exp $ a82 1 file uvm/pmap/pmap_pvt.c @ 1.134.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.134.2.2 2015/12/27 12:09:45 skrll Exp $ a108 2 file arch/x86/x86/cpu_rng.c @ 1.134.2.4 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.134.2.3 2016/03/19 11:30:07 skrll Exp $ d96 3 a98 3 file arch/xen/xen/xen_ucode.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_intel.c dom0ops & cpu_ucode needs-flag @ 1.134.2.5 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.134.2.4 2016/05/29 08:44:20 skrll Exp $ d42 1 a87 1 file arch/x86/x86/dbregs.c @ 1.134.2.6 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.134.2.5 2017/02/05 13:40:23 skrll Exp $ d48 1 d57 2 d72 1 a88 1 file arch/x86/x86/kgdb_machdep.c kgdb a150 1 file arch/x86/x86/platform.c machdep d156 5 a160 1 file arch/x86/x86/bios32.c bios32 needs-flag d316 2 d321 13 a333 1 file arch/i386/i386/compat_16_machdep.c compat_16 d344 3 a378 2 include "dev/sdmmc/files.sdmmc" d401 1 a401 1 file arch/x86/isa/isa_machdep.c hypervisor & dom0ops @ 1.133 log @Change i386 to use x86/fpu.c instead of i386/isa/npx.c This changes the trap10 and trap13 code to call directly into fpu.c, removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c Not all of the code thate appeared to handle fpu traps was ever called! Most of the changes just replace the include of machine/npx.h with x86/fpu.h (or remove it entirely). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.132 2014/02/11 20:17:16 dsl Exp $ d126 1 a126 1 file arch/x86/x86/bus_dma.c pci d128 5 a132 5 file arch/xen/x86/xen_bus_dma.c pci file arch/x86/x86/bus_space.c pci file arch/xen/x86/consinit.c file arch/x86/x86/identcpu.c file arch/xen/x86/intr.c d134 2 a135 2 file arch/x86/x86/pmap.c file arch/x86/x86/pmap_tlb.c d137 5 a141 5 file arch/x86/x86/sys_machdep.c file arch/x86/x86/tsc.c file arch/x86/x86/vm_machdep.c file arch/x86/x86/x86_machdep.c file arch/x86/x86/cpu_topology.c @ 1.133.8.1 log @Sync with netbsd-5 @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.133.4.2 2016/12/18 07:50:37 snj Exp $ d95 3 a97 3 file arch/xen/xen/xen_ucode.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_intel.c dom0ops & cpu_ucode needs-flag a111 6 # Stack-less Just-In-Time compiler # include "external/bsd/sljit/conf/files.sljit" # @ 1.133.4.1 log @Pull up following revision(s) (requested by sborrill in ticket #1255): sys/arch/xen/conf/files.xen: revision 1.137 Include files.sljit as i386/amd64 do. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.133 2014/02/12 23:24:09 dsl Exp $ a111 6 # Stack-less Just-In-Time compiler # include "external/bsd/sljit/conf/files.sljit" # @ 1.133.4.2 log @Pull up following revision(s) (requested by jnemeth in ticket #1326): sys/arch/xen/conf/files.xen: revision 1.141 make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.133.4.1 2016/09/25 12:11:33 bouyer Exp $ d95 3 a97 3 file arch/xen/xen/xen_ucode.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_intel.c dom0ops & cpu_ucode needs-flag @ 1.133.4.3 log @Pull up following revision(s) (requested by khorben in ticket #1445): sys/arch/amd64/conf/XEN3_DOM0: revision 1.136 sys/arch/i386/conf/XEN3_DOM0: revision 1.113 sys/arch/xen/conf/files.xen: revision 1.148 Register support for SD card readers with Xen DOM0 kernels Tested on a Lenovo ThinkPad T440s (amd64) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.133.4.2 2016/12/18 07:50:37 snj Exp $ a370 2 include "dev/sdmmc/files.sdmmc" @ 1.132 log @Move sys/arch/amd64/amd64/fpu.c and sys/arch/amd64/include/fpu.h into sys/arch/x86 in preparation for using the same code for i386. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.131 2014/02/07 22:40:22 dsl Exp $ a57 3 file arch/i386/isa/npx.c a78 1 file arch/x86/x86/fpu.c d86 1 @ 1.131 log @Convert the amd64 build to use x86/cpu_extended_state.h so that the fpu definitions match those of i386. Mostly just structure and field renames, in addition: 1) process_xmm_to_s87() and process_s87_to_xmm() moved into x86/convert_xmm_s87.c so they can be used by amd64's netbsd32 code. 2) The linux signal code simplified to use a structure copy for ths fxsave data - it matches the hardware definition and won't change. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.130 2014/01/26 19:16:17 dsl Exp $ d82 1 a82 1 file arch/amd64/amd64/fpu.c @ 1.130 log @Remove support for 'external' floating point units and the MS-DOS compatible method of handling floating point exceptions. Make kernel support for teh fpu non-optional (486SX should still work). Only 386 cpus support external fpu, and i386 support was removed years ago. This means that the npx code no longer uses port 0xf0 or interupt 13. All the "npx at isa" lines go from the configs, arch/i386/isa/npx.c is now mandatory for all i386 kernels. I've renamed npxinit() to fpuinit() and npxinit_cpu() to fpuinit_cpu() to match the very similar amd64 functions. The fpu of the boot cpu is now initialised by a direct call from cpu_configure(), this enables FP emulation for a 486SX. (for amd64 the cr0 values are set in locore.S and similar). This fixes a long-standing bug in linux_setregs() - which did not save the fpu regsiters if they were active. I've test booted a single cpu i386 kernel (using anita). amd64 builds - none of teh changes should affect it. The i386 XEN kernels build, but I'm not sure where they set cr0, and it might have got lost! @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.129 2012/10/03 18:58:32 dsl Exp $ d87 1 @ 1.129 log @Remove all references to KVM86. It was only ever used by APMBIOS - and then only if an option was selected. Probably didn't work well at all! @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.128 2012/08/29 17:13:22 drochner Exp $ d58 2 a187 9 ifdef i386 # Numeric Processing Extension; Math Co-processor device npx file arch/i386/isa/npx.c npx needs-flag attach npx at xendevbus with npx_hv file arch/xen/i386/npx_hv.c npx_hv endif @ 1.129.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.129 2012/10/03 18:58:32 dsl Exp $ d58 1 d80 1 a84 1 file arch/x86/x86/convert_xmm_s87.c a86 1 file arch/x86/x86/fpu.c d186 9 @ 1.128 log @Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.127 2012/06/27 00:37:09 jym Exp $ a318 4 # VM86 in kernel file arch/i386/i386/kvm86.c kvm86 file arch/i386/i386/kvm86call.S kvm86 @ 1.128.2.1 log @Resync to 2012-11-19 00:00:00 UTC @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.129 2012/10/03 18:58:32 dsl Exp $ d319 4 @ 1.128.2.2 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 # $NetBSD$ d58 1 d80 1 a84 1 file arch/x86/x86/convert_xmm_s87.c a86 1 file arch/x86/x86/fpu.c d186 9 @ 1.128.2.3 log @update from HEAD @ text @a17 3 # Interrupt debug defflag opt_intrdebug.h INTRDEBUG d42 1 d49 1 d58 2 d73 1 a82 1 file uvm/pmap/pmap_pvt.c a86 1 file arch/x86/x86/dbregs.c a87 1 file arch/x86/x86/kgdb_machdep.c kgdb d95 3 a97 3 file arch/xen/xen/xen_ucode.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops & cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_intel.c dom0ops & cpu_ucode needs-flag a107 2 file arch/x86/x86/cpu_rng.c a111 6 # Stack-less Just-In-Time compiler # include "external/bsd/sljit/conf/files.sljit" # d126 1 a126 1 file arch/x86/x86/bus_dma.c machdep d128 5 a132 5 file arch/xen/x86/xen_bus_dma.c machdep file arch/x86/x86/bus_space.c machdep file arch/xen/x86/consinit.c machdep file arch/x86/x86/identcpu.c machdep file arch/xen/x86/pintr.c machdep & dom0ops d134 2 a135 4 file arch/x86/x86/intr.c machdep file arch/x86/x86/idt.c machdep file arch/x86/x86/pmap.c machdep file arch/x86/x86/pmap_tlb.c machdep d137 5 a141 6 file arch/x86/x86/sys_machdep.c machdep file arch/x86/x86/tsc.c machdep file arch/x86/x86/vm_machdep.c machdep file arch/x86/x86/x86_machdep.c machdep file arch/x86/x86/cpu_topology.c machdep file arch/x86/x86/platform.c machdep d147 5 a151 1 file arch/x86/x86/bios32.c bios32 needs-flag d226 1 a226 1 file arch/x86/pci/pciide_machdep.c pciide_common d252 1 a252 1 file arch/x86/x86/i8259.c dom0ops d307 2 d312 13 a324 1 file arch/i386/i386/compat_16_machdep.c compat_16 d335 3 a339 4 # Binary compatibility with previous NetBSD releases (COMPAT_XX) file arch/amd64/amd64/compat_16_machdep.c compat_16 a364 2 include "dev/sdmmc/files.sdmmc" d386 2 a387 4 file arch/x86/pci/pci_intr_machdep.c hypervisor & pci file arch/x86/pci/pci_msi_machdep.c hypervisor & pci file arch/x86/pci/msipic.c hypervisor & pci file arch/x86/isa/isa_machdep.c hypervisor & dom0ops @ 1.127 log @Retire XEN_COMPAT_030001 as detailed on port-xen@@: http://mail-index.netbsd.org/port-xen/2012/06/25/msg007431.html The xen_p2m API comes next. ok bouyer@@. Tested on i386 PAE and amd64 (Xen 3.3 on private test bed, and Xen 3.4 for Amazon EC2). FWIW, Amazon always reported: hypervisor0 at mainbus0: Xen version 3.4.3-kaos_t1micro multiple times for Europe and US West-1, so I guess they are now at 3.4 (32 and 64 bits). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.126 2012/05/07 17:45:29 jym Exp $ d97 1 @ 1.126 log @Merge i386 and amd64 version of db_memrw.c. Use this opportunity to skip calculating the VA of the page. Let the CPU deal with the invalidation itself through invlpg + destination address to avoid converting between canonical/non canonical forms. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.125 2012/01/14 04:22:56 pgoyette Exp $ d394 1 a394 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 @ 1.125 log @No need for CPU_UCODE here now that it is global @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.124 2012/01/13 16:05:15 cegger Exp $ a45 1 file arch/i386/i386/db_memrw.c ddb | kgdb a73 1 file arch/amd64/amd64/db_memrw.c ddb | kgdb d85 1 @ 1.124 log @Support CPU microcode loading via cpuctl(8). Implemented and enabled via CPU_UCODE kernel config option for x86 and Xen Dom0. Tested on different AMD machines with different CPU families. ok wiz@@ for the manpages ok releng@@ ok core@@ via releng@@ @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.123 2011/09/22 23:02:34 jym Exp $ a95 1 defflag CPU_UCODE @ 1.123 log @Expose Xen kernfs entries inside a domU. Patch originally from sborrill@@, slightly modified by me to profit from runtime checks for dom0 privileges instead of using compile time macros (DOM0OPS). It should now be possible to use pkgsrc's sysutils/xentools inside a domU to query XenStore entries (or even modify part of it if the domain has enough rights). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.122 2011/08/10 11:39:45 cherry Exp $ d96 4 @ 1.123.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.123 2011/09/22 23:02:34 jym Exp $ a95 3 file arch/xen/xen/xen_ucode.c dom0ops | cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops | cpu_ucode needs-flag @ 1.123.2.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.123.2.1 2012/04/17 00:07:07 yamt Exp $ d46 1 d75 1 a86 1 file arch/x86/x86/db_memrw.c ddb | kgdb @ 1.123.2.3 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.123.2.2 2012/05/23 10:07:51 yamt Exp $ a96 1 file arch/x86/x86/cpu_ucode_intel.c dom0ops | cpu_ucode needs-flag d318 4 d394 1 a394 1 defflag opt_xen.h DOM0OPS @ 1.123.2.4 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: files.xen,v 1.123.2.3 2012/10/30 17:20:35 yamt Exp $ d58 1 d80 1 a84 1 file arch/x86/x86/convert_xmm_s87.c a86 1 file arch/x86/x86/fpu.c d186 9 @ 1.123.6.1 log @merge to -current. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.125 2012/01/14 04:22:56 pgoyette Exp $ a95 3 file arch/xen/xen/xen_ucode.c dom0ops | cpu_ucode needs-flag file arch/x86/x86/cpu_ucode_amd.c dom0ops | cpu_ucode needs-flag @ 1.123.6.2 log @sync to latest -current. @ text @d1 1 a1 1 # $NetBSD$ d46 1 d75 1 a86 1 file arch/x86/x86/db_memrw.c ddb | kgdb @ 1.122 log @xen ipi infrastructure @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.118.2.3 2011/06/27 10:21:52 cherry Exp $ d179 1 a179 1 file arch/xen/xenbus/xenbus_dev.c xenbus & dom0ops needs-flag @ 1.121 log @Include required file for xen acpi @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.120 2011/06/12 16:31:57 jruoho Exp $ a58 1 file arch/i386/i386/mptramp.S multiprocessor a83 1 file arch/amd64/amd64/mptramp.S multiprocessor d130 1 a130 1 file arch/x86/x86/ipi.c @ 1.120 log @Fix build failure for the odd child, as pointed out by pgoyette@@. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.119 2011/06/12 03:35:50 rmind Exp $ d278 1 @ 1.119 log @Welcome to 5.99.53! Merge rmind-uvmplock branch: - Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock. - Simplify locking in some pmap(9) modules by removing P->V locking. - Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs). - Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns. - Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues. Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch. @ text @d1 1 a1 1 # $NetBSD$ a259 1 file arch/x86/x86/acpi_machdep.c acpi d277 2 @ 1.118 log @Remove PECOFF/Win32 emulation. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.117 2011/04/26 15:51:25 joerg Exp $ a53 1 file arch/i386/i386/mem.c a80 1 file arch/amd64/amd64/mem.c d134 1 @ 1.118.2.1 log @Initial import of xen MP sources, with kernel and userspace tests. - this is a source priview. - boots to single user. - spurious interrupt and pmap related panics are normal @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.118 2011/04/26 16:57:41 joerg Exp $ d60 1 d87 1 d134 1 a134 1 file arch/xen/x86/xen_ipi.c a141 1 file arch/xen/xen/xentests.c @ 1.118.2.2 log @Catchup with rmind-uvmplock merge. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.118.2.1 2011/06/03 13:27:39 cherry Exp $ d54 1 d81 1 a133 1 file arch/x86/x86/pmap_tlb.c d260 1 a277 3 file arch/x86/acpi/acpi_machdep.c acpi file arch/x86/acpi/acpi_pdc.c acpi @ 1.118.2.3 log @Conditionally compile xen_ipi.c @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.118.2.2 2011/06/23 14:19:49 cherry Exp $ d130 1 a130 1 file arch/xen/x86/xen_ipi.c multiprocessor @ 1.117 log @Remove Darwin, MACH and Mach-O support. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.116 2011/04/18 01:36:25 jym Exp $ a349 3 # Win32 binary compatibility (COMPAT_PECOFF) include "compat/pecoff/files.pecoff" @ 1.116 log @Large rewrite of the balloon driver. This one: - turns balloon into a driver that attaches to xenbus(4). This allows to disable the functionality either at compile time or boot time via userconf(4). Driver can implement detach or pmf(9) hooks if deemed necessary. - keeps Cherry's locking model, but simplify it a bit. There is now only one target value serialized inside balloon, we do not feedback alternative value to Xenstore (clients are not expected to see its value evolve behind their back, and can't do much about that either) - implements min threshold; this is an admin-settable value that tells driver to "not balloon below this threshold." This can be used by domain to keep memory reservations, useful if activity is expected in the near future. - in addition to min threshold, the driver implements internally a safeguard value (uvmexp.freemin + 1MiB), so that admin cannot inadvertently set min to a very low value forcing domain into heavy memory pressure and swapping. - create the sysctl(8) kern.xen.balloon tree. 4 nodes are actually present (values are in KiB): - min: (rw) an admin-settable value that prevents ballooning below this mark - max: (ro) the maximum size for reservation, as set by xm(1) mem-max. - current: (ro) the current reservation for domain. - target: (rw) the targetted reservation for domain. - fix a few limitations here and there, most notably the max_reservation hypercall, and KiB vs pages representations at interfaces. The driver is still turned off by default. Enabling it would need more approval, especially from bouyer@@, cherry@@ and cegger@@. FWIW: tested it two days long, from amd64 dom0 (with dom0 ballooning enabled for xend), and bunch of domUs. Did not notice anything suspicious. XXX it still has one big limitation: it cannot hotplug memory pages in uvm(9) if they were not present beforehand. Example: ballooning above physmem will give more pages to domain but it won't use it to serve allocations, unless we teach uvm(9) how to handle the extra pages. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.115 2011/04/11 08:56:17 cegger Exp $ a330 12 # MACH binary compatibility (COMPAT_MACH) include "compat/mach/files.mach" file arch/i386/i386/mach_machdep.c compat_mach | compat_darwin file arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin file arch/i386/i386/mach_syscall.c compat_mach | compat_darwin file arch/i386/i386/darwin_commpage_machdep.S compat_darwin file arch/i386/i386/macho_machdep.c exec_macho # DARWIN binary compatibility (COMPAT_DARWIN) include "compat/darwin/files.darwin" file arch/i386/i386/darwin_machdep.c compat_darwin @ 1.115 log @build xen kernels again after db_trace merge @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.114 2011/04/03 22:29:27 dyoung Exp $ d220 5 d408 1 a408 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 XEN_BALLOON a417 1 file arch/xen/xen/balloon.c hypervisor @ 1.114 log @Clean up excessive #ifdef'age of NMI trap handling for amd64/i386/xen. Handle NMI in all Xen kernels. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.113 2011/02/24 10:56:03 jruoho Exp $ d45 1 a46 1 file arch/i386/i386/db_trace.c ddb d75 2 a76 1 file arch/amd64/amd64/db_interface.c ddb a77 1 file arch/amd64/amd64/db_trace.c ddb d91 1 @ 1.113 log @Move PowerNow! to the cpufeaturebus. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.112 2011/02/24 04:42:54 jruoho Exp $ d258 3 d271 1 @ 1.112 log @Add cpufeaturebus and est(4) for Xen. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.111 2011/02/23 11:43:23 jruoho Exp $ a35 6 # AMD Powernow/Cool`n'Quiet Technology defflag opt_powernow_k8.h POWERNOW_K8 # Powernow common functions file arch/x86/x86/powernow_k8.c powernow_k8 file arch/x86/x86/powernow_common.c powernow_k8 | powernow_k7 a69 4 # AMD PowerNow K7 defflag POWERNOW_K7 file arch/i386/i386/powernow_k7.c powernow_k7 d295 4 @ 1.111 log @Move ENHANCED_SPEEDSTEP, or henceforth est(4), to the cpufeaturebus. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.110 2010/12/02 23:12:30 bouyer Exp $ d164 1 d288 3 a290 3 # CPUS device cpu d298 7 @ 1.110 log @Make maxpartitions 16 on !i386. Fixes hardwiring root on device autoconf index > 0 on amd64. Problem reported and patch tested by Tobias Nygren. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.109 2010/07/08 11:25:00 rmind Exp $ a35 6 # Intel Enhanced Speedstep defflag ENHANCED_SPEEDSTEP defflag opt_est.h EST_FREQ_USERWRITE file arch/x86/x86/est.c enhanced_speedstep file arch/x86/x86/intel_busclock.c enhanced_speedstep @ 1.110.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.118 2011/04/26 16:57:41 joerg Exp $ d36 12 a56 1 file arch/i386/i386/db_machdep.c ddb d58 1 d82 4 d91 1 a91 2 file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_machdep.c ddb d93 1 a106 1 file arch/x86/x86/db_trace.c ddb a169 1 define cpufeaturebus {} a233 5 # Xen Balloon driver device balloon attach balloon at xenbus file arch/xen/xen/balloon.c balloon a272 3 # Stubs for x86 routines not included in the system file arch/x86/x86/x86_stub.c a282 1 file arch/x86/x86/nmi.c d293 3 a295 3 # CPUs # device cpu: cpufeaturebus a302 11 # CPU features # device est attach est at cpufeaturebus file arch/x86/x86/est.c est file arch/x86/x86/intel_busclock.c est device powernow attach powernow at cpufeaturebus file arch/x86/x86/powernow.c powernow d325 12 d356 3 d402 1 a402 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 d412 1 @ 1.110.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD$ d36 12 d82 4 a169 1 define cpufeaturebus {} d293 3 a295 3 # CPUs # device cpu: cpufeaturebus a302 11 # CPU features # device est attach est at cpufeaturebus file arch/x86/x86/est.c est file arch/x86/x86/intel_busclock.c est device powernow attach powernow at cpufeaturebus file arch/x86/x86/powernow.c powernow @ 1.109 log @Unify i386 and amd64 procfs MD code into x86. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.108 2010/07/06 15:00:09 cherry Exp $ d5 1 d7 3 @ 1.108 log @The Xen balloon driver enables growing and shrinking PV domains on the fly, by collaborating with UVM and the hypervisor @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.107 2010/05/10 18:46:58 dyoung Exp $ a64 1 file arch/i386/i386/procfs_machdep.c procfs a95 1 file arch/amd64/amd64/procfs_machdep.c procfs d147 1 @ 1.107 log @Provide pmap_enter_ma(), pmap_extract_ma(), pmap_kenter_ma() in all x86 kernels, and use them in the bus_space(9) implementation instead of ugly Xen #ifdef-age. In a non-Xen kernel, the _ma() functions either call or alias the equivalent _pa() functions. Reviewed on port-xen@@netbsd.org and port-i386@@netbsd.org. Passes rmind@@'s and bouyer@@'s inspection. Tested on i386 and on Xen DOMU / DOM0. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.106 2009/11/03 05:23:28 dyoung Exp $ d399 1 a399 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 d409 1 @ 1.106 log @Add a kernel configuration flag, SPLDEBUG, that activates a per-CPU log of transitions to IPL_HIGH from lower IPLs. SPLDEBUG is only available on i386 and Xen kernels, today. 'options SPLDEBUG' adds instrumentation to spllower() and splraise() as well as routines to start/stop debugging and to record IPL transitions: spldebug_start(), spldebug_stop(), spldebug_raise(), spldebug_lower(). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.105 2009/10/05 23:59:31 rmind Exp $ d109 1 @ 1.106.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD$ d65 1 d97 1 a108 1 file arch/xen/x86/xen_pmap.c a147 1 file arch/x86/x86/procfs_machdep.c procfs d398 1 a398 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 XEN_BALLOON a407 1 file arch/xen/xen/balloon.c hypervisor @ 1.106.2.2 log @Glue xmd(4). @ text @a288 2 file arch/x86/x86/xmd_machdep.c xmd @ 1.106.2.3 log @Implement pmap_physload_device(9) to replace xmd(4) MD backend. Implement pmap_mmap(9) and use it from mem(4) and xmd(4). @ text @d289 2 @ 1.106.4.1 log @Unify /dev/{mem,kmem,zero,null} implementations in MI code. Based on patch from Joerg Sonnenberger, proposed on tech-kern@@, in February 2008. Work and depression still in progress. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.106 2009/11/03 05:23:28 dyoung Exp $ d62 1 d95 1 @ 1.106.4.2 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.106.4.1 2010/03/18 04:36:54 rmind Exp $ a106 1 file arch/xen/x86/xen_pmap.c @ 1.106.4.3 log @- Split off Xen versions of pmap_map_ptes/pmap_unmap_ptes into Xen pmap, also move pmap_apte_flush() with pmap_unmap_apdp() there. - Make Xen buildable. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.106.4.2 2010/05/30 05:17:13 rmind Exp $ a146 1 file arch/x86/x86/pmap_tlb.c @ 1.106.4.4 log @sync with head @ text @d1 1 a1 1 # $NetBSD$ a4 1 ifdef i386 a5 3 else maxpartitions 16 endif d32 12 d64 1 d78 4 d95 1 a147 1 file arch/x86/x86/procfs_machdep.c procfs a165 1 define cpufeaturebus {} d289 3 a291 3 # CPUs # device cpu: cpufeaturebus a298 11 # CPU features # device est attach est at cpufeaturebus file arch/x86/x86/est.c est file arch/x86/x86/intel_busclock.c est device powernow attach powernow at cpufeaturebus file arch/x86/x86/powernow.c powernow d398 1 a398 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 XEN_BALLOON a407 1 file arch/xen/xen/balloon.c hypervisor @ 1.106.4.5 log @sync with head @ text @a44 1 file arch/i386/i386/db_machdep.c ddb d46 1 d74 1 a74 2 file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_machdep.c ddb d76 1 a88 1 file arch/x86/x86/db_trace.c ddb a217 5 # Xen Balloon driver device balloon attach balloon at xenbus file arch/xen/xen/balloon.c balloon a256 3 # Stubs for x86 routines not included in the system file arch/x86/x86/x86_stub.c a266 1 file arch/x86/x86/nmi.c d397 1 a397 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 d407 1 @ 1.106.4.6 log @sync with head @ text @d330 12 d361 3 @ 1.105 log @Remove X86_IPI_WRITE_MSR (and msr_ipifuncs.c), replace all uses in drivers with xc_broadcast(). AMD K8 PowerNow driver tested by , thanks! Closes PR/37665. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.104 2009/08/16 15:35:52 manu Exp $ d17 3 @ 1.104 log @Build COMPAT_DARWIN and COMPAT_MACH as a Xen domU too @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.103 2009/08/05 20:15:37 jym Exp $ a295 2 file arch/x86/x86/msr_ipifuncs.c @ 1.103 log @Add Intel SpeedStep and AMD PowerNow! support in Xen dom0. MSR operations are now compiled in by default. Note that MSR support in Xen depends on its version. rdmsr() should always succeed, but wrmsr() to certain registers can end in a NOOP. In that case, the error will be logged (see xm dmesg). Setting CPU frequency (SpeedStep) requires Xen 3.3 with the option cpufreq="dom0-kernel" passed down to hypervisor during boot. Compiled and tested for SpeedStep under i386 for XEN3_DOM0 and XEN3PAE_DOM0 by jym@@. amd64 was tested by Joel Carnat. See also http://mail-index.netbsd.org/port-xen/2009/08/02/msg005213.html . Commit requested by bouyer@@. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.102 2009/07/29 12:02:06 cegger Exp $ d325 1 @ 1.102 log @remove Xen2 support. ok bouyer@@ @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.101 2009/07/24 21:22:22 dyoung Exp $ d29 12 d75 5 d296 2 @ 1.101 log @There's no such file as arch/i386/i386/core_machdep.c, so don't list it here. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.100 2009/06/16 21:05:34 bouyer Exp $ d96 1 a96 1 file arch/x86/isa/rtc.c xen3 & dom0ops a97 1 file arch/xen/xen/ctrl_if.c !xen3 d99 1 a99 1 file arch/xen/xen/xengnt.c xen3 d165 1 a165 1 file arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 d167 1 a167 1 # Xenbus (xen3 only) d170 5 a174 5 file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag d197 2 a198 4 attach xennet at xendevbus with xennet_hypervisor attach xennet at xenbus with xennet_xenbus file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d202 2 a203 6 attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag d247 1 a247 1 file arch/x86/x86/i8259.c xen3 d379 2 a380 5 file arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 file arch/xen/xen/xbdback.c dom0ops & !xen3 file arch/xen/xen/xennetback.c dom0ops & !xen3 file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 & dom0ops d384 3 a386 3 file arch/xen/xen/xennetback_xenbus.c xvif & xen3 file arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus file arch/xen/xen/xbdback_xenbus.c xbdback & xen3 @ 1.100 log @Split mc146818-related functions from clock.c into rtc.c. Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0 kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS by itself. Now a XEN3_DOM0 kernel properly updates the CMOS time. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.99 2009/04/30 04:38:01 pgoyette Exp $ a32 1 file arch/i386/i386/core_machdep.c coredump @ 1.99 log @Include cpu_topology.c for xen kernels, too. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.98 2009/04/18 11:26:58 cegger Exp $ d97 1 @ 1.98 log @build mp.c for xen, too. Fixes linking failures of Dom0 kernels. (Hi dyoung) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.97 2009/04/16 18:00:35 cegger Exp $ d133 1 @ 1.97 log @make xen kernels build again after the merge of syscall.c @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.96 2009/03/31 20:12:19 rmind Exp $ d258 3 @ 1.96 log @Sync with recent i386/amd64 source merges - fix Xen builds. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.95 2009/02/19 02:49:41 jmcneill Exp $ a51 1 file arch/i386/i386/syscall.c a78 1 file arch/amd64/amd64/syscall.c d88 1 @ 1.95 log @vesabios is no more @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.94 2009/02/14 20:22:59 cube Exp $ a46 1 file arch/x86/x86/identcpu.c a49 1 file arch/x86/x86/pmap.c a53 1 file arch/i386/i386/vm_machdep.c a56 1 file arch/i386/i386/ipifuncs.c multiprocessor a76 1 file arch/x86/x86/identcpu.c a77 1 file arch/x86/x86/pmap.c a81 1 file arch/amd64/amd64/vm_machdep.c a84 1 file arch/amd64/amd64/ipifuncs.c multiprocessor d122 1 d126 1 d129 1 d132 1 @ 1.94 log @Don't set version deep in the source tree if it's older than the one in conf/files. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.93 2009/02/13 21:03:59 bouyer Exp $ a153 1 define vesabiosbus {} @ 1.93 log @Work in progress on PCI front-end/back-end support front-end: - add a xpci* at xenbus? which provides pci busses from the dom0 xpci provides support routines for PCI config space operations and enumeration in xpci_xenbus.c - hypervisor.c: do dom0-style PCI attach only ifdef DOM0OPS - pci_intr_machdep.c: check line value only if DOM0OPS back-end: - add a pciback* at pci? device which takes precedences over all other PCI devices (match return 500) and matches all devices passed to pciback.hide option on boot command line. It exports the PCI device informations to files in /kern/xen/pci/ - hypervisor.c: create /kern/xen earlier so pciback can create its entries while PCI devices are probed - xen_machdep.c: add handling for pciback.hide= frontend is know working on Xen 3.1.x dom0 with ahc(4) and pciide(4) devices. uhci(4) fail when trying to allocate a large contigous DMA buffer. backend is work in progress; support in xentools is not there yet. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.92 2009/01/18 20:50:43 bouyer Exp $ a4 2 version 20071109 @ 1.92 log @The Xen PCI_BUS_FIXUP/PCI_ADDR_FIXUP has rotted, catch up with x86 changes in this area. Patch provided by FUKAUMI Naoki in PR#40356. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.91 2008/12/20 12:41:19 ad Exp $ d72 1 a72 1 file arch/amd64/amd64/busfunc.S dom0ops d219 5 d236 5 d394 1 a394 1 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 @ 1.92.2.1 log @Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.99 2009/04/30 04:38:01 pgoyette Exp $ d5 2 d49 1 d53 1 d56 1 d58 1 d62 1 d72 1 a72 1 file arch/amd64/amd64/busfunc.S d83 1 d85 1 d88 1 d90 1 d94 1 a99 1 file arch/x86/x86/syscall.c a131 1 file arch/x86/x86/core_machdep.c coredump a134 1 file arch/x86/x86/identcpu.c a136 1 file arch/x86/x86/pmap.c a138 1 file arch/x86/x86/vm_machdep.c a139 1 file arch/x86/x86/cpu_topology.c d156 1 a218 5 # PCI frontend device xpci: pcibus attach xpci at xenbus with xpci_xenbus file arch/xen/xen/xpci_xenbus.c xpci_xenbus a230 5 device pciback {unit = -1} attach pciback at pci file arch/xen/xen/pciback.c pciback a255 3 # MP configuration using either ACPI or Intel SMP specification 1.4 file arch/x86/x86/mp.c acpi | mpbios d384 1 a384 1 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 & dom0ops @ 1.92.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.100 2009/06/16 21:05:34 bouyer Exp $ a96 1 file arch/x86/isa/rtc.c xen3 & dom0ops @ 1.92.2.3 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.105 2009/10/05 23:59:31 rmind Exp $ a28 12 # Intel Enhanced Speedstep defflag ENHANCED_SPEEDSTEP defflag opt_est.h EST_FREQ_USERWRITE file arch/x86/x86/est.c enhanced_speedstep file arch/x86/x86/intel_busclock.c enhanced_speedstep # AMD Powernow/Cool`n'Quiet Technology defflag opt_powernow_k8.h POWERNOW_K8 # Powernow common functions file arch/x86/x86/powernow_k8.c powernow_k8 file arch/x86/x86/powernow_common.c powernow_k8 | powernow_k7 d33 1 a63 5 # AMD PowerNow K7 defflag POWERNOW_K7 file arch/i386/i386/powernow_k7.c powernow_k7 d97 1 a97 1 file arch/x86/isa/rtc.c dom0ops d99 1 d101 1 a101 1 file arch/xen/xen/xengnt.c d167 1 a167 1 file arch/xen/xen/shutdown_xenbus.c hypervisor d169 1 a169 1 # Xenbus d172 5 a176 5 file arch/xen/xenbus/xenbus_client.c xenbus needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus needs-flag d199 4 a202 2 attach xennet at xenbus file arch/xen/xen/if_xennet_xenbus.c xennet needs-flag d206 6 a211 2 attach xbd at xenbus file arch/xen/xen/xbd_xenbus.c xbd d255 1 a255 1 file arch/x86/x86/i8259.c a313 1 file arch/i386/i386/darwin_commpage_machdep.S compat_darwin d387 5 a391 2 file arch/xen/x86/xen_shm_machdep.c dom0ops file arch/x86/pci/pci_machdep.c hypervisor & pci & dom0ops d395 3 a397 3 file arch/xen/xen/xennetback_xenbus.c xvif file arch/xen/xen/xennet_checksum.c xvif | xennet file arch/xen/xen/xbdback_xenbus.c xbdback @ 1.92.2.4 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.109 2010/07/08 11:25:00 rmind Exp $ a16 3 # splraise()/spllower() debug defflag opt_spldebug.h SPLDEBUG d62 1 d94 1 a105 1 file arch/xen/x86/xen_pmap.c a144 1 file arch/x86/x86/procfs_machdep.c procfs d395 1 a395 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 XEN_BALLOON a404 1 file arch/xen/xen/balloon.c hypervisor @ 1.92.2.5 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.110 2010/12/02 23:12:30 bouyer Exp $ a4 1 ifdef i386 a5 3 else maxpartitions 16 endif @ 1.92.2.6 log @Sync with HEAD. TODO before merge: - shortcut for suspend code in sysmon, when powerd(8) is not running. Borrow ``xs_watch'' thread context? - bug hunting in xbd + xennet resume. Rings are currently thrashed upon resume, so current implementation force flush them on suspend. It's not really needed. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.113 2011/02/24 10:56:03 jruoho Exp $ d36 12 d82 4 a169 1 define cpufeaturebus {} d293 3 a295 3 # CPUs # device cpu: cpufeaturebus a302 11 # CPU features # device est attach est at cpufeaturebus file arch/x86/x86/est.c est file arch/x86/x86/intel_busclock.c est device powernow attach powernow at cpufeaturebus file arch/x86/x86/powernow.c powernow @ 1.92.2.7 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.118 2011/04/26 16:57:41 joerg Exp $ a44 1 file arch/i386/i386/db_machdep.c ddb d46 1 d75 1 a75 2 file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_machdep.c ddb d77 1 a90 1 file arch/x86/x86/db_trace.c ddb a218 5 # Xen Balloon driver device balloon attach balloon at xenbus file arch/xen/xen/balloon.c balloon a257 3 # Stubs for x86 routines not included in the system file arch/x86/x86/x86_stub.c a267 1 file arch/x86/x86/nmi.c d321 12 d352 3 d398 1 a398 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 d408 1 @ 1.92.2.8 log @Sync with HEAD. Most notably: uvm/pmap work done by rmind@@, and MP Xen work of cherry@@. No regression observed on suspend/restore. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.122 2011/08/10 11:39:45 cherry Exp $ d54 1 d60 1 d82 1 d87 1 d134 1 a134 1 file arch/xen/x86/xen_ipi.c multiprocessor a135 1 file arch/x86/x86/pmap_tlb.c d261 1 a278 3 file arch/x86/acpi/acpi_machdep.c acpi file arch/x86/acpi/acpi_pdc.c acpi @ 1.91 log @- Kill NOREDZONE. - Make the redzone conditional on DIAGNOSTIC. - Give amd64 an additional page for the uarea. 2 is not enough. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.90 2008/11/20 10:53:09 ad Exp $ d256 2 a257 4 ifdef i386 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup endif @ 1.90 log @Put the COMPAT_NOMID stuff into its own file. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.89 2008/11/19 18:36:02 ad Exp $ a18 3 # No unmapped page below kernel stack defflag NOREDZONE @ 1.89 log @Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit: - shuffles header files and ifdefs - splits code out where necessary to be modular - adds module glue for each of the components - adds/replaces hooks for things that can be installed at runtime @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88 2008/08/03 19:32:03 joerg Exp $ d36 1 @ 1.88 log @Move some MD declarations from x86/pci/files.pci to x86/conf/files.x86, so that Xen can use the former. Drop Xen's pcib.c in favor of the x86 code and thereby unbreak ichlpcib. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.87 2008/05/11 15:02:34 ad Exp $ d37 1 @ 1.88.4.1 log @Pull up following revision(s) (requested by bouyer in ticket #286): sys/arch/xen/conf/files.xen: revision 1.92 sys/arch/xen/x86/mainbus.c: revision 1.7 via patch sys/arch/xen/xen/hypervisor.c: revision 1.43 The Xen PCI_BUS_FIXUP/PCI_ADDR_FIXUP has rotted, catch up with x86 changes in this area. Patch provided by FUKAUMI Naoki in PR#40356. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88 2008/08/03 19:32:03 joerg Exp $ d257 4 a260 2 file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup @ 1.88.4.2 log @Pull up following revision(s) (requested by ad in ticket #355): sys/arch/i386/conf/GENERIC_TINY: revision 1.116 sys/arch/i386/conf/INSTALL_TINY: revision 1.122 sys/arch/i386/conf/files.i386: revision 1.341 sys/arch/i386/i386/vm_machdep.c: revision 1.142 sys/arch/i386/include/param.h: revision 1.68 sys/arch/xen/conf/files.xen: revision 1.91 - Kill NOREDZONE. - Make the redzone conditional on DIAGNOSTIC. - Give amd64 an additional page for the uarea. 2 is not enough. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.4.1 2009/01/22 20:17:13 snj Exp $ d19 3 @ 1.88.4.2.4.1 log @sync to netbsd-5 @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.4.5 2009/10/03 23:54:04 snj Exp $ d70 1 a70 1 file arch/amd64/amd64/busfunc.S a105 1 file arch/x86/isa/rtc.c xen3 & dom0ops a137 1 file arch/x86/x86/cpu_topology.c a216 5 # PCI frontend device xpci: pcibus attach xpci at xenbus with xpci_xenbus file arch/xen/xen/xpci_xenbus.c xpci_xenbus a228 5 device pciback {unit = -1} attach pciback at pci file arch/xen/xen/pciback.c pciback d382 1 a382 1 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 & dom0ops @ 1.88.4.3 log @Pull up following revision(s) (requested by rmind in ticket #782): sys/arch/xen/conf/files.xen: revision 1.99 via patch Include cpu_topology.c for xen kernels, too. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.4.2 2009/02/16 03:03:37 snj Exp $ a137 1 file arch/x86/x86/cpu_topology.c @ 1.88.4.4 log @Pull up following revision(s) (requested by bouyer in ticket #816): sys/arch/amd64/conf/files.amd64: revision 1.68 sys/arch/i386/conf/files.i386: revision 1.350 sys/arch/x86/include/rtc.h: revision 1.1 sys/arch/x86/isa/clock.c: revision 1.33 sys/arch/x86/isa/rtc.c: revision 1.1 sys/arch/xen/conf/files.xen: revision 1.100 sys/arch/xen/xen/clock.c: revision 1.50 via patch Split mc146818-related functions from clock.c into rtc.c. Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0 kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS by itself. Now a XEN3_DOM0 kernel properly updates the CMOS time. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.4.3 2009/06/16 02:20:41 snj Exp $ a105 1 file arch/x86/isa/rtc.c xen3 & dom0ops @ 1.88.4.5 log @Pull up following revision(s) (requested by bouyer in ticket #1054): sys/arch/xen/conf/files.xen: revision 1.93 sys/arch/xen/include/pci_machdep.h: revision 1.11 sys/arch/xen/include/xen.h: revision 1.31 sys/arch/xen/xen/hypervisor.c: revision 1.44 sys/arch/xen/xen/pci_intr_machdep.c: revision 1.8 sys/arch/xen/xen/pciback.c: revision 1.1 sys/arch/xen/xen/xen_machdep.c: revision 1.5 sys/arch/xen/xen/xpci_xenbus.c: revision 1.1 Work in progress on PCI front-end/back-end support front-end: - add a xpci* at xenbus? which provides pci busses from the dom0 xpci provides support routines for PCI config space operations and enumeration in xpci_xenbus.c - hypervisor.c: do dom0-style PCI attach only ifdef DOM0OPS - pci_intr_machdep.c: check line value only if DOM0OPS back-end: - add a pciback* at pci? device which takes precedences over all other PCI devices (match return 500) and matches all devices passed to pciback.hide option on boot command line. It exports the PCI device informations to files in /kern/xen/pci/ - hypervisor.c: create /kern/xen earlier so pciback can create its entries while PCI devices are probed - xen_machdep.c: add handling for pciback.hide= frontend is know working on Xen 3.1.x dom0 with ahc(4) and pciide(4) devices. uhci(4) fail when trying to allocate a large contigous DMA buffer. backend is work in progress; support in xentools is not there yet. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.4.4 2009/06/19 21:22:11 snj Exp $ d70 1 a70 1 file arch/amd64/amd64/busfunc.S a218 5 # PCI frontend device xpci: pcibus attach xpci at xenbus with xpci_xenbus file arch/xen/xen/xpci_xenbus.c xpci_xenbus a230 5 device pciback {unit = -1} attach pciback at pci file arch/xen/xen/pciback.c pciback d384 1 a384 1 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 & dom0ops @ 1.88.4.6 log @Pull up following revision(s) (requested by bouyer in ticket #1503): sys/arch/xen/conf/files.xen: revision 1.110 Make maxpartitions 16 on !i386. Fixes hardwiring root on device autoconf index > 0 on amd64. Problem reported and patch tested by Tobias Nygren. @ text @d1 1 a1 1 # $NetBSD$ a6 1 ifdef i386 a7 3 else maxpartitions 16 endif @ 1.88.4.7 log @Pull up the following revisions(s) (requested by jym in ticket #1672): sys/arch/xen/conf/files.xen: revision 1.123 via patch sys/arch/xen/xen/hypervisor.c: revision 1.58 via patch sys/arch/xen/xenbus/xenbus_dev.c: revision 1.9 sys/arch/xen/xenbus/xenbus_probe.c: revision 1.35 Expose Xen kernfs entries inside a domU to make it possible to use pkgsrc's sysutils/xentools inside a domU to query XenStore entries (or even modify part of it if the domain has enough rights). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.4.6 2011/01/07 01:42:55 riz Exp $ d184 1 a184 1 file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 needs-flag @ 1.88.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.92 2009/01/18 20:50:43 bouyer Exp $ d19 3 a35 1 file arch/i386/i386/aout_machdep.c exec_aout a36 1 file arch/i386/i386/core_machdep.c coredump d257 4 a260 2 file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup @ 1.88.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.2.1 2009/01/19 13:17:11 skrll Exp $ d5 2 d72 1 a72 1 file arch/amd64/amd64/busfunc.S d156 1 a218 5 # PCI frontend device xpci: pcibus attach xpci at xenbus with xpci_xenbus file arch/xen/xen/xpci_xenbus.c xpci_xenbus a230 5 device pciback {unit = -1} attach pciback at pci file arch/xen/xen/pciback.c pciback d384 1 a384 1 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 & dom0ops @ 1.88.2.3 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88.2.2 2009/03/03 18:29:48 skrll Exp $ d47 1 d51 1 d54 1 d56 1 d60 1 d81 1 d83 1 d86 1 d88 1 d92 1 a97 1 file arch/x86/x86/syscall.c a129 1 file arch/x86/x86/core_machdep.c coredump a132 1 file arch/x86/x86/identcpu.c a134 1 file arch/x86/x86/pmap.c a136 1 file arch/x86/x86/vm_machdep.c a262 3 # MP configuration using either ACPI or Intel SMP specification 1.4 file arch/x86/x86/mp.c acpi | mpbios @ 1.87 log @Update xen for identcpu changes. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.86 2008/05/10 16:27:57 ad Exp $ a229 1 file arch/x86/pci/agp_machdep.c agp d232 3 a272 18 # PCI-Host bridge chipsets device pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis, agp_via attach pchb at pci file arch/x86/pci/pchb.c pchb needs-flag file arch/x86/pci/pchb_rnd.c pchb & rnd # PCI-ISA bridges device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib | ichlpcib # PCI-LPC bridges device ichlpcib: isabus, sysmon_wdog attach ichlpcib at pci file arch/x86/pci/ichlpcib.c ichlpcib @ 1.87.4.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.88 2008/08/03 19:32:03 joerg Exp $ d230 1 a232 3 # x86 specific PCI hardware include "arch/x86/pci/files.pci" d271 18 @ 1.87.4.2 log @Update haad-dm branch to haad-dm-base2. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.90 2008/11/20 10:53:09 ad Exp $ a35 1 file arch/i386/i386/aout_machdep.c exec_aout a36 1 file arch/i386/i386/core_machdep.c coredump @ 1.86 log @Make xen build after tsc changes. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.85 2008/05/09 18:11:29 joerg Exp $ d50 1 a50 2 file arch/i386/i386/identcpu.c file arch/x86/x86/x86_identcpu.c d84 1 a84 2 file arch/amd64/amd64/identcpu.c file arch/x86/x86/x86_identcpu.c a134 1 file arch/x86/x86/cacheinfo.c @ 1.85 log @Make cpu_idle a macro calling a function pointer on x86. Select the Xen idle routine for Xen, mwait if supported by the CPU and it is not AMD and halt otherwise. As reported by Christoph Egger, AMD Barcelona keeps the CPU in C0 state with MWAIT, contrary to HLT, which uses C1 and therefore much less power. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84 2008/04/25 13:26:27 ad Exp $ d142 1 @ 1.84 log @Include null IPI functions if !MULTIPROCESSOR. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.83 2008/02/27 04:19:24 dogcow Exp $ a101 1 file arch/xen/x86/idle_machdep.c @ 1.84.4.1 log @Sync w/ -current. 34 merge conflicts to follow. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84 2008/04/25 13:26:27 ad Exp $ d50 2 a51 1 file arch/x86/x86/identcpu.c d85 2 a86 1 file arch/x86/x86/identcpu.c d102 1 d138 1 a142 1 file arch/x86/x86/tsc.c @ 1.84.4.2 log @Sync with wrstuden-revivesa-base-2. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84.4.1 2008/06/23 04:30:51 wrstuden Exp $ d230 1 a232 3 # x86 specific PCI hardware include "arch/x86/pci/files.pci" d271 18 @ 1.84.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84 2008/04/25 13:26:27 ad Exp $ d50 2 a51 1 file arch/x86/x86/identcpu.c d85 2 a86 1 file arch/x86/x86/identcpu.c d102 1 d138 1 a142 1 file arch/x86/x86/tsc.c @ 1.84.2.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84.2.1 2008/05/16 02:23:29 yamt Exp $ d5 2 d19 3 a35 1 file arch/i386/i386/aout_machdep.c exec_aout a36 1 file arch/i386/i386/core_machdep.c coredump d50 1 d54 1 d57 1 d59 1 d63 1 d73 1 a73 1 file arch/amd64/amd64/busfunc.S d84 1 d86 1 d89 1 d91 1 d95 1 a100 1 file arch/x86/x86/syscall.c a132 1 file arch/x86/x86/core_machdep.c coredump a135 1 file arch/x86/x86/identcpu.c a137 1 file arch/x86/x86/pmap.c a139 1 file arch/x86/x86/vm_machdep.c a140 1 file arch/x86/x86/cpu_topology.c d157 1 a219 5 # PCI frontend device xpci: pcibus attach xpci at xenbus with xpci_xenbus file arch/xen/xen/xpci_xenbus.c xpci_xenbus d230 1 a232 8 device pciback {unit = -1} attach pciback at pci file arch/xen/xen/pciback.c pciback # x86 specific PCI hardware include "arch/x86/pci/files.pci" d255 4 a258 5 # MP configuration using either ACPI or Intel SMP specification 1.4 file arch/x86/x86/mp.c acpi | mpbios file arch/x86/pci/pci_bus_fixup.c pci_bus_fixup file arch/x86/pci/pci_addr_fixup.c pci_addr_fixup d271 18 d403 1 a403 1 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 & dom0ops @ 1.84.2.3 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84.2.2 2009/05/04 08:12:11 yamt Exp $ a96 1 file arch/x86/isa/rtc.c xen3 & dom0ops @ 1.84.2.4 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84.2.3 2009/06/20 07:20:13 yamt Exp $ a28 12 # Intel Enhanced Speedstep defflag ENHANCED_SPEEDSTEP defflag opt_est.h EST_FREQ_USERWRITE file arch/x86/x86/est.c enhanced_speedstep file arch/x86/x86/intel_busclock.c enhanced_speedstep # AMD Powernow/Cool`n'Quiet Technology defflag opt_powernow_k8.h POWERNOW_K8 # Powernow common functions file arch/x86/x86/powernow_k8.c powernow_k8 file arch/x86/x86/powernow_common.c powernow_k8 | powernow_k7 d33 1 a63 5 # AMD PowerNow K7 defflag POWERNOW_K7 file arch/i386/i386/powernow_k7.c powernow_k7 d97 1 a97 1 file arch/x86/isa/rtc.c dom0ops d99 1 d101 1 a101 1 file arch/xen/xen/xengnt.c d167 1 a167 1 file arch/xen/xen/shutdown_xenbus.c hypervisor d169 1 a169 1 # Xenbus d172 5 a176 5 file arch/xen/xenbus/xenbus_client.c xenbus needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus needs-flag d199 4 a202 2 attach xennet at xenbus file arch/xen/xen/if_xennet_xenbus.c xennet needs-flag d206 6 a211 2 attach xbd at xenbus file arch/xen/xen/xbd_xenbus.c xbd d255 1 a255 1 file arch/x86/x86/i8259.c a286 2 file arch/x86/x86/msr_ipifuncs.c a313 1 file arch/i386/i386/darwin_commpage_machdep.S compat_darwin d387 5 a391 2 file arch/xen/x86/xen_shm_machdep.c dom0ops file arch/x86/pci/pci_machdep.c hypervisor & pci & dom0ops d395 3 a397 3 file arch/xen/xen/xennetback_xenbus.c xvif file arch/xen/xen/xennet_checksum.c xvif | xennet file arch/xen/xen/xbdback_xenbus.c xbdback @ 1.84.2.5 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84.2.4 2009/08/19 18:46:52 yamt Exp $ a16 3 # splraise()/spllower() debug defflag opt_spldebug.h SPLDEBUG d296 2 @ 1.84.2.6 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.84.2.5 2010/03/11 15:03:09 yamt Exp $ d65 1 d97 1 a108 1 file arch/xen/x86/xen_pmap.c a147 1 file arch/x86/x86/procfs_machdep.c procfs d398 1 a398 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 XEN_BALLOON a407 1 file arch/xen/xen/balloon.c hypervisor @ 1.83 log @fix longrun build borkage on i386 @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.82 2008/02/20 21:43:35 drochner Exp $ d141 1 a141 1 file arch/x86/x86/ipi.c multiprocessor @ 1.83.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.83 2008/02/27 04:19:24 dogcow Exp $ d50 2 a51 1 file arch/x86/x86/identcpu.c d85 2 a86 1 file arch/x86/x86/identcpu.c d102 1 d138 1 d141 1 a141 1 file arch/x86/x86/ipi.c a142 1 file arch/x86/x86/tsc.c @ 1.82 log @Since files.wscons et al. are included by ~all ports anyway, include them in the mi "files" file, and remove include statements from md files. These shouldn't pull in additional kernel code when not in use, so it shouldn't do any harm except a risk of namespace collisions which should be easy to fix. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.81 2008/01/31 13:46:33 jmmv Exp $ d52 1 @ 1.82.6.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD$ a51 1 file arch/i386/i386/longrun.c @ 1.82.6.2 log @Sync with HEAD. @ text @d50 2 a51 1 file arch/x86/x86/identcpu.c d85 2 a86 1 file arch/x86/x86/identcpu.c d102 1 d138 1 d141 1 a141 1 file arch/x86/x86/ipi.c a142 1 file arch/x86/x86/tsc.c @ 1.82.6.3 log @Sync with HEAD. @ text @d230 1 a232 3 # x86 specific PCI hardware include "arch/x86/pci/files.pci" d271 18 @ 1.82.6.4 log @Sync with HEAD. @ text @d19 3 a35 1 file arch/i386/i386/aout_machdep.c exec_aout a36 1 file arch/i386/i386/core_machdep.c coredump @ 1.82.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.83 2008/02/27 04:19:24 dogcow Exp $ a51 1 file arch/i386/i386/longrun.c @ 1.81 log @Let Xen kernels build with "options MODULAR" enabled by pulling in the appropriate kobj_machdep.c file. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.80 2008/01/25 21:12:13 joerg Exp $ a223 4 include "dev/wscons/files.wscons" include "dev/wsfont/files.wsfont" include "dev/wsfb/files.wsfb" @ 1.80 log @Refactor in_cksum/in4_cksum/in6_cksum implementations: - All three functions are included in the kernel by default. They call a backend function cpu_in_cksum after possibly computing the checksum of the pseudo header. - cpu_in_cksum is the core to implement the one-complement sum. The default implementation is moderate fast on most platforms and provides a 32bit accumulator with 16bit addends for L32 platforms and a 64bit accumulator with 32bit addends for L64 platforms. It handles edge cases like very large mbuf chains (could happen with native IPv6 in the future) and provides a good base for new native implementations. - Modify i386 and amd64 assembly to use the new interface. This disables the MD implementations on !x86 until the conversion is done. For Alpha, the portable version is faster. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.79 2008/01/16 09:37:08 ad Exp $ d48 1 d81 1 @ 1.79 log @Remove options MATH_EMULATE. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.78 2008/01/12 20:03:42 ad Exp $ d38 1 a45 1 file arch/i386/i386/in_cksum.S inet | inet6 d74 1 a94 5 # # XXXfvdl write the optimized versions for these. # file netinet/in_cksum.c inet file netinet/in4_cksum.c inet @ 1.78 log @- Split crashdump code out into its own file. - Remove NO_SPARSE_DUMP. - Minor KNF, sprinkle static. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.77 2008/01/11 20:00:18 bouyer Exp $ a50 1 file arch/i386/i386/math_emulate.c math_emulate a82 1 file arch/amd64/amd64/math_emulate.c math_emulate @ 1.77 log @Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the branch is still active and will see i386PAE support developement). Sumary of changes: - switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c pmap bootstrap. - merge back most of xen/i386/ to i386/i386 - change the build to reduce diffs between i386 and amd64 in file locations - remove include files that were identical to the i386/amd64 counterparts, the build will find them via the xen-ma/machine link. @ text @d1 1 a1 1 # $NetBSD$ d43 1 @ 1.76 log @try to detect processor resource sharing topologies. ie. package/core/smt IDs. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.75 2007/12/03 15:34:28 ad Exp $ d43 1 a43 1 file arch/xen/i386/gdt.c d47 1 a47 1 file arch/xen/i386/machdep.c d53 1 a53 1 file arch/xen/i386/pmap.c a58 1 file arch/xen/i386/xpmap.c d152 1 a152 1 file arch/xen/i386/bios32.c bios32 needs-flag d154 1 a154 1 file arch/amd64/amd64/bios32.c bios32 needs-flag d193 1 a193 1 file arch/xen/i386/npx.c npx needs-flag @ 1.75 log @Interrupt handling changes, in discussion since February: - Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implement threaded soft interrupts. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.74 2007/12/01 12:52:20 bouyer Exp $ d49 1 d83 1 @ 1.75.6.1 log @Switch i386 to x86/x86/pmap.c @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.75 2007/12/03 15:34:28 ad Exp $ d52 1 a52 1 file arch/x86/x86/pmap.c @ 1.75.6.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD$ a48 1 file arch/x86/x86/x86_identcpu.c a81 1 file arch/x86/x86/x86_identcpu.c @ 1.75.6.3 log @Not used anymore since xen/i386 has been switched to xen_pmap_bootstrap() @ text @d59 1 @ 1.75.6.4 log @Use the i386 bios32.c for xen/i386 @ text @d152 1 a152 1 file arch/i386/i386/bios32.c bios32 needs-flag d154 1 a154 1 file arch/amd64/amd64/bios32.c bios32 needs-flag @ 1.75.6.5 log @Switch xen/i386 to the i386 npx.c. We have to keep npx_hv.c to attach npx to hypervisor0. @ text @d193 1 a193 1 file arch/i386/isa/npx.c npx needs-flag @ 1.75.6.6 log @Move Xen support to i386/i386/machdep.c. two less files in xen/ :) @ text @d47 1 a47 1 file arch/i386/i386/machdep.c @ 1.75.6.7 log @Merge xen bits to i386/i386/gdt.c. Convert remaining uses of PTE_* macros to pmap_pte_* macros/inlines. Fix think-o in pmap.c for native i386. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.75.6.6 2008/01/07 00:34:53 bouyer Exp $ d43 1 a43 1 file arch/i386/i386/gdt.c @ 1.75.6.8 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD$ a42 1 file arch/i386/i386/dumpsys.c d50 1 d83 1 @ 1.74 log @Back out previous, majors.amd64 in files.amd64 is inside ifndef xen/endif @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.73 2007/11/30 22:56:05 dsl Exp $ a142 1 file arch/x86/x86/softintr.c @ 1.73 log @Don't pull in majors.amd64 here, we get another copy from files.amd64 and config bleats like mad. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.72 2007/11/28 14:02:31 yamt Exp $ d423 1 a423 1 # include "arch/amd64/conf/majors.amd64" @ 1.72 log @- merge {i386,xen}/i386/trap.c. - add a comment about a hack for xen2. @ text @d1 1 a1 1 # $NetBSD$ d423 1 a423 1 include "arch/amd64/conf/majors.amd64" @ 1.71 log @Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support to NetBSD/Xen, both Dom0 and DomU. @ text @d56 1 a56 1 file arch/xen/i386/trap.c @ 1.70 log @remove lock_machdep.c @ text @d5 2 d29 1 a29 1 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP d32 1 a32 1 defparam PCI_CONF_MODE d34 2 a35 1 file arch/xen/i386/autoconf.c a42 1 file kern/subr_disk_mbr.c disk a43 2 file arch/xen/i386/hypervisor_machdep.c file arch/xen/i386/idle_machdep.c d48 1 a48 1 file arch/xen/i386/identcpu.c a50 1 file arch/x86/x86/mtrr_i686.c mtrr d58 1 a58 3 file arch/xen/i386/xen_machdep.c file arch/xen/i386/xen_intr.c file arch/xen/i386/xenfunc.c d61 49 a119 10 file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu d150 2 a151 1 define bios32 d153 3 d157 1 a157 1 # i386 specific mainbus attributes d162 1 a162 1 define vesabiosbus {} d173 1 a173 1 file arch/xen/i386/mainbus.c mainbus d190 1 d197 1 d213 2 a214 2 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d251 1 a251 1 device fdc {drive = -1} #XXX d264 4 a267 2 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup d282 1 a282 1 agp_via d306 1 a306 1 file arch/xen/i386/cpu.c cpu | vcpu d312 1 d363 20 d393 1 d395 3 d408 1 a408 1 file arch/xen/i386/xen_shm_machdep.c dom0ops | xen3 d420 1 d422 3 @ 1.69 log @Remove support for 80386 level CPUs. PR port-i386/36163. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.68 2007/10/26 22:33:23 xtraeme Exp $ a106 1 file arch/x86/x86/lock_machdep.c lockdebug @ 1.68 log @xen/i386/cpu.c uses i686_mtrr_init_first if MTRR is defined, but mtrr_i686.c wasn't built... @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.67 2007/10/26 22:11:45 xtraeme Exp $ a10 3 # Processor type options. defflag opt_cputype.h I686_CPU @ 1.68.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.69 2007/11/15 19:18:34 ad Exp $ d11 3 @ 1.68.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.75 2007/12/03 15:34:28 ad Exp $ a4 2 version 20071109 d27 1 a27 1 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP d30 1 a30 1 defparam PCI_CONF_MODE d32 1 a32 2 file arch/xen/x86/autoconf.c ifdef i386 d40 1 d42 2 d48 1 a48 1 file arch/i386/i386/identcpu.c d51 1 d57 1 a57 1 file arch/i386/i386/trap.c d59 3 a61 1 file arch/xen/i386/xpmap.c a63 49 file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/busfunc.S dom0ops file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_memrw.c ddb | kgdb file arch/amd64/amd64/db_trace.c ddb file arch/amd64/amd64/kgdb_machdep.c kgdb file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/identcpu.c file arch/amd64/amd64/math_emulate.c math_emulate file arch/amd64/amd64/mem.c file arch/x86/x86/pmap.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/procfs_machdep.c procfs file arch/amd64/amd64/syscall.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/vm_machdep.c file arch/amd64/amd64/fpu.c file arch/amd64/amd64/lock_stubs.S file arch/amd64/amd64/mptramp.S multiprocessor file arch/amd64/amd64/ipifuncs.c multiprocessor # # XXXfvdl write the optimized versions for these. # file netinet/in_cksum.c inet file netinet/in4_cksum.c inet endif file kern/subr_disk_mbr.c disk file arch/xen/x86/hypervisor_machdep.c file arch/xen/x86/idle_machdep.c # file arch/x86/x86/mtrr_i686.c mtrr file arch/xen/x86/x86_xpmap.c file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c file arch/xen/xen/xen_machdep.c d74 10 d107 2 d115 1 a115 2 define bios32 ifdef i386 a116 3 elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif d118 1 a118 1 # xen specific mainbus attributes d123 1 a123 1 define vesabiosbus {} d134 1 a134 1 file arch/xen/x86/mainbus.c mainbus a150 1 ifdef i386 a156 1 endif d172 2 a173 2 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d210 1 a210 1 device fdc {drive = -1} #XXX d223 2 a224 4 ifdef i386 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup endif d239 1 a239 1 agp_via d263 1 a263 1 file arch/xen/x86/cpu.c cpu | vcpu a268 1 ifdef i386 a318 20 elifdef amd64 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif a328 1 ifdef i386 a329 3 elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif d340 1 a340 1 file arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 a351 1 ifdef i386 a352 3 elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.68.2.3 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.81 2008/01/31 13:46:33 jmmv Exp $ a37 1 file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum d43 2 a44 2 file arch/i386/i386/dumpsys.c file arch/i386/i386/gdt.c d47 1 a47 2 file arch/i386/i386/kobj_machdep.c modular file arch/i386/i386/machdep.c d49 1 a49 1 file arch/x86/x86/x86_identcpu.c d52 1 a52 1 file arch/x86/x86/pmap.c d58 1 a73 1 file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum a78 1 file arch/amd64/amd64/kobj_machdep.c modular d82 1 a82 1 file arch/x86/x86/x86_identcpu.c d94 5 d151 1 a151 1 file arch/i386/i386/bios32.c bios32 needs-flag d153 1 a153 1 file arch/amd64/amd64/bios32.c bios32 needs-flag d192 1 a192 1 file arch/i386/isa/npx.c npx needs-flag @ 1.67 log @ichlpcib(4) lives in x86/pci these days... @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.66 2007/10/26 21:49:51 xtraeme Exp $ d54 1 @ 1.66 log @- Share pchb(4) between i386 and amd64; one copy is enough for both. - Move some of the x86 PCI devices into x86/pci/files.pci. - Add more x86 stuff into x86/conf/files.x86. ok joerg. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.65 2007/10/17 19:58:18 garbled Exp $ d254 1 a254 1 file arch/i386/pci/ichlpcib.c ichlpcib @ 1.65 log @Merge the ppcoea-renovation branch to HEAD. This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here. TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted. NOTES: pmppc was removed as an arch, and moved to a evbppc target. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.59.2.2 2007/10/03 19:25:58 garbled Exp $ d243 1 a243 1 file arch/i386/pci/pchb.c pchb needs-flag @ 1.64 log @x86 changes for pcc and LKMs. - Replace most inline assembly with proper functions. As a side effect this reduces the size of amd64 GENERIC by about 120kB, and i386 by a smaller amount. Nearly all of the inlines did something slow, or something that does not need to be fast. - Make curcpu() and curlwp functions proper, unless __GNUC__ && _KERNEL. In that case make them inlines. Makes curlwp LKM and preemption safe. - Make bus_space and bus_dma more LKM friendly. - Share a few more files between the ports. - Other minor changes. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63 2007/07/07 05:13:17 tsutsui Exp $ @ 1.64.2.1 log @Prepare for xenamd64: - kill xen/i386/identcpu.c, use i386/i386/identcpu.c instead (with a few #ifndef XEN) - move some files that can be shared between i386 and amd64 from xen/i386 to xen/x86 (or to xen/xen for non-cpu-specific code) - split assembly out of xen/include/hypervisor.h to xen/include/hypercalls.h - use instead of for cpu-independant include files. more work needed here, i386-specific files should got out of arch/xen to arch/xeni386, and more code shared with arch/i386. @ text @d35 1 a35 1 file arch/xen/x86/autoconf.c d45 2 a46 2 file arch/xen/x86/hypervisor_machdep.c file arch/xen/x86/idle_machdep.c d51 1 a51 1 file arch/i386/i386/identcpu.c d61 3 a63 3 file arch/xen/i386/xpmap.c file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c a65 1 file arch/xen/xen/xen_machdep.c d136 1 a136 1 file arch/xen/x86/mainbus.c mainbus d265 1 a265 1 file arch/xen/x86/cpu.c cpu | vcpu d342 1 a342 1 file arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 @ 1.64.2.2 log @Factorise some Xen pmap code in x86_xpmap.c. More xpmap_{ptom,mtop} -> xpmap_{ptom,mtop}_masked The xenamd64 kernel is now good enough to complete a sysinst install from xennet to xbd. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.64.2.1 2007/10/17 21:08:14 bouyer Exp $ a61 1 file arch/xen/x86/x86_xpmap.c @ 1.64.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD$ a53 1 file arch/x86/x86/mtrr_i686.c mtrr d245 1 a245 1 file arch/x86/pci/pchb.c pchb needs-flag d256 1 a256 1 file arch/x86/pci/ichlpcib.c ichlpcib @ 1.64.2.4 log @Sync with HEAD @ text @d11 3 @ 1.64.2.5 log @Get rid of arch/xenamd64, step 1: empty xenamd64/conf - move xenamd64/conf/std.xen to amd64/conf/ - define arch to amd64 amd64/conf/std.xen, and i386 in xen/conf/std.xen (machine is xen) - enclose content of amd64/conf/files.amd64 and i386/conf/files.i386 in ifndef xen/endif, so it can be transparently inclued for xen kernels - support MACHINE_ARCH=x86_64 in xen/conf/Makefile* @ text @a4 2 version 20071109 d27 1 a27 1 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP d30 1 a30 1 defparam PCI_CONF_MODE a32 1 ifdef i386 d40 1 d42 2 d51 1 a59 47 file arch/i386/i386/lock_stubs.S file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/busfunc.S dom0ops file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_memrw.c ddb | kgdb file arch/amd64/amd64/db_trace.c ddb file arch/amd64/amd64/kgdb_machdep.c kgdb file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/identcpu.c file arch/amd64/amd64/math_emulate.c math_emulate file arch/amd64/amd64/mem.c file arch/x86/x86/pmap.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/procfs_machdep.c procfs file arch/amd64/amd64/syscall.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/vm_machdep.c file arch/xenamd64/amd64/xpmap.c file arch/amd64/amd64/fpu.c file arch/amd64/amd64/lock_stubs.S file arch/amd64/amd64/mptramp.S multiprocessor file arch/amd64/amd64/ipifuncs.c multiprocessor # # XXXfvdl write the optimized versions for these. # file netinet/in_cksum.c inet file netinet/in4_cksum.c inet endif file kern/subr_disk_mbr.c disk file arch/xen/x86/hypervisor_machdep.c file arch/xen/x86/idle_machdep.c # file arch/x86/x86/mtrr_i686.c mtrr d63 1 d76 10 d117 1 a117 2 define bios32 ifdef i386 a118 3 elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif d120 1 a120 1 # xen specific mainbus attributes d125 1 a125 1 define vesabiosbus {} a152 1 ifdef i386 a158 1 endif d174 2 a175 2 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d212 1 a212 1 device fdc {drive = -1} #XXX d225 2 a226 4 ifdef i386 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup endif d241 1 a241 1 agp_via a270 1 ifdef i386 a320 20 elifdef amd64 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif a330 1 ifdef i386 a331 3 elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif a353 1 ifdef i386 a354 3 elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.64.2.6 log @Get rid of arch/xenamd64, step 3: merge xenamd64/amd64/xpmap.c in xen/x86/x86_xpmap.c @ text @d90 1 @ 1.64.2.7 log @Sync with HEAD @ text @d143 1 @ 1.63 log @Remove leftover netns stuff. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.62 2007/06/28 20:07:00 alc Exp $ d36 2 d63 1 d104 1 a104 1 file arch/xen/x86/bus_space.c pci @ 1.63.10.1 log @sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.68 2007/10/26 22:33:23 xtraeme Exp $ a35 2 file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S a51 1 file arch/x86/x86/mtrr_i686.c mtrr a60 1 file arch/xen/i386/xenfunc.c d101 1 a101 1 file arch/x86/x86/bus_space.c pci d240 1 a240 1 file arch/x86/pci/pchb.c pchb needs-flag d251 1 a251 1 file arch/x86/pci/ichlpcib.c ichlpcib @ 1.63.10.2 log @sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63.10.1 2007/11/06 23:23:56 matt Exp $ a4 2 version 20071109 d11 3 d30 1 a30 1 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP d33 1 a33 1 defparam PCI_CONF_MODE d35 1 a35 2 file arch/xen/x86/autoconf.c ifdef i386 d43 1 d45 2 d51 1 a51 2 file arch/i386/i386/identcpu.c file arch/x86/x86/x86_identcpu.c d54 1 d60 1 a60 1 file arch/i386/i386/trap.c d62 3 a64 1 file arch/xen/i386/xpmap.c a66 50 file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/busfunc.S dom0ops file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_memrw.c ddb | kgdb file arch/amd64/amd64/db_trace.c ddb file arch/amd64/amd64/kgdb_machdep.c kgdb file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/identcpu.c file arch/x86/x86/x86_identcpu.c file arch/amd64/amd64/math_emulate.c math_emulate file arch/amd64/amd64/mem.c file arch/x86/x86/pmap.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/procfs_machdep.c procfs file arch/amd64/amd64/syscall.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/vm_machdep.c file arch/amd64/amd64/fpu.c file arch/amd64/amd64/lock_stubs.S file arch/amd64/amd64/mptramp.S multiprocessor file arch/amd64/amd64/ipifuncs.c multiprocessor # # XXXfvdl write the optimized versions for these. # file netinet/in_cksum.c inet file netinet/in4_cksum.c inet endif file kern/subr_disk_mbr.c disk file arch/xen/x86/hypervisor_machdep.c file arch/xen/x86/idle_machdep.c # file arch/x86/x86/mtrr_i686.c mtrr file arch/xen/x86/x86_xpmap.c file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c file arch/xen/xen/xen_machdep.c d77 10 d110 2 d118 1 a118 2 define bios32 ifdef i386 a119 3 elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif d121 1 a121 1 # xen specific mainbus attributes d126 1 a126 1 define vesabiosbus {} d137 1 a137 1 file arch/xen/x86/mainbus.c mainbus a153 1 ifdef i386 a159 1 endif d175 2 a176 2 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d213 1 a213 1 device fdc {drive = -1} #XXX d226 2 a227 4 ifdef i386 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup endif d242 1 a242 1 agp_via d266 1 a266 1 file arch/xen/x86/cpu.c cpu | vcpu a271 1 ifdef i386 a321 20 elifdef amd64 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif a331 1 ifdef i386 a332 3 elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif d343 1 a343 1 file arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 a354 1 ifdef i386 a355 3 elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.63.10.3 log @sync with HEAD @ text @d1 1 a1 1 # files.xen,v 1.63.10.2 2008/01/09 01:50:02 matt Exp a37 1 file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum d43 2 a44 2 file arch/i386/i386/dumpsys.c file arch/i386/i386/gdt.c d47 1 a47 2 file arch/i386/i386/kobj_machdep.c modular file arch/i386/i386/machdep.c d50 1 a50 1 file arch/i386/i386/longrun.c d53 1 a53 1 file arch/x86/x86/pmap.c d59 1 a74 1 file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum a79 1 file arch/amd64/amd64/kobj_machdep.c modular d84 1 d96 5 d153 1 a153 1 file arch/i386/i386/bios32.c bios32 needs-flag d155 1 a155 1 file arch/amd64/amd64/bios32.c bios32 needs-flag d194 1 a194 1 file arch/i386/isa/npx.c npx needs-flag d228 4 @ 1.63.12.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63 2007/07/07 05:13:17 tsutsui Exp $ a35 2 file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S a60 1 file arch/xen/i386/xenfunc.c d101 1 a101 1 file arch/x86/x86/bus_space.c pci @ 1.63.8.1 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.64 2007/09/26 19:48:44 ad Exp $ a35 2 file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S a60 1 file arch/xen/i386/xenfunc.c d101 1 a101 1 file arch/x86/x86/bus_space.c pci @ 1.63.8.2 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63.8.1 2007/10/02 18:27:54 joerg Exp $ a53 1 file arch/x86/x86/mtrr_i686.c mtrr d243 1 a243 1 file arch/x86/pci/pchb.c pchb needs-flag d254 1 a254 1 file arch/x86/pci/ichlpcib.c ichlpcib @ 1.63.8.3 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63.8.2 2007/10/28 20:11:01 joerg Exp $ d11 3 @ 1.63.8.4 log @Sync with HEAD. amd64 Xen support needs testing. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63.8.3 2007/11/21 21:53:40 joerg Exp $ a4 2 version 20071109 d27 1 a27 1 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP d30 1 a30 1 defparam PCI_CONF_MODE d32 1 a32 2 file arch/xen/x86/autoconf.c ifdef i386 d40 1 d42 2 d48 1 a48 1 file arch/i386/i386/identcpu.c d51 1 d59 3 a61 1 file arch/xen/i386/xpmap.c a63 49 file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/busfunc.S dom0ops file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_memrw.c ddb | kgdb file arch/amd64/amd64/db_trace.c ddb file arch/amd64/amd64/kgdb_machdep.c kgdb file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/identcpu.c file arch/amd64/amd64/math_emulate.c math_emulate file arch/amd64/amd64/mem.c file arch/x86/x86/pmap.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/procfs_machdep.c procfs file arch/amd64/amd64/syscall.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/vm_machdep.c file arch/amd64/amd64/fpu.c file arch/amd64/amd64/lock_stubs.S file arch/amd64/amd64/mptramp.S multiprocessor file arch/amd64/amd64/ipifuncs.c multiprocessor # # XXXfvdl write the optimized versions for these. # file netinet/in_cksum.c inet file netinet/in4_cksum.c inet endif file kern/subr_disk_mbr.c disk file arch/xen/x86/hypervisor_machdep.c file arch/xen/x86/idle_machdep.c # file arch/x86/x86/mtrr_i686.c mtrr file arch/xen/x86/x86_xpmap.c file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c file arch/xen/xen/xen_machdep.c d74 10 d107 1 d115 1 a115 2 define bios32 ifdef i386 a116 3 elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif d118 1 a118 1 # xen specific mainbus attributes d123 1 a123 1 define vesabiosbus {} d134 1 a134 1 file arch/xen/x86/mainbus.c mainbus a150 1 ifdef i386 a156 1 endif d172 2 a173 2 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d210 1 a210 1 device fdc {drive = -1} #XXX d223 2 a224 4 ifdef i386 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup endif d239 1 a239 1 agp_via d263 1 a263 1 file arch/xen/x86/cpu.c cpu | vcpu a268 1 ifdef i386 a318 20 elifdef amd64 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif a328 1 ifdef i386 a329 3 elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif d340 1 a340 1 file arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 a351 1 ifdef i386 a352 3 elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.63.8.5 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63.8.4 2007/11/27 19:35:59 joerg Exp $ d56 1 a56 1 file arch/i386/i386/trap.c @ 1.63.8.6 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.75 2007/12/03 15:34:28 ad Exp $ d143 1 @ 1.62 log @ - add ichlpcib to XEN2 config file - few cosmetics tested with XEN2 and XEN3 kernel ok bouyer@@ @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.61 2007/05/17 14:51:35 yamt Exp $ a52 1 file netns/ns_cksum.c ns @ 1.61 log @merge yamt-idlelwp branch. asked by core@@. some ports still needs work. from doc/BRANCHES: idle lwp, and some changes depending on it. 1. separate context switching and thread scheduling. (cf. gmcgarry_ctxsw) 2. implement idle lwp. 3. clean up related MD/MI interfaces. 4. make scheduler(s) modular. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.60 2007/05/12 07:06:54 jld Exp $ d245 9 a253 3 device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib @ 1.60 log @Convert the xen port to use timecounters; ok'ed by bouyer@@. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.59 2007/04/16 19:12:19 ad Exp $ d44 1 d61 1 @ 1.59 log @Share the sysarch stuff between the x86 ports. PR kern/36046. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.58 2007/04/10 03:01:08 macallan Exp $ a50 1 file kern/kern_microtime.c i586_cpu | i686_cpu @ 1.59.2.1 log @Update to HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.61 2007/05/17 14:51:35 yamt Exp $ a43 1 file arch/xen/i386/idle_machdep.c d51 1 a60 1 file arch/xen/i386/xen_intr.c @ 1.59.2.2 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.64 2007/09/26 19:48:44 ad Exp $ a35 2 file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S d53 1 a61 1 file arch/xen/i386/xenfunc.c d102 1 a102 1 file arch/x86/x86/bus_space.c pci d245 3 a247 9 device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib | ichlpcib # PCI-LPC bridges device ichlpcib: isabus, sysmon_wdog attach ichlpcib at pci file arch/i386/pci/ichlpcib.c ichlpcib @ 1.58 log @include files.wsfb @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.57 2007/03/05 16:51:03 drochner Exp $ a56 1 file arch/xen/i386/sys_machdep.c d108 1 @ 1.57 log @clean up how cpus and ioapics are attached at the mainbus: Seperate "cpubus" and "ioapicbus" -- while they share a common "address space" (the apic id), the kernel doesn't use this fact. There are different data passed to cpus and apics, which caused some ugly polymorphism. This also saves the special "submatch" functions needed to distingush cpus and ioapics for autoconf. (And it makes that "apid" locators wired in the kernel configuration are honored now; this allows one to dumb down an mp box to singleprocessor by userconfig.) Print "apid" locators in the buses "print" function "as everyone does", so the per-port cpu drivers don't need to do it. Being here, constify "struct cpu_functions" and g/c the unused MP_PICMODE flag. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.56 2007/02/18 18:15:41 dsl Exp $ d187 1 @ 1.57.4.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.63 2007/07/07 05:13:17 tsutsui Exp $ a43 1 file arch/xen/i386/idle_machdep.c d51 1 d53 1 d57 1 a61 1 file arch/xen/i386/xen_intr.c a108 1 file arch/x86/x86/sys_machdep.c a186 1 include "dev/wsfb/files.wsfb" d243 3 a245 9 device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib | ichlpcib # PCI-LPC bridges device ichlpcib: isabus, sysmon_wdog attach ichlpcib at pci file arch/i386/pci/ichlpcib.c ichlpcib @ 1.57.2.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.57 2007/03/05 16:51:03 drochner Exp $ a186 1 include "dev/wsfb/files.wsfb" @ 1.57.2.2 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.57.2.1 2007/04/10 13:23:21 ad Exp $ a43 1 file arch/xen/i386/idle_machdep.c d51 1 d57 1 a61 1 file arch/xen/i386/xen_intr.c a108 1 file arch/x86/x86/sys_machdep.c @ 1.57.2.3 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.57.2.2 2007/05/27 14:27:06 ad Exp $ d53 1 d245 3 a247 9 device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib | ichlpcib # PCI-LPC bridges device ichlpcib: isabus, sysmon_wdog attach ichlpcib at pci file arch/i386/pci/ichlpcib.c ichlpcib @ 1.57.2.4 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.57.2.3 2007/07/15 13:17:18 ad Exp $ a35 2 file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S a60 1 file arch/xen/i386/xenfunc.c d101 1 a101 1 file arch/x86/x86/bus_space.c pci @ 1.57.2.5 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.57.2.4 2007/10/09 13:38:48 ad Exp $ a4 2 version 20071109 d11 3 d30 1 a30 1 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP d33 1 a33 1 defparam PCI_CONF_MODE d35 1 a35 2 file arch/xen/x86/autoconf.c ifdef i386 d43 1 d45 2 d51 1 a51 1 file arch/i386/i386/identcpu.c d59 1 a59 1 file arch/i386/i386/trap.c d61 3 a63 1 file arch/xen/i386/xpmap.c a65 49 file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/busfunc.S dom0ops file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_memrw.c ddb | kgdb file arch/amd64/amd64/db_trace.c ddb file arch/amd64/amd64/kgdb_machdep.c kgdb file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/identcpu.c file arch/amd64/amd64/math_emulate.c math_emulate file arch/amd64/amd64/mem.c file arch/x86/x86/pmap.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/procfs_machdep.c procfs file arch/amd64/amd64/syscall.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/vm_machdep.c file arch/amd64/amd64/fpu.c file arch/amd64/amd64/lock_stubs.S file arch/amd64/amd64/mptramp.S multiprocessor file arch/amd64/amd64/ipifuncs.c multiprocessor # # XXXfvdl write the optimized versions for these. # file netinet/in_cksum.c inet file netinet/in4_cksum.c inet endif file kern/subr_disk_mbr.c disk file arch/xen/x86/hypervisor_machdep.c file arch/xen/x86/idle_machdep.c # file arch/x86/x86/mtrr_i686.c mtrr file arch/xen/x86/x86_xpmap.c file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c file arch/xen/xen/xen_machdep.c d76 10 d109 2 d117 1 a117 2 define bios32 ifdef i386 a118 3 elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif d120 1 a120 1 # xen specific mainbus attributes d125 1 a125 1 define vesabiosbus {} d136 1 a136 1 file arch/xen/x86/mainbus.c mainbus a152 1 ifdef i386 a158 1 endif d174 2 a175 2 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d212 1 a212 1 device fdc {drive = -1} #XXX d225 2 a226 4 ifdef i386 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup endif d241 1 a241 1 agp_via d243 1 a243 1 file arch/x86/pci/pchb.c pchb needs-flag d254 1 a254 1 file arch/x86/pci/ichlpcib.c ichlpcib d265 1 a265 1 file arch/xen/x86/cpu.c cpu | vcpu a270 1 ifdef i386 a320 20 elifdef amd64 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif a330 1 ifdef i386 a331 3 elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif d342 1 a342 1 file arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 a353 1 ifdef i386 a354 3 elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.56 log @Get config(1) to supply the default values for BEEP_ONHALT. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.55 2007/02/09 21:55:14 ad Exp $ d119 1 d131 1 a131 1 device mainbus: cpubus, hypervisorbus, bios32, ipmibus d227 1 a227 1 attach ioapic at cpubus @ 1.55 log @Merge newlock2 to head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.54 2006/12/18 20:07:36 gdt Exp $ d25 3 a27 2 defparam opt_beep.h BEEP_ONHALT_COUNT defparam opt_beep.h BEEP_ONHALT_PITCH BEEP_ONHALT_PERIOD @ 1.55.2.1 log @- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.55 2007/02/09 21:55:14 ad Exp $ d25 2 a26 3 defparam opt_beep.h BEEP_ONHALT_COUNT=3 defparam opt_beep.h BEEP_ONHALT_PITCH=1500 defparam opt_beep.h BEEP_ONHALT_PERIOD=250 @ 1.55.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.55.2.1 2007/02/27 16:53:26 yamt Exp $ a118 1 define ioapicbus { [apid = -1] } d130 1 a130 1 device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus d226 1 a226 1 attach ioapic at ioapicbus @ 1.55.2.3 log @adapt xen. @ text @d1 1 a1 1 # $NetBSD$ a43 1 file arch/xen/i386/idle_machdep.c a61 1 file arch/xen/i386/xen_intr.c @ 1.55.2.4 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.55.2.3 2007/03/26 09:51:30 yamt Exp $ a188 1 include "dev/wsfb/files.wsfb" @ 1.55.2.5 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.55.2.4 2007/04/15 16:03:12 yamt Exp $ d58 1 a110 1 file arch/x86/x86/sys_machdep.c @ 1.55.2.6 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.55.2.5 2007/05/07 10:55:06 yamt Exp $ d52 1 @ 1.54 log @Use agp_machdep.c from the new location (x86, not i386). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.53 2006/10/19 16:55:37 drochner Exp $ d61 1 @ 1.53 log @remove relicts of COMPAT_AOUT, fixes compilation problems with old kernel config files reported by Patrick Welche on current-users @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.52 2006/10/17 19:57:24 bouyer Exp $ d193 1 a193 1 file arch/i386/pci/agp_machdep.c agp @ 1.53.4.1 log @Sync w/ NetBSD-4-RC_1 @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.53.2.1 2007/06/10 20:48:44 bouyer Exp $ d50 1 @ 1.53.2.1 log @Pull up following revision(s) (requested by jld in ticket #711): sys/arch/xen/xen/clock.c: revision 1.35 via patch sys/arch/xen/include/types.h: revision 1.5 via patch sys/arch/xen/i386/machdep.c: revision 1.38 via patch sys/arch/xen/conf/files.xen: revision 1.60 via patch sys/arch/xen/include/cpu.h: revision 1.19 via patch Convert the xen port to use timecounters; ok'ed by bouyer@@. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.53 2006/10/19 16:55:37 drochner Exp $ d50 1 @ 1.52 log @XEN_NO_HYPERCALLPAGE is redundant with XEN_COMPAT_030001; make XEN_COMPAT_030001 disable the hypercall page too and remove XEN_NO_HYPERCALLPAGE @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.51 2006/10/17 18:53:04 bouyer Exp $ d266 1 a266 1 file arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout @ 1.51 log @Add ELF_PADDR_OFFSET and VIRT_ENTRY strings to __xen_guest ELF section, so that our kernels works with newer xen-3 hypervisors; and correct the value of VIRT_BASE for dom0. Now that we can embed the values of KERNBASE and KERNTEXTOFF in the binary for Xen, make the domU memory layout the same as dom0 for Xen3 (making it the other way round doens't work; probably because of alignement constraints in the hypervisor). The old domU layout is used if options XEN_COMPAT_030001 is present in the kernel config file. Enable this the domU kernel config files for now, in case someone wants to run a NetBSD domU on an older Xen3 installation. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.50 2006/10/15 14:34:56 xtraeme Exp $ d327 1 a327 1 defflag opt_xen.h DOM0OPS XEN_NO_HYPERCALLPAGE XEN_COMPAT_030001 @ 1.50 log @Enable Bluetooth support and devices (except bt3c that requires pcmcia) for Xen. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.49 2006/10/01 21:36:11 bouyer Exp $ d327 1 a327 1 defflag opt_xen.h DOM0OPS XEN_NO_HYPERCALLPAGE @ 1.49 log @Map the ISA hole on Xen, which allows us to access the SMBios, which allows us to find the IPMI address. Add IPMI support on Xen (commented out for now) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.48 2006/09/28 18:53:15 bouyer Exp $ d311 3 @ 1.48 log @Add Xen3 support for ACPI and/or MPBIOS + IOAPIC. To help with this, physical CPUs are now configured on mainbus only in dom0, and only to know about their APIC id. virtual CPUs are attached to hypervisor as: vcpu* at hypervisor? and this is what's used as curcpu(). The kernel config files needs to be updated for this, see XEN3_DOM0 or XEN3_DOMU for examples. XEN3_DOM0 now has acpi, MPBIOS and ioapic by default. Note that a Xen dom0 kernel doens't have access to the lapic. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.47 2006/09/24 18:14:44 bouyer Exp $ d111 4 d122 1 d128 1 a128 1 device mainbus: cpubus, hypervisorbus d227 5 @ 1.47 log @The Xen folks says everyone should use hypercall call page now, make it so. Old hypercall call method still still available with options XEN_NO_HYPERCALLPAGE but this is disabled by default (xen-3.0.2-2 supports hypercall call page just fine). While there add a VIRT_BASE= string in __xen_guest section; from Bastian Blank on port-xen@@. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.46 2006/08/11 13:22:43 yamt Exp $ d14 3 d128 1 a128 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus d206 1 d208 4 a211 1 file arch/x86/x86/i8259.c acpi d216 6 d238 5 a242 1 file arch/xen/i386/cpu.c cpu @ 1.46 log @"xm shutdown" support for xen3. ok'ed by Manuel Bouyer. @ text @d1 1 a1 1 # $NetBSD$ d297 1 a297 1 defflag opt_xen.h DOM0OPS @ 1.46.2.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.53 2006/10/19 16:55:37 drochner Exp $ a13 3 # options for MP configuration through the MP spec defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI a107 4 # BIOS32 routines define bios32 file arch/xen/i386/bios32.c bios32 needs-flag a114 1 define ipmibus {} d120 1 a120 1 device mainbus: cpubus, hypervisorbus, bios32, ipmibus d125 1 a125 1 device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus a202 1 file arch/x86/x86/mpacpi.c acpi d204 1 a204 4 file arch/x86/x86/i8259.c xen3 # MP configuration using Intel SMP specification 1.4 file arch/x86/x86/mpbios.c mpbios a208 11 file arch/x86/x86/apic.c ioapic device ioapic attach ioapic at cpubus file arch/x86/x86/ioapic.c ioapic needs-flag #IPMI device device ipmi : sysmon_envsys, sysmon_wdog attach ipmi at ipmibus file arch/x86/x86/ipmi.c ipmi needs-flag d225 1 a225 5 device vcpu attach vcpu at xendevbus file arch/xen/i386/cpu.c cpu | vcpu d239 1 a239 1 file arch/i386/i386/compat_13_machdep.c compat_13 a283 3 # Bluetooth include "dev/bluetooth/files.bluetooth" d297 1 a297 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 @ 1.46.2.2 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.54 2006/12/18 20:07:36 gdt Exp $ d193 1 a193 1 file arch/x86/pci/agp_machdep.c agp @ 1.46.2.3 log @xen MD changes. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.46.2.2 2007/01/12 01:01:01 ad Exp $ a60 1 file arch/i386/i386/lock_stubs.S @ 1.46.4.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.46 2006/08/11 13:22:43 yamt Exp $ a13 3 # options for MP configuration through the MP spec defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI a107 4 # BIOS32 routines define bios32 file arch/xen/i386/bios32.c bios32 needs-flag a114 1 define ipmibus {} d120 1 a120 1 device mainbus: cpubus, hypervisorbus, bios32, ipmibus d125 1 a125 1 device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus a202 1 file arch/x86/x86/mpacpi.c acpi d204 1 a204 4 file arch/x86/x86/i8259.c xen3 # MP configuration using Intel SMP specification 1.4 file arch/x86/x86/mpbios.c mpbios a208 11 file arch/x86/x86/apic.c ioapic device ioapic attach ioapic at cpubus file arch/x86/x86/ioapic.c ioapic needs-flag #IPMI device device ipmi : sysmon_envsys, sysmon_wdog attach ipmi at ipmibus file arch/x86/x86/ipmi.c ipmi needs-flag d225 1 a225 5 device vcpu attach vcpu at xendevbus file arch/xen/i386/cpu.c cpu | vcpu d239 1 a239 1 file arch/i386/i386/compat_13_machdep.c compat_13 a283 3 # Bluetooth include "dev/bluetooth/files.bluetooth" d297 1 a297 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 @ 1.46.4.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.46.4.1 2006/10/22 06:05:20 yamt Exp $ d193 1 a193 1 file arch/x86/pci/agp_machdep.c agp @ 1.45 log @implement a simple NETTXF_csum_blank/NETRXF_csum_blank workaround so that we can talk with linux guests at least. just fill checksum field of received packets if the flag is set. maybe should be revisited later. @ text @d128 1 @ 1.45.2.1 log @Pull up following revision(s) (requested by jld in ticket #129): sys/arch/xen/conf/files.xen: revision 1.46 sys/arch/xen/xen/hypervisor.c: revision 1.26 sys/arch/xen/xen/shutdown_xenbus.c: revision 1.1 sys/arch/xen/xenbus/xenbus_probe.c: revision 1.13 sys/arch/xen/include/shutdown_xenbus.h: revision 1.1 "xm shutdown" support for xen3. ok'ed by Manuel Bouyer. @ text @a127 1 file arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 @ 1.44 log @include files.apm @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.43 2006/07/02 16:35:24 bouyer Exp $ d307 1 @ 1.43 log @block device backend driver for Xen3. Add pseudo-device xbdback in your config file to use. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.42 2006/05/25 21:27:40 bouyer Exp $ d198 2 @ 1.42 log @Always include xen_shm_machdep.c for Xen3, theorically a domU could also provide backend services to other domains. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.41 2006/05/23 21:10:42 bouyer Exp $ d153 1 d305 1 @ 1.42.2.1 log @Merge from HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.45 2006/07/12 15:02:15 yamt Exp $ a152 1 defpseudo xbdback a196 2 include "dev/apm/files.apm" a303 2 file arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus file arch/xen/xen/xbdback_xenbus.c xbdback & xen3 @ 1.41 log @Add a network backend driver for Xen3. This will appear as a xvif pseudo device in kernel config files. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.40 2006/04/09 19:28:01 bouyer Exp $ d295 1 a295 1 file arch/xen/i386/xen_shm_machdep.c dom0ops @ 1.40 log @Add support for ACPI in xen-3 dom0 support. We can now boot a xen-3 dom0 kernel with a default xen comamnd line. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.39 2006/04/04 03:13:12 gdamore Exp $ d152 1 d303 1 @ 1.40.2.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.42 2006/05/25 21:27:40 bouyer Exp $ a151 1 defpseudo xvif d294 1 a294 1 file arch/xen/i386/xen_shm_machdep.c dom0ops | xen3 a301 1 file arch/xen/xen/xennetback_xenbus.c xvif & xen3 @ 1.39 log @Convert existing ath users to new Makefile, except for amd64, which needs the rules due to needing to conditionally postprocess the HAL object file. Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default in the atheros include file. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.38 2006/03/19 00:36:09 bouyer Exp $ d25 6 d125 1 a125 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus d194 10 d297 3 a299 1 file arch/xen/xen/pci_machdep.c hypervisor & pci @ 1.38 log @Add a block device frontend driver for Xen-3. xbd at hypervisor now attaches with xbd_hypervisor, adjust CFATTACH_DECL(). @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.37 2006/03/06 22:04:18 bouyer Exp $ a178 3 # Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL) object /athhal-i386-elf.hal.o ath @ 1.37 log @Fix build issues that didn't show up in my private tree. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.36 2006/03/06 20:36:12 bouyer Exp $ d156 6 a161 6 attach xbd at xendevbus file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen @ 1.37.2.1 log @sync with head - hopefully this will work @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.40 2006/04/09 19:28:01 bouyer Exp $ a24 6 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE d119 1 a119 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus d156 6 a161 6 attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag d179 3 a190 10 device fdc {drive = -1} #XXX include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi file arch/x86/x86/acpi_machdep.c acpi file arch/x86/x86/i8259.c acpi file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup d284 1 a284 3 file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 file arch/xen/xen/pci_intr_machdep.c hypervisor & pci @ 1.37.4.1 log @Merge 2006-03-28 NetBSD-current into the "peter-altq" branch. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.38 2006/03/19 00:36:09 bouyer Exp $ d156 6 a161 6 attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag @ 1.37.4.2 log @Merge 2006-05-24 NetBSD-current into the "peter-altq" branch. @ text @d1 1 a1 1 # $NetBSD$ a24 6 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE d119 1 a119 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus a145 1 defpseudo xvif d179 3 a190 10 device fdc {drive = -1} #XXX include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi file arch/x86/x86/acpi_machdep.c acpi file arch/x86/x86/i8259.c acpi file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup d284 1 a284 3 file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 file arch/xen/xen/pci_intr_machdep.c hypervisor & pci a286 1 file arch/xen/xen/xennetback_xenbus.c xvif & xen3 @ 1.36 log @Add a Xen Virtual Network device driver for Xenbus. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.35 2006/03/06 20:34:09 bouyer Exp $ d128 1 a128 1 file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 needs-flag d151 1 a151 1 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus @ 1.35 log @pull in the grant table and Xenbus interfaces, and attach xenbus at hypervisor. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.34 2006/02/12 18:16:01 tron Exp $ d149 4 a152 2 attach xennet at xendevbus file arch/xen/xen/if_xennet.c xennet needs-flag @ 1.34 log @Share Intel hardware random number generator support between amd64 and i386 port. This will benefit EM64T systems using Intel i9xx chipsets. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.33 2006/01/15 22:09:51 bouyer Exp $ d59 2 d123 9 @ 1.34.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.34 2006/02/12 18:16:01 tron Exp $ a58 2 file arch/xen/xen/xengnt.c xen3 a120 9 # Xenbus (xen3 only) device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag d138 2 a139 4 attach xennet at xendevbus with xennet_hypervisor attach xennet at xenbus with xennet_xenbus file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag @ 1.34.2.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.34.2.1 2006/03/13 09:07:03 yamt Exp $ d156 6 a161 6 attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag @ 1.34.2.3 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.34.2.2 2006/04/01 12:06:35 yamt Exp $ a24 6 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE d119 1 a119 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus d179 3 a190 10 device fdc {drive = -1} #XXX include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi file arch/x86/x86/acpi_machdep.c acpi file arch/x86/x86/i8259.c acpi file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup d284 1 a284 3 file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 file arch/xen/xen/pci_intr_machdep.c hypervisor & pci @ 1.34.2.4 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.34.2.3 2006/04/11 11:53:47 yamt Exp $ a151 1 defpseudo xvif a301 1 file arch/xen/xen/xennetback_xenbus.c xvif & xen3 @ 1.34.2.5 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.34.2.4 2006/05/24 10:57:19 yamt Exp $ d295 1 a295 1 file arch/xen/i386/xen_shm_machdep.c dom0ops | xen3 @ 1.34.2.6 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.34.2.5 2006/06/26 12:45:40 yamt Exp $ a127 1 file arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 a152 1 defpseudo xbdback a196 2 include "dev/apm/files.apm" a303 2 file arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus file arch/xen/xen/xbdback_xenbus.c xbdback & xen3 @ 1.33 log @Snapshot of work in progress on NetBSD port to Xen3: - kernel (both dom0 and domU) boot, console is functionnal and it can starts software from a ramdisk - there is no driver front-end expect console for domU yet. - dom0 can probe devices and ex(4) work when Xen3 is booted without acpi and apic support. But the on-board IDE doens't get interrupts. The PCI code still needs work (it's hardcoded to mode 1). Some of this code should be shared with ../x86 The physical insterrupt code needs to get MPBIOS and ACPI support, and do interrupt routing to properly interract with Xen. To enable Xen-3.0 support, add options XEN3 to your kernel config file (this will disable Xen2 support) Changes affecting Xen-2.0 support (no functionnal changes intended): - get more constants from genassym for assembly code - remove some unneeded registers move from start() - map the shared info page from start(), and remove the pte = 0xffffffff hack - vector.S: in hypervisor_callback() make sure %esi points to HYPERVISOR_shared_info before accessing the info page. Remplace some hand-written assembly with the equivalent macro defined in frameasm.h - more debug code, dissabled by default. while here added my copyright on some files I worked on in 2005. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.32 2005/12/30 13:37:57 jmmv Exp $ d183 1 a183 1 file arch/i386/pci/pchb_rnd.c pchb & rnd @ 1.33.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.46 2006/08/11 13:22:43 yamt Exp $ a24 6 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE a58 2 file arch/xen/xen/xengnt.c xen3 d117 1 a117 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus a119 10 file arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 # Xenbus (xen3 only) device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag a134 2 defpseudo xvif defpseudo xbdback d138 2 a139 4 attach xennet at xendevbus with xennet_hypervisor attach xennet at xenbus with xennet_xenbus file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d143 6 a148 6 attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag d166 3 a177 12 device fdc {drive = -1} #XXX include "dev/apm/files.apm" include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi file arch/x86/x86/acpi_machdep.c acpi file arch/x86/x86/i8259.c acpi file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup d183 1 a183 1 file arch/x86/pci/pchb_rnd.c pchb & rnd d268 1 a268 1 file arch/xen/i386/xen_shm_machdep.c dom0ops | xen3 d271 1 a271 3 file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 file arch/xen/xen/pci_intr_machdep.c hypervisor & pci a273 3 file arch/xen/xen/xennetback_xenbus.c xvif & xen3 file arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus file arch/xen/xen/xbdback_xenbus.c xbdback & xen3 @ 1.33.4.1 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.40 2006/04/09 19:28:01 bouyer Exp $ a24 6 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE a58 2 file arch/xen/xen/xengnt.c xen3 d117 1 a117 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus a120 9 # Xenbus (xen3 only) device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag d138 2 a139 4 attach xennet at xendevbus with xennet_hypervisor attach xennet at xenbus with xennet_xenbus file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d143 6 a148 6 attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag d166 3 a177 10 device fdc {drive = -1} #XXX include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi file arch/x86/x86/acpi_machdep.c acpi file arch/x86/x86/i8259.c acpi file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup d183 1 a183 1 file arch/x86/pci/pchb_rnd.c pchb & rnd d271 1 a271 3 file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 file arch/xen/xen/pci_intr_machdep.c hypervisor & pci @ 1.33.4.2 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.33.4.1 2006/04/22 11:38:09 simonb Exp $ a151 1 defpseudo xvif d294 1 a294 1 file arch/xen/i386/xen_shm_machdep.c dom0ops | xen3 a301 1 file arch/xen/xen/xennetback_xenbus.c xvif & xen3 @ 1.32 log @Add a 'struct bootinfo' to represent the bootinfo structure used in the kernel by x86 platforms (instead of a simple char *). This way, the code in, e.g., lookup_bootinfo, is a bit easier to understand. While here, move the lookup_bootinfo function used in x86 platforms (amd64, i386 and xen) to a common file (x86/x86_machdep.c), as it was exactly the same in all of them. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.31 2005/11/21 22:15:13 bouyer Exp $ d57 1 a57 1 file arch/xen/xen/ctrl_if.c d62 1 a62 1 file arch/i386/i386/ipifuncs.c multiprocessor d64 1 a64 1 file arch/i386/i386/pmc.c perfctrs d269 2 a270 2 file arch/xen/xen/xbdback.c dom0ops file arch/xen/xen/xennetback.c dom0ops @ 1.32.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.32 2005/12/30 13:37:57 jmmv Exp $ d57 1 a57 1 file arch/xen/xen/ctrl_if.c !xen3 d62 1 a62 1 file arch/i386/i386/ipifuncs.c multiprocessor d64 1 a64 1 file arch/i386/i386/pmc.c perfctrs d269 2 a270 2 file arch/xen/xen/xbdback.c dom0ops & !xen3 file arch/xen/xen/xennetback.c dom0ops & !xen3 @ 1.32.2.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.32.2.1 2006/02/01 14:51:42 yamt Exp $ d183 1 a183 1 file arch/x86/pci/pchb_rnd.c pchb & rnd @ 1.31 log @Sync with i386/conf/GENERIC: - add a buch of PCI storage devices - add firewire devices - add some missing PCI network devices - add serial and parallel PCI adapters - add lpt0 at isa - add com1 at isa com0 not added for the benefit of serial console users (it will conflicts with the Xen kernel). XXX this means that setups with serial console on com1 will now break with the default kernel. Use userconf(4) (add -c to kernel command line) or change your setup to com0 instead (most bios allows arbitrary mappings of com ports) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.30 2005/11/07 11:42:34 yamt Exp $ d96 1 @ 1.30 log @some assym cleanup. - move copyin and friends from locore.S to their own file, copy.S. share it between i386 and xen. - defparam KERNBASE and kill KERNBASE_LOCORE hack. - add more symbols to assym.h and use it where appropriate. @ text @d1 1 a1 1 # $NetBSD$ d173 1 a173 3 # # Machine-independent USB drivers # d175 1 a175 1 include "dev/usb/files.usb" @ 1.30.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.30 2005/11/07 11:42:34 yamt Exp $ d173 4 a178 2 include "dev/ieee1394/files.ieee1394" @ 1.29 log @Define a xendevbus atttibute and add it to hypervisor. Use it for xen devices which attach to hypervisor. This allows to use config_found_ia() instead of config_found(), instead of relying on the order of which device are written in ioconf.c. From Quentin Garnier. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.28 2005/08/20 19:30:37 bouyer Exp $ d9 2 @ 1.28 log @Deal with the machine address space being non-contigous in bus_dmamem_alloc(): - Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to find the upper bound for our machine address space (and this can change when we swap pages with the hypervisor). - implement _xen_bus_dmamem_alloc_range(), which will request a contigous set of pages to the hypervisor if the pages returned by uvm_pglistalloc() don't fit the constraints. We can't deal with the low/high constraints yet, because Xen doesn't offer a way to get pages in a specific ranges of addresses. Based on patches from Dave Thompson (in private mail), with heavy hacking by me. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.27 2005/08/19 16:06:12 bouyer Exp $ d103 1 d114 1 a114 1 device hypervisor { }: isabus, pcibus, sysmon_power d122 1 a122 1 attach npx at hypervisor with npx_hv d127 1 a127 1 attach xencons at hypervisor d135 1 a135 1 attach xennet at hypervisor d140 1 a140 1 attach xbd at hypervisor @ 1.27 log @Make PCI devices usable for non-domain0 kernels. Based on patches sent by Ceri Storey to port-xen, with some additionnal changes by me: - include bus_dma.c, bus_space.c and pci_machdep.c if pci is defined instead of dom0ops - Make various initialisations, and probe/attach pci busses based on NPCI instead of DOM0OPS - in conf/files.xen, move xen-specific devices before non-xen specific devices so that the xen-specific match function is called first, to avoid false attachement from too liberal match function in non-xen code. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.26 2005/07/15 07:56:22 yamt Exp $ d86 1 @ 1.26 log @include cardbus/pcmcia. XXX 32bit cards don't work due to the way how xen handles pci configuration space. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25 2005/06/25 23:09:54 dyoung Exp $ d85 2 a86 2 file arch/x86/x86/bus_dma.c dom0ops file arch/xen/x86/bus_space.c dom0ops d131 16 a261 16 # Xen devices # Network driver device xennet: arp, ether, ifnet attach xennet at hypervisor file arch/xen/xen/if_xennet.c xennet needs-flag # Block device driver and wd/sd/cd identities device xbd: disk attach xbd at hypervisor file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen d268 1 a268 1 file arch/xen/xen/pci_machdep.c hypervisor & dom0ops @ 1.25 log @Don't include files.ath any more, it's disappeared. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.24 2005/06/22 06:14:51 dyoung Exp $ d234 12 @ 1.25.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25 2005/06/25 23:09:54 dyoung Exp $ a8 2 defparam opt_kernbase.h KERNBASE a22 6 # PCI fixup options defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP PCI_INTR_FIXUP PCI_INTR_FIXUP_FORCE defparam PCI_CONF_MODE d55 1 a55 3 file arch/xen/xen/ctrl_if.c !xen3 file arch/xen/xen/xengnt.c xen3 d60 1 a60 1 file arch/i386/i386/ipifuncs.c multiprocessor d62 1 a62 1 file arch/i386/i386/pmc.c perfctrs d85 2 a86 3 file arch/x86/x86/bus_dma.c pci file arch/xen/x86/xen_bus_dma.c pci file arch/xen/x86/bus_space.c pci a92 1 file arch/x86/x86/x86_machdep.c a101 1 define xendevbus {} d112 1 a112 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus, acpibus a115 9 # Xenbus (xen3 only) device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag d120 1 a120 1 attach npx at xendevbus with npx_hv d125 1 a125 1 attach xencons at xendevbus a129 19 defpseudo xvif # Xen Network driver device xennet: arp, ether, ifnet attach xennet at xendevbus with xennet_hypervisor attach xennet at xenbus with xennet_xenbus file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag # Xen Block device driver and wd/sd/cd identities device xbd: disk attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag # Non-Xen specific devices and options d145 3 d153 4 a158 12 include "dev/ieee1394/files.ieee1394" device fdc {drive = -1} #XXX include "dev/acpi/files.acpi" file arch/xen/xen/xen_acpi_machdep.c acpi file arch/x86/x86/acpi_machdep.c acpi file arch/x86/x86/i8259.c acpi file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup d164 1 a164 1 file arch/x86/pci/pchb_rnd.c pchb & rnd d234 11 a244 5 # # CARDBUS # include "dev/cardbus/files.cardbus" file arch/i386/i386/rbus_machdep.c cardbus d246 3 a248 5 # this wants to be probed as late as possible. # # Machine-independent PCMCIA drivers # include "dev/pcmcia/files.pcmcia" d253 4 a256 6 file arch/xen/i386/xen_shm_machdep.c dom0ops | xen3 file arch/xen/xen/xbdback.c dom0ops & !xen3 file arch/xen/xen/xennetback.c dom0ops & !xen3 file arch/xen/xen/pci_machdep.c hypervisor & pci & !xen3 file arch/x86/pci/pci_machdep.c hypervisor & pci & xen3 file arch/xen/xen/pci_intr_machdep.c hypervisor & pci a258 1 file arch/xen/xen/xennetback_xenbus.c xvif & xen3 @ 1.25.2.2 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.1 2006/06/21 14:58:06 yamt Exp $ a13 3 # options for MP configuration through the MP spec defflag opt_mpbios.h MPBIOS MPVERBOSE MPDEBUG MPBIOS_SCANPCI a107 4 # BIOS32 routines define bios32 file arch/xen/i386/bios32.c bios32 needs-flag a114 1 define ipmibus {} d120 1 a120 1 device mainbus: cpubus, hypervisorbus, bios32, ipmibus d125 1 a125 1 device hypervisor { [apid = -1]}: isabus, pcibus, sysmon_power, xendevbus, acpibus a127 1 file arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 a152 1 defpseudo xbdback d183 1 a183 1 file arch/x86/pci/agp_machdep.c agp a196 2 include "dev/apm/files.apm" a198 1 file arch/x86/x86/mpacpi.c acpi d200 1 a200 4 file arch/x86/x86/i8259.c xen3 # MP configuration using Intel SMP specification 1.4 file arch/x86/x86/mpbios.c mpbios a204 11 file arch/x86/x86/apic.c ioapic device ioapic attach ioapic at cpubus file arch/x86/x86/ioapic.c ioapic needs-flag #IPMI device device ipmi : sysmon_envsys, sysmon_wdog attach ipmi at ipmibus file arch/x86/x86/ipmi.c ipmi needs-flag d221 1 a221 5 device vcpu attach vcpu at xendevbus file arch/xen/i386/cpu.c cpu | vcpu d235 1 a235 1 file arch/i386/i386/compat_13_machdep.c compat_13 a279 3 # Bluetooth include "dev/bluetooth/files.bluetooth" d293 1 a293 1 defflag opt_xen.h DOM0OPS XEN_COMPAT_030001 a303 2 file arch/xen/xen/xennet_checksum.c (xvif & xen3) | xennet_xenbus file arch/xen/xen/xbdback_xenbus.c xbdback & xen3 @ 1.25.2.3 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.2 2006/12/30 20:47:24 yamt Exp $ d25 2 a26 3 defparam opt_beep.h BEEP_ONHALT_COUNT=3 defparam opt_beep.h BEEP_ONHALT_PITCH=1500 defparam opt_beep.h BEEP_ONHALT_PERIOD=250 a60 1 file arch/i386/i386/lock_stubs.S @ 1.25.2.4 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.3 2007/02/26 09:08:52 yamt Exp $ a43 1 file arch/xen/i386/idle_machdep.c d51 1 d53 1 d57 1 a61 1 file arch/xen/i386/xen_intr.c a108 1 file arch/x86/x86/sys_machdep.c a118 1 define ioapicbus { [apid = -1] } d130 1 a130 1 device mainbus: cpubus, ioapicbus, hypervisorbus, bios32, ipmibus a185 1 include "dev/wsfb/files.wsfb" d226 1 a226 1 attach ioapic at ioapicbus d242 3 a244 9 device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib | ichlpcib # PCI-LPC bridges device ichlpcib: isabus, sysmon_wdog attach ichlpcib at pci file arch/i386/pci/ichlpcib.c ichlpcib @ 1.25.2.5 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.4 2007/09/03 14:31:30 yamt Exp $ a35 2 file arch/i386/i386/busfunc.S file arch/i386/i386/cpufunc.S a51 1 file arch/x86/x86/mtrr_i686.c mtrr a60 1 file arch/xen/i386/xenfunc.c d101 1 a101 1 file arch/x86/x86/bus_space.c pci d240 1 a240 1 file arch/x86/pci/pchb.c pchb needs-flag d251 1 a251 1 file arch/x86/pci/ichlpcib.c ichlpcib @ 1.25.2.6 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.5 2007/10/27 11:29:05 yamt Exp $ a4 2 version 20071109 d11 3 d30 1 a30 1 defflag opt_pcifixup.h PCI_ADDR_FIXUP PCI_BUS_FIXUP d33 1 a33 1 defparam PCI_CONF_MODE d35 1 a35 2 file arch/xen/x86/autoconf.c ifdef i386 d43 1 d45 2 d51 1 a51 1 file arch/i386/i386/identcpu.c d54 1 d60 1 a60 1 file arch/i386/i386/trap.c d62 3 a64 1 file arch/xen/i386/xpmap.c a66 49 file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish elifdef amd64 file arch/amd64/amd64/busfunc.S dom0ops file arch/amd64/amd64/cpufunc.S file arch/amd64/amd64/db_disasm.c ddb file arch/amd64/amd64/db_interface.c ddb file arch/amd64/amd64/db_memrw.c ddb | kgdb file arch/amd64/amd64/db_trace.c ddb file arch/amd64/amd64/kgdb_machdep.c kgdb file arch/amd64/amd64/gdt.c file arch/amd64/amd64/machdep.c file arch/amd64/amd64/identcpu.c file arch/amd64/amd64/math_emulate.c math_emulate file arch/amd64/amd64/mem.c file arch/x86/x86/pmap.c file arch/amd64/amd64/process_machdep.c file arch/amd64/amd64/procfs_machdep.c procfs file arch/amd64/amd64/syscall.c file arch/amd64/amd64/trap.c file arch/amd64/amd64/vm_machdep.c file arch/amd64/amd64/fpu.c file arch/amd64/amd64/lock_stubs.S file arch/amd64/amd64/mptramp.S multiprocessor file arch/amd64/amd64/ipifuncs.c multiprocessor # # XXXfvdl write the optimized versions for these. # file netinet/in_cksum.c inet file netinet/in4_cksum.c inet endif file kern/subr_disk_mbr.c disk file arch/xen/x86/hypervisor_machdep.c file arch/xen/x86/idle_machdep.c # file arch/x86/x86/mtrr_i686.c mtrr file arch/xen/x86/x86_xpmap.c file arch/xen/x86/xen_intr.c file arch/xen/x86/xenfunc.c file arch/xen/xen/xen_machdep.c d77 10 d110 2 d118 1 a118 2 define bios32 ifdef i386 a119 3 elifdef amd64 file arch/amd64/amd64/bios32.c bios32 needs-flag endif d121 1 a121 1 # xen specific mainbus attributes d126 1 a126 1 define vesabiosbus {} d137 1 a137 1 file arch/xen/x86/mainbus.c mainbus a153 1 ifdef i386 a159 1 endif d175 2 a176 2 file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d213 1 a213 1 device fdc {drive = -1} #XXX d226 2 a227 4 ifdef i386 file arch/i386/pci/pci_bus_fixup.c pci_bus_fixup file arch/i386/pci/pci_addr_fixup.c pci_addr_fixup endif d242 1 a242 1 agp_via d266 1 a266 1 file arch/xen/x86/cpu.c cpu | vcpu a271 1 ifdef i386 a321 20 elifdef amd64 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32) include "compat/netbsd32/files.netbsd32" file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32 # Linux compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/amd64/files.linux_amd64" file arch/amd64/amd64/linux_sigcode.S compat_linux file arch/amd64/amd64/linux_syscall.c compat_linux file arch/x86/x86/linux_trap.c compat_linux # Linux 32 bit compatibility (COMPAT_LINUX32) include "compat/linux32/files.linux32" include "compat/linux32/arch/amd64/files.linux32_amd64" file arch/amd64/amd64/linux32_sigcode.S compat_linux32 file arch/amd64/amd64/linux32_syscall.c compat_linux32 endif a331 1 ifdef i386 a332 3 elifdef amd64 file arch/amd64/amd64/rbus_machdep.c cardbus endif d343 1 a343 1 file arch/xen/x86/xen_shm_machdep.c dom0ops | xen3 a354 1 ifdef i386 a355 3 elifdef amd64 include "arch/amd64/conf/majors.amd64" endif @ 1.25.2.7 log @sync with head @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.6 2007/12/07 17:27:04 yamt Exp $ d43 1 a43 2 file arch/i386/i386/dumpsys.c file arch/i386/i386/gdt.c d47 1 a47 1 file arch/i386/i386/machdep.c d49 1 a49 1 file arch/x86/x86/x86_identcpu.c d52 1 a52 1 file arch/x86/x86/pmap.c d58 1 d82 1 a82 1 file arch/x86/x86/x86_identcpu.c d151 1 a151 1 file arch/i386/i386/bios32.c bios32 needs-flag d153 1 a153 1 file arch/amd64/amd64/bios32.c bios32 needs-flag d192 1 a192 1 file arch/i386/isa/npx.c npx needs-flag @ 1.25.2.8 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.7 2008/01/21 09:40:20 yamt Exp $ a37 1 file arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum d45 1 a47 1 file arch/i386/i386/kobj_machdep.c modular a73 1 file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum a78 1 file arch/amd64/amd64/kobj_machdep.c modular d94 5 @ 1.25.2.9 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.25.2.8 2008/02/04 09:22:54 yamt Exp $ a51 1 file arch/i386/i386/longrun.c d224 4 @ 1.24 log @Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) from FreeBSD. Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch], sys/net80211/ieee80211_netbsd.[ch]). Update drivers (an, atu, atw, awi, ipw, iwi, rtw, wi) for the new net80211(9) API. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.23 2005/06/19 20:22:26 chs Exp $ a145 1 include "dev/pci/files.ath" @ 1.23 log @add ath stuff. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.22 2005/05/16 12:05:50 yamt Exp $ d147 1 a147 1 object /athhal-elf.o ath @ 1.22 log @arch/i386/i386/linux_trap.c -> arch/x86/x86/linux_trap.c @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.21 2005/04/18 21:33:21 bouyer Exp $ d144 5 @ 1.21 log @Add sysmon_power attribute to hypervisor, and an handler for CMSG_SHUTDOWN messages. Now a NetBSD guest will reboot or shutdown on 'xm shutdown' commands in domain0. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.20 2005/04/17 14:44:14 bouyer Exp $ d216 1 a216 1 file arch/i386/i386/linux_trap.c compat_linux @ 1.20 log @Remove xenkbc at hypervisor vga at hypervisor they have been obsoleted by PCI and ISA support, and don't compile any more. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.19 2005/04/16 07:53:35 yamt Exp $ d112 1 a112 1 device hypervisor { }: isabus, pcibus @ 1.19 log @tweak x86 bus_dma code so that it can be used by xen port. - distinguish paddr_t and bus_addr_t. for xen, use bus_addr_t in the sense of machine address. - move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h. - remove special handling of xen_shm. we can always grab machine address from pte. @ text @d1 1 a1 1 # $NetBSD$ a245 9 # Keyboard device xenkbc: pckbport attach xenkbc at hypervisor file arch/xen/xen/xenkbc.c xenkbc needs-flag # Generic VGA attach vga at hypervisor with vga_xen file arch/xen/xen/vga_xen.c vga_xen needs-flag @ 1.18 log @Define xen devices in i386/conf/majors.i386. This makes sure there won't be conflics with regular i386 kernels. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.17 2005/03/09 22:39:20 bouyer Exp $ d85 2 a86 2 file arch/xen/x86/bus_dma.c file arch/xen/x86/bus_space.c @ 1.18.2.1 log @Pull up revision 1.19 (requested by yamt in ticket #175): tweak x86 bus_dma code so that it can be used by xen port. - distinguish paddr_t and bus_addr_t. for xen, use bus_addr_t in the sense of machine address. - move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h. - remove special handling of xen_shm. we can always grab machine address from pte. @ text @d1 1 a1 1 # $NetBSD$ d85 2 a86 2 file arch/x86/x86/bus_dma.c dom0ops file arch/xen/x86/bus_space.c dom0ops @ 1.18.2.2 log @Pull up revision 1.20 (requested by bouyer in ticket #186): Remove xenkbc at hypervisor vga at hypervisor they have been obsoleted by PCI and ISA support, and don't compile any more. @ text @d246 9 @ 1.18.2.3 log @Pull up revision 1.21 (requested by bouyer in ticket #190): Add sysmon_power attribute to hypervisor, and an handler for CMSG_SHUTDOWN messages. Now a NetBSD guest will reboot or shutdown on 'xm shutdown' commands in domain0. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.18.2.2 2005/04/25 13:41:30 tron Exp $ d112 1 a112 1 device hypervisor { }: isabus, pcibus, sysmon_power @ 1.18.2.4 log @Pull up revision 1.26 (requested by yamt in ticket #675): include cardbus/pcmcia. XXX 32bit cards don't work due to the way how xen handles pci configuration space. @ text @d1 1 a1 1 # $NetBSD$ a229 12 # # CARDBUS # include "dev/cardbus/files.cardbus" file arch/i386/i386/rbus_machdep.c cardbus # this wants to be probed as late as possible. # # Machine-independent PCMCIA drivers # include "dev/pcmcia/files.pcmcia" @ 1.18.2.5 log @Pull up following revision(s) (requested by bouyer in ticket #694): sys/arch/xen/xen/hypervisor.c: revision 1.15 sys/arch/xen/xen/evtchn.c: revision 1.16 sys/arch/xen/conf/files.xen: revision 1.27 sys/arch/xen/i386/machdep.c: revision 1.18 Make PCI devices usable for non-domain0 kernels. Based on patches sent by Ceri Storey to port-xen, with some additionnal changes by me: - include bus_dma.c, bus_space.c and pci_machdep.c if pci is defined instead of dom0ops - Make various initialisations, and probe/attach pci busses based on NPCI instead of DOM0OPS - in conf/files.xen, move xen-specific devices before non-xen specific devices so that the xen-specific match function is called first, to avoid false attachement from too liberal match function in non-xen code. @ text @d85 2 a86 2 file arch/x86/x86/bus_dma.c pci file arch/xen/x86/bus_space.c pci a130 16 # Xen Network driver device xennet: arp, ether, ifnet attach xennet at hypervisor file arch/xen/xen/if_xennet.c xennet needs-flag # Xen Block device driver and wd/sd/cd identities device xbd: disk attach xbd at hypervisor file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen # Non-Xen specific devices and options d242 16 d264 1 a264 1 file arch/xen/xen/pci_machdep.c hypervisor & pci @ 1.18.2.6 log @Pull up following revision(s) (requested by bouyer in ticket #696): sys/arch/xen/x86/xen_bus_dma.c: revision 1.1 sys/arch/xen/include/bus_private.h: revision 1.2 sys/arch/xen/conf/files.xen: revision 1.28 Deal with the machine address space being non-contigous in bus_dmamem_alloc(): - Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to find the upper bound for our machine address space (and this can change when we swap pages with the hypervisor). - implement _xen_bus_dmamem_alloc_range(), which will request a contigous set of pages to the hypervisor if the pages returned by uvm_pglistalloc() don't fit the constraints. We can't deal with the low/high constraints yet, because Xen doesn't offer a way to get pages in a specific ranges of addresses. Based on patches from Dave Thompson (in private mail), with heavy hacking by me. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.18.2.5 2005/08/25 20:16:21 tron Exp $ a85 1 file arch/xen/x86/xen_bus_dma.c pci @ 1.18.2.7 log @Pull up following revision(s) (requested by bouyer in ticket #1083): sys/arch/xen/xen/hypervisor.c: revision 1.16 sys/arch/xen/xen/if_xennet.c: revision 1.31 sys/arch/xen/conf/files.xen: revision 1.29 sys/arch/xen/xen/xbd.c: revision 1.22 Define a xendevbus atttibute and add it to hypervisor. Use it for xen devices which attach to hypervisor. This allows to use config_found_ia() instead of config_found(), instead of relying on the order of which device are written in ioconf.c. From Quentin Garnier. @ text @d1 1 a1 1 # $NetBSD$ a102 1 define xendevbus {} d113 1 a113 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus d121 1 a121 1 attach npx at xendevbus with npx_hv d126 1 a126 1 attach xencons at xendevbus d134 1 a134 1 attach xennet at xendevbus d139 1 a139 1 attach xbd at xendevbus @ 1.18.2.8 log @Apply patch (requested by bouyer in ticket #1231): Add support for ath at pci for XEN domain0. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.18.2.7 2006/01/05 05:28:11 riz Exp $ a161 5 # Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL) include "dev/pci/files.ath" object /athhal-elf.o ath @ 1.18.2.9 log @Apply patch (requested by bouyer in ticket #1245): Pull up Xen3 domU support. This adds support for the Xen-3 memory bootstrap, xenstore, and block and network device frontend. Xen-3 support is turned on by 'options XEN3', which disable Xen-2 support. Changes affecting non-xen3 specific code: - xbd and xennet at hypervisor now attaches with xbd_hypervisor and xennet_hypervisor - x86_atomic_* renamed to xen_atomic_* - use genassim.cf to pull in more constant from include files for assembly - Map the shared info page from locore.S instead of the 0xffffffff hack in xen_machdep.c - remove some unused code - some __asm__ __volatile__ -> __asm volatile and __inline__ -> inline - more debug code @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.18.2.8 2006/03/29 21:18:29 tron Exp $ d55 1 a55 3 file arch/xen/xen/ctrl_if.c !xen3 file arch/xen/xen/xengnt.c xen3 d60 1 a60 1 file arch/i386/i386/ipifuncs.c multiprocessor d62 1 a62 1 file arch/i386/i386/pmc.c perfctrs a117 9 # Xenbus (xen3 only) device xenbus {[id = -1]} attach xenbus at xendevbus file arch/xen/xenbus/xenbus_client.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_comms.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_dev.c xenbus & xen3 & dom0ops needs-flag file arch/xen/xenbus/xenbus_probe.c xenbus & xen3 needs-flag file arch/xen/xenbus/xenbus_xs.c xenbus & xen3 needs-flag d135 2 a136 4 attach xennet at xendevbus with xennet_hypervisor attach xennet at xenbus with xennet_xenbus file arch/xen/xen/if_xennet_xenbus.c xennet_xenbus needs-flag file arch/xen/xen/if_xennet.c xennet_hypervisor needs-flag d140 6 a145 6 attach xbd at xendevbus with xbd_hypervisor attach xbd at xenbus with xbd_xenbus #file arch/xen/xen/xbd_hypervisor.c xbd_hypervisor file arch/xen/xen/xbd_xenbus.c xbd_xenbus #file arch/xen/xen/xbd.c xbd | xbd_hypervisor | xbd_xenbus needs-flag file arch/xen/xen/xbd.c xbd_hypervisor needs-flag d269 2 a270 2 file arch/xen/xen/xbdback.c dom0ops & !xen3 file arch/xen/xen/xennetback.c dom0ops & !xen3 @ 1.18.2.10 log @Pull up following revision(s) (requested by bouyer in ticket #1311): sys/arch/xen/conf/files.xen: revision 1.31 via patch sys/arch/i386/conf/XEN0: revision 1.18 via patch Sync with i386/conf/GENERIC: - add a buch of PCI storage devices - add firewire devices - add some missing PCI network devices - add serial and parallel PCI adapters - add lpt0 at isa - add com1 at isa com0 not added for the benefit of serial console users (it will conflicts with the Xen kernel). XXX this means that setups with serial console on com1 will now break with the default kernel. Use userconf(4) (add -c to kernel command line) or change your setup to com0 instead (most bios allows arbitrary mappings of com ports) @ text @d1 1 a1 1 # $NetBSD$ d185 4 a190 2 include "dev/ieee1394/files.ieee1394" @ 1.18.2.11 log @Pull up following revision(s) (requested by jld in ticket #1499): sys/arch/xen/conf/files.xen: revision 1.46 sys/arch/xen/xen/hypervisor.c: revision 1.26 sys/arch/xen/xen/shutdown_xenbus.c: revision 1.1 sys/arch/xen/xenbus/xenbus_probe.c: revision 1.13 sys/arch/xen/include/shutdown_xenbus.h: revision 1.1 "xm shutdown" support for xen3. ok'ed by Manuel Bouyer. @ text @a118 1 file arch/xen/xen/shutdown_xenbus.c hypervisor & xen3 @ 1.18.2.12 log @Pull up following revision(s) (requested by bouyer in ticket #1622): sys/arch/xen/conf/files.xen: revision 1.49 via patch sys/arch/xen/i386/autoconf.c: revision 1.19 via patch sys/arch/xen/conf/files.compat: revision 1.13 via patch sys/arch/xen/i386/mainbus.c: revision 1.10 via patch sys/arch/xen/i386/bios32.c: revision 1.1 via patch sys/arch/i386/conf/XEN2_DOM0: revision 1.9 via patch sys/arch/xen/i386/locore.S: revision 1.19 via patch Map the ISA hole on Xen, which allows us to access the SMBios, which allows us to find the IPMI address. Add IPMI support on Xen (commented out for now) @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.18.2.11 2006/09/08 10:27:35 ghen Exp $ a98 4 # BIOS32 routines define bios32 file arch/xen/i386/bios32.c bios32 needs-flag a105 1 define ipmibus {} d111 1 a111 1 device mainbus: cpubus, hypervisorbus, bios32, ipmibus a189 5 #IPMI device device ipmi : sysmon_envsys, sysmon_wdog attach ipmi at ipmibus file arch/x86/x86/ipmi.c ipmi needs-flag @ 1.17 log @Merge the bouyer-xen2 branch. This add supports for the Xen 2.0 virtual machine kernel (both privileged and non-privileged domains), and remove support for the old xen 1.2. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.10 2005/03/08 14:05:01 bouyer Exp $ d265 1 a265 1 include "arch/xen/conf/majors.i386" @ 1.16 log @vfr.c is still needed on the trunk or GENERIC doesn't compile... @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.15 2005/02/03 21:38:59 bouyer Exp $ d54 2 a55 1 file arch/xen/xen/events.c d74 1 a74 1 #xxx include "dev/scsipi/files.scsipi" d80 1 a80 1 #xxx include "dev/ata/files.ata" d85 1 a85 1 file arch/x86/x86/bus_dma.c d100 1 a100 1 define vesabiosbus {} d107 1 a107 3 device mainbus: isabus, eisabus, mcabus, pcibus, acpibus, cpubus, apmbus, pnpbiosbus, vesabiosbus, hypervisorbus d112 2 a113 2 device hypervisor { } attach hypervisor at hypervisorbus d128 3 d136 31 d240 1 a240 7 file arch/xen/xen/xbd.c xbd | wd | sd | cd needs-flag device wd: disk attach wd at hypervisor device sd: disk attach sd at hypervisor d242 3 a244 2 device cd: disk attach cd at hypervisor a256 1 file arch/xen/xen/machmem.c dom0ops d258 6 a263 1 file arch/xen/xen/vfr.c dom0ops @ 1.15 log @vfr.c doesn't exists any more. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14 2004/09/14 16:51:58 jdolecek Exp $ d231 1 @ 1.14 log @do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.13 2004/08/30 15:05:19 drochner Exp $ a230 1 file arch/xen/xen/vfr.c dom0ops @ 1.14.6.1 log @sync with -current @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.21 2005/04/18 21:33:21 bouyer Exp $ d54 1 a54 2 file arch/xen/xen/evtchn.c file arch/xen/xen/ctrl_if.c d73 1 a73 1 include "dev/scsipi/files.scsipi" d79 1 a79 1 include "dev/ata/files.ata" d84 2 a85 2 file arch/x86/x86/bus_dma.c dom0ops file arch/xen/x86/bus_space.c dom0ops d99 1 a99 1 define vesabiosbus {} d106 3 a108 1 device mainbus: cpubus, hypervisorbus d113 2 a114 2 device hypervisor { }: isabus, pcibus, sysmon_power attach hypervisor at hypervisorbus a128 3 # Xen event peudo-device defpseudo xenevt a133 31 # # Machine-independent PCI devices # include "dev/i2o/files.i2o" include "dev/pci/files.pci" include "dev/pci/files.agp" file arch/i386/pci/agp_machdep.c agp file arch/xen/xen/pciide_machdep.c pciide_common # # Machine-independent ISA devices # include "dev/isa/files.isa" # # Machine-independent USB drivers # include "dev/usb/files.usb" # PCI-Host bridge chipsets device pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis, agp_via attach pchb at pci file arch/i386/pci/pchb.c pchb needs-flag file arch/i386/pci/pchb_rnd.c pchb & rnd # PCI-ISA bridges device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib d207 15 a221 1 file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag d223 3 a225 3 #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen d229 1 d231 1 a231 6 file arch/xen/i386/xen_shm_machdep.c dom0ops file arch/xen/xen/xbdback.c dom0ops file arch/xen/xen/xennetback.c dom0ops file arch/xen/xen/pci_machdep.c hypervisor & dom0ops file arch/xen/xen/isa_machdep.c hypervisor & dom0ops file arch/xen/xen/xenevt.c xenevt & dom0ops d233 1 a233 1 include "arch/i386/conf/majors.i386" @ 1.14.8.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14 2004/09/14 16:51:58 jdolecek Exp $ d54 1 a54 2 file arch/xen/xen/evtchn.c file arch/xen/xen/ctrl_if.c d73 1 a73 1 include "dev/scsipi/files.scsipi" d79 1 a79 1 include "dev/ata/files.ata" d84 1 a84 1 file arch/xen/x86/bus_dma.c d99 1 a99 1 define vesabiosbus {} d106 3 a108 1 device mainbus: cpubus, hypervisorbus d113 2 a114 2 device hypervisor { }: isabus, pcibus attach hypervisor at hypervisorbus a128 3 # Xen event peudo-device defpseudo xenevt a133 31 # # Machine-independent PCI devices # include "dev/i2o/files.i2o" include "dev/pci/files.pci" include "dev/pci/files.agp" file arch/i386/pci/agp_machdep.c agp file arch/xen/xen/pciide_machdep.c pciide_common # # Machine-independent ISA devices # include "dev/isa/files.isa" # # Machine-independent USB drivers # include "dev/usb/files.usb" # PCI-Host bridge chipsets device pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis, agp_via attach pchb at pci file arch/i386/pci/pchb.c pchb needs-flag file arch/i386/pci/pchb_rnd.c pchb & rnd # PCI-ISA bridges device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib d207 7 a213 1 file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag d215 2 a216 3 #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen d229 1 d231 1 a231 6 file arch/xen/i386/xen_shm_machdep.c dom0ops file arch/xen/xen/xbdback.c dom0ops file arch/xen/xen/xennetback.c dom0ops file arch/xen/xen/pci_machdep.c hypervisor & dom0ops file arch/xen/xen/isa_machdep.c hypervisor & dom0ops file arch/xen/xen/xenevt.c xenevt & dom0ops d233 1 a233 1 include "arch/i386/conf/majors.i386" @ 1.14.4.1 log @Commit files from netbsd-2.0-xen-sparse/sys/arch/xen in the Xen-2.0 distribution. These are the files modified from the 2.0 tree to get NetBSD/xen working with Xen 2. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.3.2.1 2004/05/22 15:59:02 he Exp $ d54 1 a54 2 file arch/xen/xen/evtchn.c file arch/xen/xen/ctrl_if.c a83 3 # define mainbus { [apid = -1] } d95 7 d106 3 a108 1 device mainbus: mainbus d114 1 a114 1 attach hypervisor at mainbus a135 1 define cpu { [apid = -1] } d137 1 a137 1 attach cpu at mainbus a190 3 # a.out binary compatibility (COMPAT_AOUT) include "compat/aout/files.aout" @ 1.14.4.2 log @Merge changes between 2.0 and -current: XEN: up to 1.14 files.xen: 1.12 - 1.14 @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.1 2004/12/13 17:52:20 bouyer Exp $ d85 3 a98 7 # i386 specific mainbus attributes define cpubus { [apid = -1] } define apmbus {} define pnpbiosbus {} define vesabiosbus {} define hypervisorbus {} d103 1 a103 3 device mainbus: isabus, eisabus, mcabus, pcibus, acpibus, cpubus, apmbus, pnpbiosbus, vesabiosbus, hypervisorbus d109 1 a109 1 attach hypervisor at hypervisorbus d131 1 d133 1 a133 1 attach cpu at cpubus d187 3 @ 1.14.4.3 log @snapshot of work in progress on physical devices support: - support pci at hypervisor. Attach one PCI bus for each bus returned by PHYSDEVOP_PCI_PROBE_ROOT_BUSES (it looks like xen hides ppb bridges from the guest OS). - implement pci_conf_read()/pci_conf_write() using the appropriate PHYSDEVOP_PCI_* calls. - call PHYSDEVOP_PCI_INITIALISE_DEVICE from pci_intr_map() to make xen do interrupts routing if needed, and map the hardware interrupt to a xen interrupt. - add pci and associated devices to files.xen This is enouth to have IDE controllers work in PIO mode. TODO: bus_dma support (currently bus_dma won't translate pseudo-physical addresses to machine addresses), ISA support, test memory-mapped I/O registers. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.2 2004/12/17 10:13:32 bouyer Exp $ d74 1 a74 1 include "dev/scsipi/files.scsipi" d80 1 a80 1 include "dev/ata/files.ata" d114 1 a114 1 device hypervisor { }: pcibus a134 16 # # Machine-independent PCI devices # include "dev/i2o/files.i2o" include "dev/pci/files.pci" include "dev/pci/files.agp" file arch/i386/pci/agp_machdep.c agp file arch/xen/xen/pciide_machdep.c pciide_common # PCI-Host bridge chipsets device pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis, agp_via attach pchb at pci file arch/i386/pci/pchb.c pchb needs-flag file arch/i386/pci/pchb_rnd.c pchb & rnd d208 7 a214 1 file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag d216 2 a217 3 attach wd at hypervisor with wd_xen attach sd at hypervisor with sd_xen attach cd at hypervisor with cd_xen a232 1 file arch/xen/xen/pci_machdep.c hypervisor & dom0ops @ 1.14.4.4 log @We can't attach {cd,wd,sd} at hypervisor, this conflicts with scsipi. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.3 2005/01/18 15:09:04 bouyer Exp $ d226 3 a228 3 #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen @ 1.14.4.5 log @bus_dma(9) for xen. Derived from arch/x86/x86/bus_dma.c. bounce buffers not supported yet, because xen doesn't have an interface to request memory in a specific range (this means that DMA on ISA won't be supported), but I've left the code commented out because xen will likely provide an appropriate hypercall in the future. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.4 2005/01/19 10:24:22 bouyer Exp $ d85 1 a85 1 file arch/xen/x86/bus_dma.c @ 1.14.4.6 log @First pieces of domain control operations: - use an up to date xenio.h - update privcmd.c for newer ioctls (incomplete, some just return an error for now) - add a /dev/xenevt pseudo-device, which provide to userland an interface to xen events Now xend starts, and basic xm commands (such as list) work. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.5 2005/01/20 12:31:35 bouyer Exp $ a129 3 # Xen event peudo-device defpseudo xenevt a244 1 file arch/xen/xen/xenevt.c xenevt & dom0ops @ 1.14.4.7 log @Commit to the right branch this time: vfr.c doesn't exists any more. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.6 2005/01/31 17:21:16 bouyer Exp $ d246 1 @ 1.14.4.8 log @xen/machmem.c doesn't exists any more. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.7 2005/02/04 19:37:39 bouyer Exp $ d244 1 @ 1.14.4.9 log @Glue xen_shm and the block and network backends to the system. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.8 2005/02/12 22:07:15 bouyer Exp $ a244 3 file arch/xen/i386/xen_shm_machdep.c dom0ops file arch/xen/xen/xbdback.c dom0ops file arch/xen/xen/xennetback.c dom0ops @ 1.14.4.10 log @Add support for ISA bus. Clean up console attachement, and add support for VGA/pckbc console. Add support for USB devices, including USB audio (which means others audio devices should work too) Add some more generic options to XEN0. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.14.4.9 2005/02/16 14:01:47 bouyer Exp $ d107 3 a109 1 device mainbus: cpubus, hypervisorbus d114 1 a114 1 device hypervisor { }: isabus, pcibus a145 10 # # Machine-independent ISA devices # include "dev/isa/files.isa" # # Machine-independent USB drivers # include "dev/usb/files.usb" a153 5 # PCI-ISA bridges device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib a248 1 file arch/xen/xen/isa_machdep.c hypervisor & dom0ops @ 1.13 log @Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.12 2004/05/07 15:51:04 cl Exp $ a190 3 # a.out binary compatibility (COMPAT_AOUT) include "compat/aout/files.aout" @ 1.12 log @Add support for domain0 operations: - access to all physical memory - access to hypervisor traps from userland - setup/config Xen's network routing/firewall rules @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.11 2004/04/25 23:46:07 cl Exp $ a83 3 # define mainbus { [apid = -1] } d95 7 d106 3 a108 1 device mainbus: mainbus d114 1 a114 1 attach hypervisor at mainbus a135 1 define cpu { [apid = -1] } d137 1 a137 1 attach cpu at mainbus @ 1.12.2.1 log @file files.xen was added on branch ktrace-lwp on 2004-08-03 10:43:10 +0000 @ text @d1 231 @ 1.12.2.2 log @Sync with HEAD @ text @a0 231 # $NetBSD: files.xen,v 1.12.2.1 2004/08/03 10:43:10 skrll Exp $ # NetBSD: files.x86,v 1.10 2003/10/08 17:30:00 bouyer Exp # NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp maxpartitions 8 maxusers 2 16 128 # Processor type options. defflag opt_cputype.h I686_CPU # delay before cpu_reset() for reboot. defparam CPURESET_DELAY # No unmapped page below kernel stack defflag NOREDZONE # Beep on halt defflag opt_beep.h BEEP_ONHALT defparam opt_beep.h BEEP_ONHALT_COUNT defparam opt_beep.h BEEP_ONHALT_PITCH BEEP_ONHALT_PERIOD file arch/xen/i386/autoconf.c file arch/i386/i386/db_dbgreg.S ddb | kstack_check_dr0 file arch/i386/i386/db_disasm.c ddb file arch/i386/i386/db_interface.c ddb file arch/i386/i386/db_memrw.c ddb | kgdb file arch/i386/i386/db_trace.c ddb file kern/subr_disk_mbr.c disk file arch/xen/i386/gdt.c file arch/xen/i386/hypervisor_machdep.c file arch/i386/i386/in_cksum.S inet | inet6 file arch/i386/i386/ipkdb_glue.c ipkdb file arch/i386/i386/kgdb_machdep.c kgdb file arch/xen/i386/machdep.c file arch/xen/i386/identcpu.c file arch/i386/i386/math_emulate.c math_emulate file arch/i386/i386/mem.c file kern/kern_microtime.c i586_cpu | i686_cpu file arch/i386/i386/mtrr_k6.c mtrr file netns/ns_cksum.c ns file arch/xen/i386/pmap.c file arch/i386/i386/process_machdep.c file arch/i386/i386/procfs_machdep.c procfs file arch/xen/i386/sys_machdep.c file arch/i386/i386/syscall.c file arch/xen/i386/trap.c file arch/i386/i386/vm_machdep.c file arch/xen/i386/xen_machdep.c file arch/xen/xen/xen_debug.c file arch/xen/xen/clock.c file arch/xen/xen/events.c file dev/cons.c file arch/i386/i386/mptramp.S multiprocessor file arch/i386/i386/ipifuncs.c multiprocessor file arch/i386/i386/pmc.c perfctrs file crypto/des/arch/i386/des_enc.S des file crypto/des/arch/i386/des_cbc.S des file crypto/blowfish/arch/i386/bf_enc.S blowfish file crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu # # Machine-independent SCSI drivers # #xxx include "dev/scsipi/files.scsipi" # # Machine-independent ATA drivers # #xxx include "dev/ata/files.ata" # Memory Disk for install floppy file dev/md_root.c memory_disk_hooks # define mainbus { [apid = -1] } file arch/x86/x86/bus_dma.c file arch/xen/x86/bus_space.c file arch/x86/x86/cacheinfo.c file arch/xen/x86/consinit.c file arch/xen/x86/intr.c file arch/x86/x86/ipi.c multiprocessor file arch/x86/x86/lock_machdep.c lockdebug file arch/x86/x86/softintr.c include "arch/xen/conf/files.compat" # # System bus types # device mainbus: mainbus attach mainbus at root file arch/xen/i386/mainbus.c mainbus # Xen hypervisor device hypervisor { } attach hypervisor at mainbus file arch/xen/xen/hypervisor.c hypervisor needs-flag # Numeric Processing Extension; Math Co-processor device npx file arch/xen/i386/npx.c npx needs-flag attach npx at hypervisor with npx_hv file arch/xen/i386/npx_hv.c npx_hv # Xen console support device xencons: tty attach xencons at hypervisor file arch/xen/xen/xencons.c xencons needs-flag include "dev/wscons/files.wscons" include "dev/wsfont/files.wsfont" include "dev/pckbport/files.pckbport" # CPUS define cpu { [apid = -1] } device cpu attach cpu at mainbus file arch/xen/i386/cpu.c cpu # # Compatibility modules # # VM86 mode file arch/i386/i386/vm86.c vm86 # VM86 in kernel file arch/i386/i386/kvm86.c kvm86 file arch/i386/i386/kvm86call.S kvm86 # Binary compatibility with previous NetBSD releases (COMPAT_XX) file arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout file arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 # SVR4 binary compatibility (COMPAT_SVR4) include "compat/svr4/files.svr4" file arch/i386/i386/svr4_machdep.c compat_svr4 file arch/i386/i386/svr4_sigcode.S compat_svr4 file arch/i386/i386/svr4_syscall.c compat_svr4 # MACH binary compatibility (COMPAT_MACH) include "compat/mach/files.mach" file arch/i386/i386/mach_machdep.c compat_mach | compat_darwin file arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin file arch/i386/i386/mach_syscall.c compat_mach | compat_darwin file arch/i386/i386/macho_machdep.c exec_macho # DARWIN binary compatibility (COMPAT_DARWIN) include "compat/darwin/files.darwin" file arch/i386/i386/darwin_machdep.c compat_darwin # iBCS-2 binary compatibility (COMPAT_IBCS2) include "compat/ibcs2/files.ibcs2" file arch/i386/i386/ibcs2_machdep.c compat_ibcs2 file arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 file arch/i386/i386/ibcs2_syscall.c compat_ibcs2 # Linux binary compatibility (COMPAT_LINUX) include "compat/linux/files.linux" include "compat/linux/arch/i386/files.linux_i386" file arch/i386/i386/linux_sigcode.S compat_linux file arch/i386/i386/linux_syscall.c compat_linux file arch/i386/i386/linux_trap.c compat_linux # FreeBSD binary compatibility (COMPAT_FREEBSD) include "compat/freebsd/files.freebsd" file arch/i386/i386/freebsd_machdep.c compat_freebsd file arch/i386/i386/freebsd_sigcode.S compat_freebsd file arch/i386/i386/freebsd_syscall.c compat_freebsd # a.out binary compatibility (COMPAT_AOUT) include "compat/aout/files.aout" # Win32 binary compatibility (COMPAT_PECOFF) include "compat/pecoff/files.pecoff" # OSS audio driver compatibility include "compat/ossaudio/files.ossaudio" # Xen devices # Network driver device xennet: arp, ether, ifnet attach xennet at hypervisor file arch/xen/xen/if_xennet.c xennet needs-flag # Block device driver and wd/sd/cd identities device xbd: disk attach xbd at hypervisor file arch/xen/xen/xbd.c xbd | wd | sd | cd needs-flag device wd: disk attach wd at hypervisor device sd: disk attach sd at hypervisor device cd: disk attach cd at hypervisor # Keyboard device xenkbc: pckbport attach xenkbc at hypervisor file arch/xen/xen/xenkbc.c xenkbc needs-flag # Generic VGA attach vga at hypervisor with vga_xen file arch/xen/xen/vga_xen.c vga_xen needs-flag # Domain-0 operations defflag opt_xen.h DOM0OPS file arch/xen/xen/machmem.c dom0ops file arch/xen/xen/privcmd.c dom0ops file arch/xen/xen/vfr.c dom0ops include "arch/xen/conf/majors.i386" @ 1.12.2.3 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.12.2.2 2004/09/03 12:45:09 skrll Exp $ d84 3 a97 7 # i386 specific mainbus attributes define cpubus { [apid = -1] } define apmbus {} define pnpbiosbus {} define vesabiosbus {} define hypervisorbus {} d102 1 a102 3 device mainbus: isabus, eisabus, mcabus, pcibus, acpibus, cpubus, apmbus, pnpbiosbus, vesabiosbus, hypervisorbus d108 1 a108 1 attach hypervisor at hypervisorbus d130 1 d132 1 a132 1 attach cpu at cpubus @ 1.12.2.4 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.12.2.3 2004/09/18 14:42:43 skrll Exp $ d191 3 @ 1.12.2.5 log @Fix the sync with head I botched. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.12.2.4 2004/09/21 13:24:36 skrll Exp $ @ 1.12.2.6 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.12.2.5 2005/04/01 14:28:58 skrll Exp $ d54 1 a54 2 file arch/xen/xen/evtchn.c file arch/xen/xen/ctrl_if.c d73 1 a73 1 include "dev/scsipi/files.scsipi" d79 1 a79 1 include "dev/ata/files.ata" d84 1 a84 1 file arch/xen/x86/bus_dma.c d99 1 a99 1 define vesabiosbus {} d106 3 a108 1 device mainbus: cpubus, hypervisorbus d113 2 a114 2 device hypervisor { }: isabus, pcibus attach hypervisor at hypervisorbus a128 3 # Xen event peudo-device defpseudo xenevt a133 31 # # Machine-independent PCI devices # include "dev/i2o/files.i2o" include "dev/pci/files.pci" include "dev/pci/files.agp" file arch/i386/pci/agp_machdep.c agp file arch/xen/xen/pciide_machdep.c pciide_common # # Machine-independent ISA devices # include "dev/isa/files.isa" # # Machine-independent USB drivers # include "dev/usb/files.usb" # PCI-Host bridge chipsets device pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis, agp_via attach pchb at pci file arch/i386/pci/pchb.c pchb needs-flag file arch/i386/pci/pchb_rnd.c pchb & rnd # PCI-ISA bridges device pcib: isabus attach pcib at pci file arch/xen/xen/pcib.c pcib d207 7 a213 1 file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag d215 2 a216 3 #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen d229 1 d231 1 a231 6 file arch/xen/i386/xen_shm_machdep.c dom0ops file arch/xen/xen/xbdback.c dom0ops file arch/xen/xen/xennetback.c dom0ops file arch/xen/xen/pci_machdep.c hypervisor & dom0ops file arch/xen/xen/isa_machdep.c hypervisor & dom0ops file arch/xen/xen/xenevt.c xenevt & dom0ops d233 1 a233 1 include "arch/i386/conf/majors.i386" @ 1.12.2.7 log @Sync with HEAD. Here we go again... @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.12.2.6 2005/11/10 14:00:20 skrll Exp $ a8 2 defparam opt_kernbase.h KERNBASE d85 2 a86 3 file arch/x86/x86/bus_dma.c pci file arch/xen/x86/xen_bus_dma.c pci file arch/xen/x86/bus_space.c pci a101 1 define xendevbus {} d112 1 a112 1 device hypervisor { }: isabus, pcibus, sysmon_power, xendevbus d120 1 a120 1 attach npx at xendevbus with npx_hv d125 1 a125 1 attach xencons at xendevbus a130 16 # Xen Network driver device xennet: arp, ether, ifnet attach xennet at xendevbus file arch/xen/xen/if_xennet.c xennet needs-flag # Xen Block device driver and wd/sd/cd identities device xbd: disk attach xbd at xendevbus file arch/xen/xen/xbd.c xbd | wd_xen | sd_xen | cd_xen needs-flag #attach wd at hypervisor with wd_xen #attach sd at hypervisor with sd_xen #attach cd at hypervisor with cd_xen # Non-Xen specific devices and options a143 4 # Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL) object /athhal-i386-elf.hal.o ath d216 1 a216 1 file arch/x86/x86/linux_trap.c compat_linux d230 15 a244 5 # # CARDBUS # include "dev/cardbus/files.cardbus" file arch/i386/i386/rbus_machdep.c cardbus d246 8 a253 5 # this wants to be probed as late as possible. # # Machine-independent PCMCIA drivers # include "dev/pcmcia/files.pcmcia" d261 1 a261 1 file arch/xen/xen/pci_machdep.c hypervisor & pci @ 1.12.2.8 log @Sync with head. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.12.2.7 2005/12/11 10:28:45 christos Exp $ d173 4 a178 2 include "dev/ieee1394/files.ieee1394" @ 1.11 log @Add support for i386_iopl. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.10 2004/04/24 21:33:32 cl Exp $ d225 6 @ 1.10 log @Add keyboard support and wscons config options. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.9 2004/04/24 20:58:59 cl Exp $ d45 1 a45 1 file arch/i386/i386/sys_machdep.c @ 1.9 log @Add vga display support. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.8 2004/04/24 20:05:49 cl Exp $ d126 2 d216 4 @ 1.8 log @Allow the block device driver to impersonate wd/sd/cd devices. This allows for most system seamless migration from a NetBSD/i386 setup to a NetBSD/xen setup without changing /etc/fstab or creating additional device nodes. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.7 2004/04/24 19:18:01 cl Exp $ d123 2 a124 2 #include "dev/wscons/files.wscons" #include "dev/wsfont/files.wsfont" d215 4 @ 1.7 log @Make bus_space map machine addresses instead of physical addresses. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.6 2004/04/24 18:24:14 cl Exp $ d195 1 d200 1 d203 11 a213 1 file arch/xen/xen/xbd.c xbd needs-flag @ 1.6 log @Consistently use xencons for eveything reffering to Xen's virtual console. rename arch/xen/xen/console.c -> arch/xen/xen/xencons.c @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.5 2004/04/24 17:35:27 cl Exp $ d88 1 a88 1 file arch/x86/x86/bus_space.c @ 1.5 log @Add ``hypervisor at mainbus'' and attach all devices provided by the hypervisor to it instead of mainbus. rename arch/xen/i386/hypervisor.c -> arch/xen/i386/hypervisor_machdep.c @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.4 2004/04/17 12:56:27 cl Exp $ d119 3 a121 3 device xenc: tty attach xenc at hypervisor file arch/xen/xen/console.c xenc needs-flag @ 1.4 log @add block device driver @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.3 2004/03/25 15:26:35 wiz Exp $ d31 1 a31 1 file arch/xen/i386/hypervisor.c d104 6 a109 1 file arch/xen/i386/mainbus.c mainbus d115 1 a115 1 attach npx at mainbus with npx_hv d120 1 a120 1 attach xenc at mainbus d196 1 a196 1 attach xennet at mainbus d200 1 a200 1 attach xbd at mainbus @ 1.3 log @Backout previous -- this is not enough, config needs to be taught how to reach partitions above h. Noted by Simon Burge, related to PR 24905. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.2 2004/03/25 12:41:54 wiz Exp $ d3 1 a3 1 # NetBSD: files.i386,v 1.249 2004/02/16 17:11:27 wiz Exp d194 3 a196 4 #device xd: XXXXdisk #attach xd at mainbus #file arch/xen/xen/disk.c xd needs-flag @ 1.3.2.1 log @Pull up revisions 1.4-1.12 (requested by cl in ticket #337): Upgrade xen support: - add block device driver - network device driver bug fixes - support for vga/keyboard/mouse - support for domain0 operations - fix /dev/mem and i386_iopl, reboot, event dispatch - fix clock support, cpu speed report, lazy fpu switching - add xen12load loader - sys/arch/xen parts of build.sh release support [cl, ticket #337] @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 # NetBSD: files.i386,v 1.254 2004/03/25 23:32:10 jmc Exp d31 1 a31 1 file arch/xen/i386/hypervisor_machdep.c d45 1 a45 1 file arch/xen/i386/sys_machdep.c d88 1 a88 1 file arch/xen/x86/bus_space.c d104 1 a104 6 file arch/xen/i386/mainbus.c mainbus # Xen hypervisor device hypervisor { } attach hypervisor at mainbus file arch/xen/xen/hypervisor.c hypervisor needs-flag d110 1 a110 1 attach npx at hypervisor with npx_hv d114 3 a116 6 device xencons: tty attach xencons at hypervisor file arch/xen/xen/xencons.c xencons needs-flag include "dev/wscons/files.wscons" include "dev/wsfont/files.wsfont" d118 2 a119 1 include "dev/pckbport/files.pckbport" a189 1 # Network driver d191 1 a191 1 attach xennet at hypervisor d194 4 a197 28 # Block device driver and wd/sd/cd identities device xbd: disk attach xbd at hypervisor file arch/xen/xen/xbd.c xbd | wd | sd | cd needs-flag device wd: disk attach wd at hypervisor device sd: disk attach sd at hypervisor device cd: disk attach cd at hypervisor # Keyboard device xenkbc: pckbport attach xenkbc at hypervisor file arch/xen/xen/xenkbc.c xenkbc needs-flag # Generic VGA attach vga at hypervisor with vga_xen file arch/xen/xen/vga_xen.c vga_xen needs-flag # Domain-0 operations defflag opt_xen.h DOM0OPS file arch/xen/xen/machmem.c dom0ops file arch/xen/xen/privcmd.c dom0ops file arch/xen/xen/vfr.c dom0ops @ 1.2 log @Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h. Addresses PR 24905 by Simon Burge. @ text @d1 1 a1 1 # $NetBSD: files.xen,v 1.1 2004/03/11 21:44:08 cl Exp $ d5 1 a5 1 maxpartitions 16 @ 1.1 log @Add port to the Xen virtual machine monitor. (see http://www.cl.cam.ac.uk/Research/SRG/netos/xen/) @ text @d1 1 a1 1 # $NetBSD: $ d5 1 a5 1 maxpartitions 8 @