Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flash: fixed address with MAP_FIXED to avoid leakage #150

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

poemonsense
Copy link
Member

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.

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.
@poemonsense poemonsense merged commit 8b7db86 into master Sep 6, 2023
2 checks passed
@poemonsense poemonsense deleted the opt-flash-1 branch September 6, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant