Base dummy waker on RawWaker to avoid allocations

The Wake trait is based on Arc, which leads to deallocation on wakes. Since interrupts should not (de)allocate, this can lead to a deadlock.
This commit is contained in:
Philipp Oppermann
2020-03-22 16:11:25 +01:00
parent 90abd5c8c5
commit 51f90236a5
2 changed files with 18 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ name = "stack_overflow"
harness = false
[dependencies]
bootloader = { version = "0.8.0", features = ["map_physical_memory"]}
bootloader = { version = "0.9.0", features = ["map_physical_memory"], path = "../../../bootloader/master"}
volatile = "0.2.6"
spin = "0.5.2"
x86_64 = "0.9.6"