DELTA 322361 7506 89 SVN³f·?ƒ‘S€K‚*‘Q€‚[—~”!€W‡G¬ƒ}#if __riscv_xlen == 64 #define TP_OFFSET 16 /* sizeof(struct tcb) */ #endif register_t val; if ((flags & RFPROC) == 0) return; if (td1 == curthread) { /* * Save the tp. These normally happen in cpu_switch, * but if userland changes this then forks this may * not have happened. */ __asm __volatile("mv %0, tp" : "=&r"(val)); td1->td_pcb->pcb_tp = val; /* RISCVTODO: save the FPU state here */ } + TP_OFFSET; if (td == curthread) __asm __volatile("mv tp, %0" :: "r"(pcb->pcb_tp))ENDREP id: 3c-295041.0.r337125/578 type: file pred: 3c-295041.0.r322361/44999 count: 11 text: 337125 0 550 7103 50a5c34f8d8c9ad8678a31ee441176b1 57a28e9b5d4da46f236a7db4326cab0c700ff2c5 337124-78g6/_5 props: 179448 45543 103 0 bb58aa814bbdf5f7c1ab04a05656f5a5 cpath: /head/sys/riscv/riscv/vm_machdep.c copyroot: 0 / PLAIN K 10 autoconf.c V 31 file 1p-295041.0.r295041/128796 K 13 bus_machdep.c V 29 file 1u-295041.0.r298635/1817 K 15 bus_space_asm.S V 28 file 6-298635.0.r298635/2129 K 16 busdma_machdep.c V 31 file 1w-295041.0.r320528/119490 K 7 clock.c V 31 file 1y-295041.0.r295041/129937 K 11 copyinout.S V 31 file 20-295041.0.r331254/119269 K 9 copystr.c V 31 file 22-295041.0.r295041/130503 K 13 cpufunc_asm.S V 30 file 24-295041.0.r322361/41572 K 11 db_disasm.c V 29 file i-296614.0.r296614/22464 K 14 db_interface.c V 29 file l-296614.0.r296614/22746 K 10 db_trace.c V 29 file n-296614.0.r296614/23030 K 14 dump_machdep.c V 31 file 28-295041.0.r295041/131355 K 13 elf_machdep.c V 28 file 2a-295041.0.r301205/258 K 11 exception.S V 31 file 2c-295041.0.r331254/119584 K 10 genassym.c V 30 file 2e-295041.0.r308731/75560 K 10 identcpu.c V 30 file 2g-295041.0.r303908/24947 K 10 in_cksum.c V 31 file 2i-295041.0.r325966/337897 K 14 intr_machdep.c V 30 file 2k-295041.0.r335007/13994 K 8 locore.S V 28 file 2m-295041.0.r335047/189 K 9 machdep.c V 29 file 2o-295041.0.r336009/1707 K 5 mem.c V 31 file 2q-295041.0.r295041/133917 K 18 minidump_machdep.c V 29 file 2s-295041.0.r317151/4470 K 12 mp_machdep.c V 29 file u-295972.0.r335007/14622 K 7 nexus.c V 30 file 2u-295041.0.r335007/14931 K 13 ofw_machdep.c V 25 file 4-298633.0.r298633/0 K 6 plic.c V 27 file i-335007.0.r335477/185 K 6 pmap.c V 30 file 2w-295041.0.r337051/34674 K 15 riscv_console.c V 29 file z-303908.0.r322361/43753 K 5 soc.c V 26 file 6-335006.0.r336686/87 K 15 stack_machdep.c V 29 file 6-295890.0.r296614/23310 K 9 support.S V 30 file 2y-295041.0.r332656/56676 K 7 swtch.S V 27 file 30-295041.0.r336712/50 K 13 sys_machdep.c V 31 file 32-295041.0.r295041/135615 K 7 timer.c V 30 file 34-295041.0.r335007/15517 K 6 trap.c V 30 file 36-295041.0.r332656/56987 K 13 uio_machdep.c V 31 file 38-295041.0.r295041/136463 K 13 uma_machdep.c V 30 file 3a-295041.0.r327900/42184 K 8 unwind.c V 29 file r-296614.0.r296614/23932 K 12 vm_machdep.c V 28 file 3c-295041.0.r337125/578 END ENDREP id: 1o-295041.0.r337125/2925 type: dir pred: 1o-295041.0.r337051/37021 count: 81 text: 337125 888 2024 0 cae46880b8e669fdd6b3ab177b5dcbab cpath: /head/sys/riscv/riscv copyroot: 0 / PLAIN K 4 conf V 27 dir 17-295041.0.r336900/462 K 7 include V 27 dir 4-292407.0.r336766/3393 K 5 riscv V 28 dir 1o-295041.0.r337125/2925 END ENDREP id: 2-292407.0.r337125/3255 type: dir pred: 2-292407.0.r337051/37354 count: 129 text: 337125 3107 135 0 4a9f66c1a8a58aa4650587987c2ddef9 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.r337051/6845 K 3 arm V 27 dir 2-70651.0.r337051/13872 K 5 arm64 V 28 dir 2-280364.0.r337051/17759 K 3 bsm V 29 dir 2-141144.0.r326023/239523 K 3 cam V 26 dir 2-39212.0.r336752/2021 K 4 cddl V 29 dir br-168404.0.r337030/15076 K 6 compat V 25 dir k-9313.0.r337056/3055 K 4 conf V 23 dir y-5.0.r337033/39351 K 7 contrib V 27 dir 2-23283.0.r336676/44078 K 6 crypto V 27 dir 7-55009.0.r336539/15765 K 3 ddb V 23 dir 10-5.0.r334209/2245 K 3 dev V 24 dir 12-5.0.r337053/54882 K 3 dts V 28 dir j-325826.0.r336770/40870 K 2 fs V 25 dir 2-1541.0.r336966/3565 K 3 gdb V 28 dir h-131899.0.r330539/27205 K 4 geom V 27 dir 2-13041.0.r336439/69271 K 3 gnu V 27 dir 2-1421.0.r335121/462611 K 4 i386 V 24 dir 1c-5.0.r337051/26588 K 3 isa V 23 dir 1w-5.0.r330783/6785 K 4 kern V 24 dir 20-5.0.r337123/12148 K 7 kgssapi V 29 dir 13-184588.0.r336439/72817 K 7 libkern V 25 dir 9-1542.0.r335498/4571 K 4 mips V 28 dir 2-178171.0.r337051/30509 K 7 modules V 26 dir i-2834.0.r337033/75295 K 3 net V 25 dir x-1542.0.r336909/6821 K 8 net80211 V 27 dir 2-116742.0.r336184/5105 K 8 netgraph V 28 dir 69-52419.0.r336676/63376 K 7 netinet V 27 dir 4f-1541.0.r337018/77548 K 8 netinet6 V 27 dir q-52904.0.r337018/80954 K 8 netipsec V 28 dir 2-105197.0.r336676/90190 K 7 netpfil V 30 dir 11-240494.0.r336676/100277 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.r336964/2574 K 10 opencrypto V 29 dir 2-104476.0.r336914/113497 K 7 powerpc V 24 dir 22-5.0.r337051/34503 K 5 riscv V 27 dir 2-292407.0.r337125/3255 K 3 rpc V 25 dir u-1839.0.r336542/5006 K 8 security V 26 dir 2-86630.0.r337031/2618 K 7 sparc64 V 27 dir 2-79054.0.r337051/41096 K 3 sys V 24 dir 28-5.0.r337053/71165 K 5 teken V 34 dir h-186681.0-196775.r334316/1020 K 5 tests V 27 dir f-290663.0.r336300/1128 K 5 tools V 27 dir 6k-1541.0.r331499/46041 K 3 ufs V 26 dir 1a-1542.0.r337055/1696 K 2 vm V 27 dir 1k-1542.0.r337051/44389 K 3 x86 V 30 dir 11-204309.0.r336914/133560 K 3 xdr V 30 dir 46-177633.0.r326272/311489 K 3 xen V 27 dir 2-181624.0.r336475/6625 END ENDREP id: g-5.0.r337125/5717 type: dir pred: g-5.0.r337123/14606 count: 120313 text: 337125 3430 2274 0 d09513c7e7c40f5bfc881b29cd3e3ce5 props: 201826 13530 46 0 af763326b561c4148fb4456ebd5fd345 cpath: /head/sys copyroot: 0 / minfo-cnt: 14 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 27 file 1-327183.0.r327183/306 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.r336434/134 K 13 Makefile.inc1 V 26 file 5-38666.0.r336608/219 K 18 Makefile.libcompat V 33 file 5-38666.0-296709.r336908/156 K 16 Makefile.sys.inc V 27 file 3-325973.0.r326580/260 K 17 ObsoleteFiles.inc V 28 file 4-148330.0.r336717/1104 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 27 file 1-41806.0.r337033/1029 K 3 bin V 22 dir 1-5.0.r336483/5793 K 4 cddl V 28 dir 1-168404.0.r337063/11711 K 7 contrib V 27 dir 1-16755.0.r337045/13028 K 6 crypto V 26 dir 1-25405.0.r333678/1630 K 3 etc V 23 dir 1-38.0.r336978/4169 K 3 gnu V 22 dir 1-3.0.r336351/2122 K 7 include V 25 dir 1-697.0.r336299/22257 K 9 kerberos5 V 27 dir 4q-29815.0.r336151/2004 K 3 lib V 22 dir 6-5.0.r337048/9144 K 7 libexec V 22 dir c-5.0.r337124/4285 K 7 release V 25 dir 1-3027.0.r337000/2276 K 6 rescue V 26 dir 7-117035.0.r325633/917 K 4 sbin V 24 dir fa-4.0.r336914/33298 K 6 secure V 27 dir r-1553.0.r333490/175440 K 5 share V 22 dir e-3.0.r337057/5841 K 5 stand V 34 dir 6j-38465.0-325834.r337065/7651 K 3 sys V 22 dir g-5.0.r337125/5717 K 7 targets V 35 dir 2-242818.1-284345.r336437/18573 K 5 tests V 27 dir g-257097.0.r337059/3699 K 5 tools V 28 dir 43-1590.0.r336914/151127 K 7 usr.bin V 23 dir m-3.0.r336929/13937 K 8 usr.sbin V 23 dir q-3.0.r337054/14421 END ENDREP id: 5-1.0.r337125/7631 type: dir pred: 5-1.0.r337124/6129 count: 224845 text: 337125 5952 1666 0 6ace1e19c7c51732fcd2e561619b82a8 props: 335839 0 3072 0 de1e5a2a5bd8da764c9e6fe6a93893b0 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.r337125/7631 K 8 projects V 23 dir 6-1.0.r337066/24459 K 7 release V 22 dir 7-1.0.r335563/3312 K 6 releng V 23 dir 8-1.0.r335510/19358 K 6 stable V 23 dir 9-1.0.r337122/58921 K 8 svnadmin V 27 dir 0-179447.0.r336808/1321 K 4 user V 23 dir a-1.0.r336705/38765 K 6 vendor V 23 dir b-1.0.r337047/22612 K 13 vendor-crypto V 25 dir 0-1575.0.r335075/4884 K 10 vendor-sys V 27 dir 0-12116.0.r337047/38801 END ENDREP id: 0.0.r337125/8362 type: dir pred: 0.0.r337124/6861 count: 337125 text: 337125 7874 475 0 372bb52dd46b6978f99f19349bd12f56 props: 289270 0 4229 0 20f578acc837c5e58fc64b9eaa493aea cpath: / copyroot: 0 / minfo-cnt: 45242 3c-295041.0.t337124-78g6 modify-file true false /head/sys/riscv/riscv/vm_machdep.c 8362 8584