MCPcopy Create free account
hub / github.com/Ruddle/Fomos / wake

Method wake

bootloader/kernel/src/drivers/virtio_gpu.rs:35–42  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

33
34impl IdWaker {
35 pub fn wake(&mut self) {
36 let old = core::mem::replace(self, Self::Done);
37 if let IdWaker::Waker(e) = old {
38 e.wake();
39 } else {
40 log::error!("Nothing to wake");
41 }
42 }
43}
44
45lazy_static! {

Callers 2

lapic_timerFunction · 0.45
driveFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected