-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: user address space functionality (#246)
* feat: implement `USER` permission * rename `MmapSlice` to `UserMmap` * typo * remove `UnwindSafe` bound on `catch_traps` * remove `copy_from_user` & `copy_to_user` in favor of the more universal `with_user_memory_access` * fix: clear sum when entering trap handler * fixes * fix riscv register field setting and clearing * Update mod.rs * fix: `with_user_memory_access` passthrough return value * refactor: use `VirtualAddress` in error type * fix: kernel counter creation * more helpful assert messages * feat: implement `core::iter::Step` for address types * fix: respect `VMContext` field alignments * feat: exit `array_to_wasm_trampoline` with trap instead of return * refactor: move allocator and addressspace into store * fix `UserMmap` * run wasm tests * correct jumpt to userspace * fmt & clippy * Update main.rs
- Loading branch information
1 parent
c1f7992
commit c566320
Showing
46 changed files
with
856 additions
and
562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.