Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flash: fixed address with MAP_FIXED to avoid leakage (#150)
We are using fixed virtual address for flash space to avoid resource leakage when the nemu so is instantiated multiple times. The reason is noted in paddr.c:79 according to the Linux manual at https://man7.org/linux/man-pages/man2/mmap.2.html.
- Loading branch information