DELTA 263780 524 50 SVNª;ª¥>Œn¥YŒƒY¦buint16_t riduint16_t ridENDREP DELTA 258780 321 122 SVNþHü# ƒ]šl¬ªyšiŒhÅ}€‚„#Ê€­XÐpƒ[#define VTD_RID2IDX(rid) (((rid) & 0xff) * 2uint16_t rid uint8_t bus; vtdmap = vtdmaps[0]; bus = PCI_RID2BUS(rid); ctxp = ctx_tables[bus]; pt_paddr = vtophys(dom->ptp); idx = VTD_RID2IDX(rid); if (ctxp[idx] & VTD_CTX_PRESENT) { panic("vtd_add_device: device %x is already owned by " "domain %d", riduint16_t rid) { int i, idx; uint64_t *ctxp; struct vtdmap *vtdmap; uint8_t bus; bus = PCI_RID2BUS(rid); ctxp = ctx_tables[bus]; idx = VTD_RID2IDX(rid)ENDREP DELTA 260972 0 298 SVN­­ƒ—€d‹™2™‡¤Y€R­-ƒuint16_t rid) { if (ops != NULL && iommu_avail) (*ops->add_device)(domain, rid); } static __inline void IOMMU_REMOVE_DEVICE(void *domain, uint16_t rid) { if (ops != NULL && iommu_avail) (*ops->remove_device)(domain, rid pci_get_rid(dev)uint16_t rid) { IOMMU_ADD_DEVICE(dom, rid); } void iommu_remove_device(void *dom, uint16_t rid) { IOMMU_REMOVE_DEVICE(dom, ridENDREP DELTA 241362 1431 336 SVN˜:—~ €L‡+¿3˜ uint16_t rid); typedef void (*iommu_remove_device_t)(void *dom, uint16_t riduint16_t rid); void iommu_remove_device(void *dom, uint16_t ridENDREP DELTA 260972 327 359 SVNð$ð0+½•ƒ$½)•¯HÀ\*pci_get_rid(ppt->dev)pci_get_rid(ppt->dev)ENDREP id: x-221828.5-245652.r264003/1375 type: file pred: x-221828.5-245652.r263780/13138 count: 14 text: 264003 0 52 5405 920750d023771c2e3c9a38d0ce1e61f9 1bb41f857df294a45a0d8716ef81656eea007287 264002-5npg/_6 props: 245678 14104 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/amd64/vmm/amd/amdv.c copyroot: 245652 /head/sys/amd64/vmm PLAIN K 6 amdv.c V 35 file x-221828.5-245652.r264003/1375 END ENDREP id: v-221828.5-245652.r264003/1785 type: dir pred: v-221828.5-245652.r263780/13552 count: 14 text: 264003 1716 56 0 3d591e67ed6e3da8a0ec7559398ea132 cpath: /head/sys/amd64/vmm/amd copyroot: 245652 /head/sys/amd64/vmm id: 1q-221828.5-245652.r264003/2003 type: file pred: 1q-221828.5-245652.r258780/24271 count: 7 text: 264003 79 521 15907 d538923535bb840f41acc3844da274a8 5561ce0f80d52988d21a77b5eaaa9f785a187deb 264002-5npg/_8 props: 245678 20446 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/amd64/vmm/intel/vtd.c copyroot: 245652 /head/sys/amd64/vmm PLAIN K 5 ept.c V 36 file 11-221828.5-245652.r260466/6683 K 5 ept.h V 36 file 14-221828.5-245652.r260466/7027 K 6 vmcs.c V 36 file 16-221828.5-245652.r260531/1698 K 6 vmcs.h V 36 file 18-221828.5-245652.r262144/1612 K 5 vmx.c V 37 file 1a-221828.5-245652.r263780/13772 K 5 vmx.h V 37 file 1c-221828.5-245652.r262506/14808 K 14 vmx_controls.h V 36 file 1e-221828.5-245652.r260410/6184 K 13 vmx_cpufunc.h V 37 file 1g-221828.5-245652.r245678/18220 K 14 vmx_genassym.c V 36 file 1i-221828.5-245652.r261453/1984 K 9 vmx_msr.c V 37 file 1k-221828.5-245652.r245678/19158 K 9 vmx_msr.h V 37 file 1m-221828.5-245652.r245678/19619 K 13 vmx_support.S V 36 file 1o-221828.5-245652.r261453/2338 K 5 vtd.c V 36 file 1q-221828.5-245652.r264003/2003 END ENDREP id: 10-221828.5-245652.r264003/3095 type: dir pred: 10-221828.5-245652.r263780/14867 count: 85 text: 264003 2349 733 0 4658a8f2be95ab2283ce118b588f0aed cpath: /head/sys/amd64/vmm/intel copyroot: 245652 /head/sys/amd64/vmm id: 1t-221828.5-245652.r264003/3318 type: file pred: 1t-221828.5-245652.r260972/1107 count: 4 text: 264003 628 424 5788 ccb6f4b1cac5d8df583c6a10f03260a7 bb785e0cea70ff6dbd8c776f8098c1d01695f834 264002-5npg/_a props: 245678 21889 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/amd64/vmm/io/iommu.c copyroot: 245652 /head/sys/amd64/vmm id: 1w-221828.5-245652.r264003/3662 type: file pred: 1w-221828.5-245652.r245678/22467 count: 3 text: 264003 1078 169 3070 178dfaaa20ba759e3dde7fc65be550a3 6cf7adbc25e520335476e03c22fc03dfc7de6fdc 264002-5npg/_b props: 245678 22351 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/amd64/vmm/io/iommu.h copyroot: 245652 /head/sys/amd64/vmm id: 1y-221828.5-245652.r264003/4008 type: file pred: 1y-221828.5-245652.r260972/1450 count: 18 text: 264003 1276 71 14384 940d3adb4ee8807d577a9a658b0be4f5 3a47418a3e488c62da7d2180d08799ca8e2ea8e7 264002-5npg/_c props: 245678 22813 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/amd64/vmm/io/ppt.c copyroot: 245652 /head/sys/amd64/vmm PLAIN K 7 iommu.c V 36 file 1t-221828.5-245652.r264003/3318 K 7 iommu.h V 36 file 1w-221828.5-245652.r264003/3662 K 5 ppt.c V 36 file 1y-221828.5-245652.r264003/4008 K 5 ppt.h V 36 file 20-221828.5-245652.r260972/1795 K 8 vatpic.c V 35 file e-263035.5-245652.r263211/7528 K 8 vatpic.h V 35 file h-263035.5-245652.r263211/7873 K 8 vatpit.c V 35 file 7-263744.5-245652.r263744/9173 K 8 vatpit.h V 35 file a-263744.5-245652.r263744/9479 K 7 vhpet.c V 36 file c-258579.5-245652.r263035/23163 K 7 vhpet.h V 36 file f-258579.5-245652.r258579/20180 K 9 vioapic.c V 34 file c-258075.5-245652.r262139/137 K 9 vioapic.h V 35 file f-258075.5-245652.r258699/4669 K 8 vlapic.c V 36 file 26-221828.5-245652.r263211/8217 K 8 vlapic.h V 36 file 28-221828.5-245652.r262281/3691 K 13 vlapic_priv.h V 35 file f-259863.5-245652.r263211/8564 END ENDREP id: 1s-221828.5-245652.r264003/5184 type: dir pred: 1s-221828.5-245652.r263744/10619 count: 62 text: 264003 4352 819 0 90281e185426302138865dbfa86eb29a cpath: /head/sys/amd64/vmm/io copyroot: 245652 /head/sys/amd64/vmm PLAIN K 3 amd V 34 dir v-221828.5-245652.r264003/1785 K 5 intel V 35 dir 10-221828.5-245652.r264003/3095 K 2 io V 35 dir 1s-221828.5-245652.r264003/5184 K 5 vmm.c V 37 file 2a-221828.5-245652.r263780/15091 K 9 vmm_dev.c V 37 file 2c-221828.5-245652.r263780/15434 K 10 vmm_host.c V 35 file a-242275.5-245652.r261638/4088 K 10 vmm_host.h V 35 file c-242275.5-245652.r261638/4429 K 22 vmm_instruction_emul.c V 36 file c-240941.5-245652.r261504/20400 K 12 vmm_ioport.c V 36 file o-263035.5-245652.r263744/11181 K 12 vmm_ioport.h V 36 file q-263035.5-245652.r263035/26156 K 9 vmm_ipi.c V 37 file 2e-221828.5-245652.r261087/10874 K 9 vmm_ipi.h V 37 file 2g-221828.5-245652.r260466/10900 K 9 vmm_ktr.h V 36 file 2i-221828.5-245652.r258699/6832 K 11 vmm_lapic.c V 36 file 2k-221828.5-245652.r262236/8050 K 11 vmm_lapic.h V 37 file 2m-221828.5-245652.r259863/15915 K 9 vmm_mem.c V 37 file 2o-221828.5-245652.r256072/22305 K 9 vmm_mem.h V 37 file 2q-221828.5-245652.r256072/22650 K 9 vmm_msr.c V 36 file 2s-221828.5-245652.r259205/5991 K 9 vmm_msr.h V 36 file 2u-221828.5-245652.r259205/6333 K 10 vmm_stat.c V 37 file 2w-221828.5-245652.r261621/14954 K 10 vmm_stat.h V 37 file 2y-221828.5-245652.r261621/15301 K 13 vmm_support.S V 37 file 30-221828.5-245652.r245678/32375 K 10 vmm_util.c V 37 file 32-221828.5-245652.r245678/32844 K 10 vmm_util.h V 37 file 34-221828.5-245652.r245678/33311 K 5 x86.c V 36 file 36-221828.5-245652.r262236/8397 K 5 x86.h V 35 file 38-221828.5-245652.r255287/476 END ENDREP id: u-221828.5-245652.r264003/6898 type: dir pred: u-221828.5-245652.r263780/17278 count: 172 text: 264003 5404 1481 0 2405624cff7b6f1f02c4b084981cfb96 props: 262613 183850 1004 0 1a1cfce5662bdb367587321b1f42237d cpath: /head/sys/amd64/vmm copyroot: 245652 /head/sys/amd64/vmm minfo-cnt: 1 minfo-here: y PLAIN K 8 Makefile V 24 file z-4.c-5.r185515/352 K 6 acpica V 26 dir 3-67760.0.r246855/1811 K 5 amd64 V 22 dir q-5.0.r263912/2477 K 7 compile V 24 dir 3-99481.0.r250544/17 K 4 conf V 25 dir 3-3668.0.r263749/1709 K 4 ia32 V 26 dir 3-94380.0.r258135/4581 K 7 include V 22 dir s-5.0.r263826/4542 K 7 linux32 V 28 dir 6-133819.0.r263233/13327 K 3 pci V 26 dir 3-6104.0.r258780/23394 K 3 vmm V 34 dir u-221828.5-245652.r264003/6898 END ENDREP id: o-5.0.r264003/7641 type: dir pred: o-5.0.r263912/3087 count: 6469 text: 264003 7203 425 0 fbafa0299e4022d7d6e737ba226ef16b cpath: /head/sys/amd64 copyroot: 0 / minfo-cnt: 5 PLAIN K 8 Makefile V 27 file 2-1598.0.r263152/85726 K 5 amd64 V 22 dir o-5.0.r264003/7641 K 3 arm V 27 dir 2-70651.0.r263998/12342 K 4 boot V 27 dir 6j-38465.0.r263968/3863 K 3 bsm V 29 dir 2-141144.0.r255219/111081 K 3 cam V 26 dir 2-39212.0.r263979/3862 K 4 cddl V 29 dir br-168404.0.r263620/51242 K 6 compat V 26 dir k-9313.0.r263954/14014 K 4 conf V 23 dir y-5.0.r264001/10284 K 7 contrib V 26 dir 2-23283.0.r263917/7338 K 6 crypto V 27 dir 7-55009.0.r263218/16823 K 3 ddb V 23 dir 10-5.0.r263973/3812 K 3 dev V 24 dir 12-5.0.r264001/25223 K 2 fs V 26 dir 2-1541.0.r263620/60024 K 3 gdb V 27 dir h-131899.0.r253604/3877 K 4 geom V 26 dir 2-13041.0.r261618/3710 K 3 gnu V 27 dir 2-1421.0.r262613/212886 K 4 i386 V 23 dir 1c-5.0.r263912/6579 K 4 ia64 V 27 dir j-66458.0.r263998/16693 K 3 isa V 23 dir 1w-5.0.r263379/9458 K 4 kern V 24 dir 20-5.0.r263755/12135 K 7 kgssapi V 29 dir 13-184588.0.r253049/10289 K 7 libkern V 25 dir 9-1542.0.r258752/3681 K 4 mips V 28 dir 2-178171.0.r263998/22003 K 7 modules V 26 dir i-2834.0.r263811/25057 K 3 net V 25 dir x-1542.0.r263710/6758 K 8 net80211 V 29 dir 2-116742.0.r263140/187548 K 8 netgraph V 29 dir 69-52419.0.r263152/143424 K 7 netinet V 26 dir 4f-1541.0.r263966/7387 K 8 netinet6 V 26 dir q-52904.0.r263971/2929 K 8 netipsec V 28 dir 2-105197.0.r262489/28062 K 7 netnatm V 27 dir 7-25604.0.r257179/46086 K 7 netpfil V 28 dir 11-240494.0.r263710/9082 K 6 netsmb V 27 dir u-75374.0.r263233/95019 K 3 nfs V 27 dir 4l-1541.0.r262763/64180 K 9 nfsclient V 26 dir 4r-1541.0.r259084/5864 K 9 nfsserver V 27 dir 5l-1541.0.r263233/95995 K 3 nlm V 29 dir 1i-177633.0.r262991/10337 K 4 ofed V 30 dir 1hj-219820.0.r263620/91802 K 10 opencrypto V 27 dir 2-104476.0.r262994/1886 K 4 pc98 V 27 dir p-10097.0.r263620/93312 K 3 pci V 26 dir 6-2433.0.r263957/22341 K 7 powerpc V 24 dir 22-5.0.r263998/27070 K 3 rpc V 25 dir u-1839.0.r261449/2448 K 8 security V 26 dir 2-86630.0.r263458/2117 K 7 sparc64 V 27 dir 2-79054.0.r263998/32591 K 3 sys V 24 dir 28-5.0.r263998/47543 K 5 teken V 34 dir h-186681.0-196775.r261551/1018 K 5 tools V 28 dir 6k-1541.0.r263289/110591 K 3 ufs V 26 dir 1a-1542.0.r263628/1807 K 2 vm V 28 dir 1k-1542.0.r263620/124415 K 3 x86 V 28 dir 11-204309.0.r264002/5023 K 3 xdr V 29 dir 46-177633.0.r248318/15821 K 3 xen V 27 dir 2-181624.0.r263377/1006 END ENDREP id: g-5.0.r264003/10138 type: dir pred: g-5.0.r264002/7530 count: 95055 text: 264003 7819 2306 0 c2a4cfe253b810667cffab5d426ea571 props: 263710 11585 1023 0 0ccc5179d9b3f72a7f1af4f528de68d9 cpath: /head/sys copyroot: 0 / minfo-cnt: 45 minfo-here: y PLAIN K 9 COPYRIGHT V 25 file 1-2656.0.r260125/103 K 5 LOCKS V 27 file 1-146890.0.r255635/352 K 11 MAINTAINERS V 25 file 1-94742.0.r263419/83 K 8 Makefile V 29 file 3-1594.0-1595.r263996/50 K 13 Makefile.inc1 V 26 file 5-38666.0.r263991/441 K 17 ObsoleteFiles.inc V 27 file 4-148330.0.r263249/997 K 6 README V 26 file 1-21173.0.r215293/415 K 8 UPDATING V 26 file 1-41806.0.r263749/832 K 3 bin V 22 dir 1-5.0.r263847/5493 K 4 cddl V 28 dir 1-168404.0.r263889/11178 K 7 contrib V 27 dir 1-16755.0.r263989/12687 K 6 crypto V 28 dir 1-25405.0.r263712/101209 K 3 etc V 24 dir 1-38.0.r263989/18215 K 5 games V 25 dir 1-2491.0.r261948/2982 K 3 gnu V 22 dir 1-3.0.r263991/2106 K 7 include V 24 dir 1-697.0.r263998/6811 K 9 kerberos5 V 27 dir 4q-29815.0.r262255/4236 K 3 lib V 23 dir 6-5.0.r263989/24953 K 7 libexec V 23 dir c-5.0.r263161/27265 K 7 release V 25 dir 1-3027.0.r264000/2490 K 6 rescue V 28 dir 7-117035.0.r263140/56424 K 4 sbin V 23 dir fa-4.0.r263814/5766 K 6 secure V 27 dir r-1553.0.r263712/103619 K 5 share V 22 dir e-3.0.r263997/4624 K 3 sys V 23 dir g-5.0.r264003/10138 K 5 tests V 28 dir g-257097.0.r263779/11911 K 5 tools V 26 dir 43-1590.0.r263890/5181 K 7 usr.bin V 23 dir m-3.0.r263997/16991 K 8 usr.sbin V 23 dir q-3.0.r263780/34024 END ENDREP id: 5-1.0.r264003/11649 type: dir pred: 5-1.0.r264002/9040 count: 182177 text: 264003 10388 1248 0 23a3d92e2631339bfa13797447bc82cf props: 262810 10121 723 0 7c465c561af68b73a153a4f0a34bd0b6 cpath: /head copyroot: 0 / minfo-cnt: 153 minfo-here: y PLAIN K 11 ROADMAP.txt V 27 file 0-179453.0.r221478/293 K 4 head V 23 dir 5-1.0.r264003/11649 K 8 projects V 23 dir 6-1.0.r263976/25754 K 7 release V 22 dir 7-1.0.r260789/2925 K 6 releng V 22 dir 8-1.0.r260787/8385 K 6 stable V 22 dir 9-1.0.r263999/5650 K 8 svnadmin V 27 dir 0-179447.0.r263696/1299 K 4 user V 22 dir a-1.0.r263977/4661 K 6 vendor V 22 dir b-1.0.r263947/8338 K 13 vendor-crypto V 25 dir 0-1575.0.r263636/3355 K 10 vendor-sys V 26 dir 0-12116.0.r263852/5745 END ENDREP id: 0.0.r264003/12382 type: dir pred: 0.0.r264002/9771 count: 264003 text: 264003 11897 472 0 631e3a7f210944eb658866443d2adaa6 props: 254474 0 3820 0 5ba9c173df0952cf5e34e8d9b314fd8a cpath: / copyroot: 0 / minfo-cnt: 40244 x-221828.5-245652.t264002-5npg modify-file true false /head/sys/amd64/vmm/amd/amdv.c 1q-221828.5-245652.t264002-5npg modify-file true false /head/sys/amd64/vmm/intel/vtd.c 1t-221828.5-245652.t264002-5npg modify-file true false /head/sys/amd64/vmm/io/iommu.c 1w-221828.5-245652.t264002-5npg modify-file true false /head/sys/amd64/vmm/io/iommu.h 1y-221828.5-245652.t264002-5npg modify-file true false /head/sys/amd64/vmm/io/ppt.c 12382 12606