-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all platforms: update Mycelium dependencies (#343)
This updates our dependencies on Mycelium crates to hawkw/mycelium@ba56bb4. This picks up the new `maitake` timer API, as well as the upstream change hawkw/mycelium#487 to allow raw access to the IDT in the Mycelium x86_64 HAL, which we need to do an async UART driver (see #337). While updating everything to use the new timer API, I also made some tweaks to our existing timer code, including implementing 32-bit timer rollover for the D1's TIMER0 (our current timestamp source on that platform). This was an ancient TODO item since basically forever. Fixes #337 --------- Co-authored-by: Anatol Ulrich <[email protected]>
- Loading branch information
Showing
22 changed files
with
279 additions
and
158 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
[kernel] | ||
max_drivers = 16 | ||
timer_granularity = { secs = 0, nanos = 333 } | ||
|
||
[services.spawnulator] | ||
enabled = true | ||
|
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.