Add ns16550a
This commit is contained in:
parent
fef12c79f1
commit
704eae3bb0
16 changed files with 311 additions and 129 deletions
|
@ -29,7 +29,7 @@ impl Condvar {
|
|||
}
|
||||
|
||||
pub fn wait(&self) {
|
||||
let mut inner =self.inner.exclusive_access();
|
||||
let mut inner = self.inner.exclusive_access();
|
||||
inner.wait_queue.push_back(current_task().unwrap());
|
||||
drop(inner);
|
||||
block_current_and_run_next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue