DELTA 339367 133 447 SVN–:—c ! •H€|•>rdcycle() csr_read64(cycle) #define rdtime() csr_read64(time) #define rdinstret() csr_read64(instret) #define rdhpmcounter(n) csr_read64(hpmcounter##n)ENDREP DELTA 338444 1759 216 SVN¶lº1 ƒD ¶J€ƒB%¶GƒBif __riscv_xlen == 32 #define csr_read64(csr) \ ({ uint64_t val; \ uint32_t high, low; \ __asm __volatile("1: " \ "csrr t0, " #csr "h\n" \ "csrr %0, " #csr "\n" \ "csrr %1, " #csr "h\n" \ "bne t0, %1, 1b" \ : "=r" (low), "=r" (high) \ : \ : "t0"); \ val = (low | ((uint64_t)high << 32)); \ val; \ }) #else #define csr_read64(csr) ((uint64_t)csr_read(csr)) #endifENDREP id: x-292407.0.r340399/717 type: file pred: x-292407.0.r339367/4883 count: 5 text: 340399 0 185 3043 2aec1ef270522c93bcf3f0d1a0873d15 f8dc0e93b76fdde954458ecb893876400e6c5336 340398-7az4/_5 props: 179448 45543 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/riscv/include/cpufunc.h copyroot: 0 / id: 2n-292407.0.r340399/1022 type: file pred: 2n-292407.0.r338444/11177 count: 14 text: 340399 213 475 7473 9104460060b075afbeaaa3a3e8887c86 973cc093c0a9b3ffdec891a03549f453da9f8686 340398-7az4/_6 props: 179448 45543 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/riscv/include/riscvreg.h copyroot: 0 / PLAIN K 8 _align.h V 29 file 6-292407.0.r292407/41168 K 6 _bus.h V 29 file 9-292407.0.r292407/41445 K 11 _inttypes.h V 29 file b-292407.0.r292407/41723 K 9 _limits.h V 29 file d-292407.0.r292407/42006 K 9 _stdint.h V 29 file f-292407.0.r292407/42287 K 8 _types.h V 29 file h-292407.0.r329859/50223 K 5 asm.h V 28 file j-292407.0.r338467/1092 K 8 atomic.h V 27 file l-292407.0.r337433/161 K 5 bus.h V 29 file n-292407.0.r292407/43403 K 9 bus_dma.h V 30 file p-292407.0.r320528/115977 K 7 clock.h V 29 file r-292407.0.r292407/43962 K 9 counter.h V 29 file t-292407.0.r336020/58019 K 5 cpu.h V 29 file v-292407.0.r340164/45119 K 9 cpufunc.h V 27 file x-292407.0.r340399/717 K 12 db_machdep.h V 29 file z-292407.0.r316001/36241 K 6 dump.h V 30 file 11-292407.0.r292407/45358 K 5 efi.h V 36 file e-307070.3-307074.r307189/53694 K 5 elf.h V 30 file 13-292407.0.r339625/22438 K 10 encoding.h V 28 file 4-337712.0.r337712/7924 K 8 endian.h V 30 file 15-292407.0.r292407/45918 K 6 exec.h V 30 file 17-292407.0.r292407/46201 K 7 float.h V 30 file 19-292407.0.r308251/38199 K 15 floatingpoint.h V 30 file 1b-292407.0.r292407/46755 K 5 fpe.h V 28 file 1h-308731.0.r338814/953 K 7 frame.h V 29 file 1d-292407.0.r312691/1738 K 8 ieeefp.h V 30 file 1f-292407.0.r292407/47319 K 10 in_cksum.h V 30 file 1h-292407.0.r292407/47600 K 6 intr.h V 29 file 1j-292407.0.r335007/9864 K 5 kdb.h V 29 file 1l-292407.0.r339367/5190 K 9 machdep.h V 30 file 1n-292407.0.r322361/37436 K 8 md_var.h V 30 file 1p-292407.0.r292407/48724 K 8 memdev.h V 30 file 1r-292407.0.r292407/49002 K 10 minidump.h V 30 file 1t-292407.0.r292407/49283 K 13 ofw_machdep.h V 30 file 1v-292407.0.r292407/49567 K 7 param.h V 30 file 1x-292407.0.r295972/21095 K 5 pcb.h V 30 file 1z-292407.0.r308731/71416 K 6 pcpu.h V 28 file 21-292407.0.r317151/654 K 6 pmap.h V 26 file 23-292407.0.r339423/0 K 10 pmc_mdep.h V 30 file 25-292407.0.r292407/50974 K 6 proc.h V 30 file 27-292407.0.r319871/26311 K 9 profile.h V 30 file 29-292407.0.r326403/50048 K 5 psl.h V 30 file 2b-292407.0.r292407/51819 K 5 pte.h V 28 file 2d-292407.0.r340030/667 K 8 ptrace.h V 30 file 2f-292407.0.r292407/52370 K 5 reg.h V 30 file 2h-292407.0.r308731/71727 K 7 reloc.h V 30 file 2j-292407.0.r292407/52924 K 10 resource.h V 30 file 2l-292407.0.r292407/53197 K 10 riscvreg.h V 29 file 2n-292407.0.r340399/1022 K 6 runq.h V 30 file 2p-292407.0.r292407/53763 K 5 sbi.h V 28 file n-303908.0.r339367/5497 K 8 setjmp.h V 30 file 2r-292407.0.r336633/10958 K 8 sf_buf.h V 30 file 2t-292407.0.r292407/54326 K 8 signal.h V 30 file 2v-292407.0.r292407/54609 K 5 smp.h V 30 file 2x-292407.0.r335007/10485 K 7 stack.h V 29 file g-296614.0.r296614/19125 K 8 stdarg.h V 30 file 2z-292407.0.r329163/10639 K 9 sysarch.h V 30 file 31-292407.0.r292407/55442 K 6 trap.h V 30 file 33-292407.0.r292407/55726 K 10 ucontext.h V 27 file 35-292407.0.r295700/54 K 6 vdso.h V 30 file 37-292407.0.r292407/56283 K 4 vm.h V 30 file 39-292407.0.r292407/56563 K 9 vmparam.h V 28 file 3b-292407.0.r337459/542 END ENDREP id: 4-292407.0.r340399/4337 type: dir pred: 4-292407.0.r340164/48425 count: 64 text: 340399 1335 2989 0 651b04ef56af41a4fdb1501617bb1b9a cpath: /head/sys/riscv/include copyroot: 0 / PLAIN K 4 conf V 29 dir 17-295041.0.r339973/14726 K 7 include V 27 dir 4-292407.0.r340399/4337 K 5 riscv V 28 dir 1o-295041.0.r340229/6308 END ENDREP id: 2-292407.0.r340399/4670 type: dir pred: 2-292407.0.r340229/6642 count: 170 text: 340399 4520 137 0 51a1384d14b81a9bcbb079e61780e9fb cpath: /head/sys/riscv copyroot: 0 / PLAIN K 8 Makefile V 27 file 2-1598.0.r325834/47771 K 5 amd64 V 22 dir o-5.0.r340387/2707 K 3 arm V 26 dir 2-70651.0.r340298/4925 K 5 arm64 V 27 dir 2-280364.0.r340229/3801 K 3 bsm V 29 dir 2-141144.0.r326023/239523 K 3 cam V 26 dir 2-39212.0.r340155/4188 K 4 cddl V 28 dir br-168404.0.r340311/9148 K 6 compat V 25 dir k-9313.0.r340303/5609 K 4 conf V 22 dir y-5.0.r340372/3378 K 7 contrib V 27 dir 2-23283.0.r340299/17249 K 6 crypto V 26 dir 7-55009.0.r339787/3488 K 3 ddb V 24 dir 10-5.0.r339486/36846 K 3 dev V 24 dir 12-5.0.r340375/14558 K 3 dts V 28 dir j-325826.0.r340390/10517 K 2 fs V 25 dir 2-1541.0.r340207/2843 K 3 gdb V 28 dir h-131899.0.r330539/27205 K 4 geom V 26 dir 2-13041.0.r340220/2746 K 3 gnu V 27 dir 2-1421.0.r340337/382559 K 4 i386 V 23 dir 1c-5.0.r340387/4568 K 3 isa V 24 dir 1w-5.0.r338948/73078 K 4 kern V 24 dir 20-5.0.r340392/12317 K 7 kgssapi V 29 dir 13-184588.0.r336439/72817 K 7 libkern V 26 dir 9-1542.0.r339505/13896 K 4 mips V 28 dir 2-178171.0.r340164/39793 K 7 modules V 26 dir i-2834.0.r340036/26140 K 3 net V 25 dir x-1542.0.r340236/6605 K 8 net80211 V 28 dir 2-116742.0.r337589/24376 K 8 netgraph V 28 dir 69-52419.0.r340135/43945 K 7 netinet V 26 dir 4f-1541.0.r340313/8024 K 8 netinet6 V 27 dir q-52904.0.r340360/12796 K 8 netipsec V 27 dir 2-105197.0.r339533/2495 K 7 netpfil V 29 dir 11-240494.0.r340360/16848 K 6 netsmb V 28 dir u-75374.0.r336914/110629 K 3 nfs V 27 dir 4l-1541.0.r335250/39321 K 9 nfsclient V 27 dir 4r-1541.0.r328417/47275 K 9 nfsserver V 28 dir 5l-1541.0.r326272/257416 K 3 nlm V 28 dir 1i-177633.0.r329097/1315 K 4 ofed V 29 dir 1hj-219820.0.r338541/9066 K 10 opencrypto V 27 dir 2-104476.0.r339665/2914 K 7 powerpc V 23 dir 22-5.0.r340393/3557 K 5 riscv V 27 dir 2-292407.0.r340399/4670 K 3 rpc V 25 dir u-1839.0.r336542/5006 K 8 security V 27 dir 2-86630.0.r340080/36336 K 7 sparc64 V 27 dir 2-79054.0.r340164/54392 K 3 sys V 24 dir 28-5.0.r340343/29471 K 5 teken V 34 dir h-186681.0-196775.r339529/2494 K 5 tests V 27 dir f-290663.0.r336300/1128 K 5 tools V 26 dir 6k-1541.0.r340297/5601 K 3 ufs V 27 dir 1a-1542.0.r340055/82564 K 2 vm V 26 dir 1k-1542.0.r340331/3117 K 3 x86 V 28 dir 11-204309.0.r340384/8880 K 3 xdr V 30 dir 46-177633.0.r326272/311489 K 3 xen V 28 dir 2-181624.0.r338631/12783 END ENDREP id: g-5.0.r340399/7121 type: dir pred: g-5.0.r340393/6003 count: 121419 text: 340399 4844 2264 0 9f7b361bfb199f3118ea5c869c384712 props: 201826 13530 46 0 af763326b561c4148fb4456ebd5fd345 cpath: /head/sys copyroot: 0 / minfo-cnt: 13 PLAIN K 10 .arcconfig V 26 file 1-265842.0.r306435/41 K 8 .arclint V 25 file 1-266959.0.r326959/0 K 14 .gitattributes V 25 file 1-327183.0.r337158/0 K 10 .gitignore V 26 file 4-327183.0.r335840/66 K 9 COPYRIGHT V 25 file 1-2656.0.r333391/421 K 5 LOCKS V 26 file 1-146890.0.r334871/53 K 11 MAINTAINERS V 26 file 1-94742.0.r336347/113 K 8 Makefile V 30 file 3-1594.0-1595.r340328/280 K 13 Makefile.inc1 V 26 file 5-38666.0.r340242/825 K 18 Makefile.libcompat V 33 file 5-38666.0-296709.r340371/111 K 16 Makefile.sys.inc V 27 file 3-325973.0.r326580/260 K 17 ObsoleteFiles.inc V 28 file 4-148330.0.r340363/1622 K 6 README V 26 file 1-21173.0.r335299/328 K 9 README.md V 27 file 1-314473.0.r335299/605 K 8 UPDATING V 26 file 1-41806.0.r340326/459 K 3 bin V 22 dir 1-5.0.r340330/3226 K 4 cddl V 27 dir 1-168404.0.r339956/2945 K 7 contrib V 26 dir 1-16755.0.r340391/6295 K 6 crypto V 26 dir 1-25405.0.r339741/8322 K 3 etc V 23 dir 1-38.0.r340114/1181 K 3 gnu V 23 dir 1-3.0.r339738/11751 K 7 include V 24 dir 1-697.0.r339184/5517 K 9 kerberos5 V 29 dir 4q-29815.0.r339270/613402 K 3 lib V 22 dir 6-5.0.r340395/8150 K 7 libexec V 23 dir c-5.0.r340321/11665 K 7 release V 25 dir 1-3027.0.r339875/1389 K 6 rescue V 26 dir 7-117035.0.r339972/863 K 4 sbin V 23 dir fa-4.0.r340394/5837 K 6 secure V 25 dir r-1553.0.r339709/4119 K 5 share V 23 dir e-3.0.r340386/12565 K 5 stand V 34 dir 6j-38465.0-325834.r340240/4797 K 3 sys V 22 dir g-5.0.r340399/7121 K 7 targets V 35 dir 2-242818.1-284345.r340386/15617 K 5 tests V 27 dir g-257097.0.r340286/3562 K 5 tools V 27 dir 43-1590.0.r340325/20812 K 7 usr.bin V 23 dir m-3.0.r340382/13537 K 8 usr.sbin V 23 dir q-3.0.r340345/14558 END ENDREP id: 5-1.0.r340399/9029 type: dir pred: 5-1.0.r340395/9998 count: 226898 text: 340399 7355 1661 0 17bda5da6dab918116dcdadd1986bd6e props: 339260 12465 3130 0 de506844f3a9b02671ab929cc764eb4c cpath: /head copyroot: 0 / minfo-cnt: 123 minfo-here: y PLAIN K 11 ROADMAP.txt V 26 file 0-179453.0.r285589/70 K 4 head V 22 dir 5-1.0.r340399/9029 K 8 projects V 24 dir 6-1.0.r340368/814816 K 7 release V 22 dir 7-1.0.r335563/3312 K 6 releng V 23 dir 8-1.0.r338981/54579 K 6 stable V 22 dir 9-1.0.r340398/9811 K 8 svnadmin V 27 dir 0-179447.0.r340163/1303 K 4 user V 23 dir a-1.0.r340247/39973 K 6 vendor V 22 dir b-1.0.r340336/6745 K 13 vendor-crypto V 26 dir 0-1575.0.r339155/51219 K 10 vendor-sys V 26 dir 0-12116.0.r339982/8259 END ENDREP id: 0.0.r340399/9763 type: dir pred: 0.0.r340398/10473 count: 340399 text: 340399 9276 474 0 9b673a1a41a19903cbdddfb422dacfc8 props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 45487 x-292407.0.t340398-7az4 modify-file true false /head/sys/riscv/include/cpufunc.h 2n-292407.0.t340398-7az4 modify-file true false /head/sys/riscv/include/riscvreg.h 9763 9986