LekKit

Results 239 comments of LekKit

Since 0666655, RVVM should behave on Windows hosts in suspend the same way it does on Linux (Monotonic clocksource skips time in suspend). Some other systems may need a similar...

Fixed clocksource jumps after suspend on MacOS and OpenBSD too. Now all that's left is to pause clocksource when RVVM machine is explicitly paused, etc.

Many guests at this point have proper support for NTP out of the box (Arch RISC-V, Debian, Fedora). After prolonged periods of suspend on the host and later wakeup, guests...

I also stumbled upon this. My project build system extracts compiler brand (GCC / Clang / possibly TCC etc) and version via `cc -v`, and falls back to `cc -dumpfullversion...

This line confirms my thoughts: https://github.com/riscv-software-src/opensbi/blob/b9c091ed890224dc83a152d897965c7a332c1504/lib/sbi/sbi_emulate_csr.c#L73 It seems fairly weird that this is a thing even, CSR reads are not supposed to slow down the trap handling much? (unless they...

It might also make sense to delegate illegal instruction traps to supervisor mode if it's figured at runtime that no instruction emulation is necessary for the board in question (To...

> I think that would need a hardcoded list of "known-good" CPUs or SoCs in the firmware. An SBI call wouldn't be sufficient by itself, because S-mode software doesn't know...

P.S. I also firmly believe an occasional invalid IRQ should not be able to bring the system down, but just print a warning, disable an interrupt and keep going. The...

> I succeeded in compiling RVVM with [cosmopolitan libc](https://justine.lol/cosmopolitan/index.html) Oh that's really nice. I have thought about it a while ago but did not actually touch it myself yet. >...

Ah, figured out `VMIN` only affects `stdin` blocking behavior, but not `stdout`. There's no harm in removing it then and initializing `VMIN` to zero.