mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add hashmarks to the status bar when a new name is registered
we can't guarantee that we're running only signed code at this point, so create a visual indicator of this.
This commit is contained in:
parent
bd8537f874
commit
699372d8d3
1 changed files with 1 additions and 0 deletions
|
|
@ -677,6 +677,7 @@ fn wrapped_main() -> ! {
|
||||||
Some(Opcode::RegisterName) => {
|
Some(Opcode::RegisterName) => {
|
||||||
let buffer = unsafe { Buffer::from_memory_message(msg.body.memory_message().unwrap()) };
|
let buffer = unsafe { Buffer::from_memory_message(msg.body.memory_message().unwrap()) };
|
||||||
let registration = buffer.to_original::<NameRegistration, _>().unwrap();
|
let registration = buffer.to_original::<NameRegistration, _>().unwrap();
|
||||||
|
gfx.set_devboot(); // indicate to users that we are no longer in a codebase that is exclusively trusted code
|
||||||
context_mgr.register_name(registration.name.to_str(), ®istration.auth_token);
|
context_mgr.register_name(registration.name.to_str(), ®istration.auth_token);
|
||||||
}
|
}
|
||||||
Some(Opcode::Quit) => break,
|
Some(Opcode::Quit) => break,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue