![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#riscv勉強会 Unpriviledged Spec, Priviledged Spec, Debug Spec.の3つのISA仕様書ががある。
2019-12-20 19:39:26![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#riscv勉強会 Priviledged specは、CSR(Control Reg), Macgine level ISA< SuperVisor-level ISA, Exception, Interrupy , PLIC: External IntC, Physical Memory Attribute
2019-12-20 19:40:26![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#riscv勉強会 Unpriviledged Spec. ATOMIC命令は、OS書くのに必要。amoswap, amoadd, amoor, amoxorや、Load-Reserved/Store-Conditional (LR, SC命令), 条件付きCompare And Swap CAS命令がある
2019-12-20 19:41:39![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
Unprivilege Specificationの中にアトミックやLR/SCなど、OSが触る命令もある #riscvjp
2019-12-20 19:42:22![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#riscv勉強会 Procssor Specific Application Binary Interface (psABI) githubにおいてある
2019-12-20 19:42:33![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#riscv勉強会 SuperVisor Binary Interface (SBI)。タイマの設定、IPCをて供するfirmwareに関する仕様書。プロセッサ間割り込みIPI,TLBフラッシュIPI、コンソールへの一文字入出力(デバッグ)、シャットダウン命令もある
2019-12-20 19:43:39![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#riscv勉強会 -mcmodel=medany; relative jump from PC, 0mcmodel=medlow: physical address (option)
2019-12-20 19:44:14![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
デモの説明すら速すぎて追いついていけない回 youtube.com/watch?v=6Aj-VL… #riscvjp
2019-12-20 19:47:52![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#riscv勉強会 fence命令が入っている。csrw.satp,t0; // read page table; sfence.vma zero,zero; // flush TLB
2019-12-20 19:56:31