mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
log: call create_server syscall
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
5a1bcf4c21
commit
4cd6a5d64d
1 changed files with 2 additions and 0 deletions
|
|
@ -70,6 +70,8 @@ fn main() {
|
||||||
println!("Unexpected return value: {:?}", heap);
|
println!("Unexpected return value: {:?}", heap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let server_addr = xous::syscall::create_server().expect("couldn't create server");
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
println!("Waiting for an event...");
|
println!("Waiting for an event...");
|
||||||
xous::rsyscall(xous::SysCall::WaitEvent).expect("Couldn't call waitevent");
|
xous::rsyscall(xous::SysCall::WaitEvent).expect("Couldn't call waitevent");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue