d0iasm / rvemu

RISC-V emulator for CLI and Web written in Rust with WebAssembly. It supports xv6 and Linux (ongoing).
https://rvemu.app/
MIT License
774 stars 58 forks source link

Bus memory region ends off by one? #26

Open SamuelMcGowan opened 1 year ago

SamuelMcGowan commented 1 year ago

In bus.rs, the inclusive ..= range is used to match what memory region an address is in, but the _END constants seem to represent the address one past the end of their regions.