-
Notifications
You must be signed in to change notification settings - Fork 86
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
revise network integration and add support of futures #117
Merged
Commits on Aug 2, 2021
-
revise network integration and add support of futures
smoltcp 0.7 provides async/await waker support (smoltcp-rs/smoltcp#394). I followed the example implementation https://github.com/embassy-rs/embassy/tree/net/embassy-net to add waker support in hermit-sys. However, hermit-sys can be used in a multi-threaded applications. Consequently, the implementation must be thread safed. In addition, we still have an "network thread", which is wakeup by an interrupt. The thread wakeups all waiting future. If no future is available, the thread calls directly the IP stack.
Configuration menu - View commit details
-
Copy full SHA for 6a7105f - Browse repository at this point
Copy the full SHA 6a7105fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 771a69d - Browse repository at this point
Copy the full SHA 771a69dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca0c202 - Browse repository at this point
Copy the full SHA ca0c202View commit details -
Configuration menu - View commit details
-
Copy full SHA for f885b64 - Browse repository at this point
Copy the full SHA f885b64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c937aa - Browse repository at this point
Copy the full SHA 9c937aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21ea149 - Browse repository at this point
Copy the full SHA 21ea149View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e9cab - Browse repository at this point
Copy the full SHA 09e9cabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16acfb4 - Browse repository at this point
Copy the full SHA 16acfb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e45e85 - Browse repository at this point
Copy the full SHA 3e45e85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c4ec91 - Browse repository at this point
Copy the full SHA 5c4ec91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd592e - Browse repository at this point
Copy the full SHA 0cd592eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd398fd - Browse repository at this point
Copy the full SHA cd398fdView commit details -
revise network integration and add support of futures
smoltcp 0.7 provides async/await waker support (smoltcp-rs/smoltcp#394). I followed the example implementation https://github.com/embassy-rs/embassy/tree/net/embassy-net to add waker support in hermit-sys. However, hermit-sys can be used in a multi-threaded applications. Consequently, the implementation must be thread safed. In addition, we still have an "network thread", which is wakeup by an interrupt. The thread wakeups all waiting future. If no future is available, the thread calls directly the IP stack.
Configuration menu - View commit details
-
Copy full SHA for ecb43e2 - Browse repository at this point
Copy the full SHA ecb43e2View commit details -
add support of C-based kernel interface
- the kernel uses the C calling convention and requires minor changes
Configuration menu - View commit details
-
Copy full SHA for d222540 - Browse repository at this point
Copy the full SHA d222540View commit details
Commits on Aug 4, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f85395d - Browse repository at this point
Copy the full SHA f85395dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d1ae0c - Browse repository at this point
Copy the full SHA 5d1ae0cView commit details
Commits on Aug 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5c3778b - Browse repository at this point
Copy the full SHA 5c3778bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1106162 - Browse repository at this point
Copy the full SHA 1106162View commit details
Commits on Aug 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b0c6dfc - Browse repository at this point
Copy the full SHA b0c6dfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fdcc7b - Browse repository at this point
Copy the full SHA 7fdcc7bView commit details -
switch to an older version of Qemu
- workaround is required for Windows - it seems that the latest Qemu version doesn't work correctly on Windows
Configuration menu - View commit details
-
Copy full SHA for 8c07573 - Browse repository at this point
Copy the full SHA 8c07573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d57d60 - Browse repository at this point
Copy the full SHA 0d57d60View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.