forked from AbleOS/ableos
Log number with buffer error
This commit is contained in:
parent
cb66c07a5f
commit
6f061153e6
|
@ -92,7 +92,9 @@ pub fn handler(vm: &mut Vm) {
|
||||||
msg_vec, buffer_id
|
msg_vec, buffer_id
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
None => log::error!("Access of non-existent buffer")
|
None => {
|
||||||
|
log::error!("Access of non-existent buffer {}", buffer_id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
drop(buffs);
|
drop(buffs);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,9 @@ fn main(){
|
||||||
std::Trace("Trace Deez");
|
std::Trace("Trace Deez");
|
||||||
|
|
||||||
std::ipc_send(2, 0, 0);
|
std::ipc_send(2, 0, 0);
|
||||||
|
|
||||||
|
std::ipc_make_bound_buffer(64);
|
||||||
|
|
||||||
std::ipc_send(3, 0, 0);
|
std::ipc_send(3, 0, 0);
|
||||||
|
|
||||||
tx();
|
tx();
|
||||||
|
|
Loading…
Reference in a new issue