Meng-Hung Chen

Results 9 issues of Meng-Hung Chen

Update the outdated command for helloworld sample. Linker will complain "undefined reference to typeinfo for cppgc::Platform" when linking the sample of cppgc, so I also add the `-fno-rtti` option for...

The stage-1 and stage-2 ELF are not identical. Check them with the following `diff` command: ```shell $ diff 33078: e58d60bc str r6, [sp, #188] ; 0xbc > 3307c: e59d7000 ldr...

Due to https://github.com/sysprog21/rv32emu/pull/444 , we need to update the binary with the new toolchain.

In the current flow of the JIT compilation, the simulation will be reverted back to the interpreter mode to deal with the translation of the virtual address to the physical...

research
enhancement

Given the growing scale of the project, the Makefile becomes more complex to set various kinds of features and check the related prerequisites. Using the automatic build tool might help...

enhancement
help wanted

Hi, I found an issue when using this repository as a submodule. When the repository is cloned to a non-root directory, the build would fail. Would you consider to make...

The current operation handlers of JIT are generated by the template in `src/rv32_template.c`. However, it is not worthwhile to do the additional conversion since it just uses the one-to-one mapping...

The current exception handling of userspace program simulation simply skip the misaligned memory operation and return from M-mode: https://github.com/sysprog21/rv32emu/blob/f7fd15be40711cdcfccbd5f7b838367b1a3fd682/src/emulate.c#L51-L55 And the handler is also missing in just-in-time (JIT) mode. The...

bug

The current peripheral management is a bit cumbersome to extend for new devices or additional harts. Since most common device operations are `init`, `update`, `mem_read`, and `mem_write`, we could extract...