gmod-lcpu/native/projects/riscv
Lily Tsuru a5f7735d9a lucore: add Unique and Ref types
These alias the standard library unique_ptr and shared_ptr

riscv: Use Unique in many places
Uses lucore::Unique. This should hopefully help memory management somewhat.

lcpu: Use Unique
riscv::System::Create now creates a Unique

so does lucore::Library::OpenExisting
2023-08-02 05:30:18 -04:00
..
include/riscv lucore: add Unique and Ref types 2023-08-02 05:30:18 -04:00
src lucore: add Unique and Ref types 2023-08-02 05:30:18 -04:00
CMakeLists.txt wow holy shit lily finally figured out how to work on the cpu core! 2023-07-23 05:19:08 -04:00
README.md lcpu: officially support legacy 32bit branch 2023-07-29 16:59:51 -04:00

README.md

riscv

This is a simple RISC-V RV32IMA emulation library.

This is based off cnlohr/mini-rv32ima, but:

  • Rewritten in C++20 (because I like sanity)
  • Cleaned up vastly
  • Moved ALL device and MMIO code to seperate interfaces

Depends on lucore.

Usage

TBD (if this is moved to another repo). See the lcpu project