-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add Vmmap to src/rawposix #46
Comments
That would be great if @pranav-bhatt @ruchjoshi-nyu can post current VMMAP progress (including difficulties) and implementation details here |
Task tracker for implementing VMMAP in RawPOSIXAdd current code into RawPOSIX
IntegrationAddress picked by host calling vmmap, then use this addr to call kernel mmap, a function before mmap in dispatcher to check and pick addr for vmmap
All translation about address should be done in dispatcher stage. Including all functions related to pointers
Test
|
Below is the syscall list that uses pointer and doesn't use.
|
I think theres a few of these that should use pointers but may not be as evident? Like I believe things like select and poll should use pointers but not sure what the interface is now. Maybe @Yaxuan-w can chime in. |
The dispatcher.rs being compared by Chinmay is the one after merging the WASM API PR. In that PR, some syscalls (e.g., select, epoll_ctl, epoll_wait) were not added to the dispatcher. I have already opened an issue for this and assigned Robin to address the missing syscalls. |
This is where were going to add the vmmap for now so once the tests are up you two can PR to here.
The text was updated successfully, but these errors were encountered: