quit_request is for internal use. This means the IP register was updated and qemu needs to rebuild the translation blocks. stop_request is set by the user (uc_emu_stop) to indecate that unicorn sould stop emulating.
code under riscv32/ is from riscv32-softmmu/target/riscv/*.inc.c code under riscv64/ is from riscv64-softmmu/target/riscv/*.inc.c WARNING: these code are autogen from scripts/decodetree.py, DO NOT modify them.