[Yellowstone] Spawn VFS and handle GetEndpoint.
This commit is contained in:
parent
e90018b42e
commit
090441ad04
2 changed files with 26 additions and 2 deletions
|
|
@ -46,9 +46,17 @@ extern "C" fn main() -> z_err_t {
|
|||
.expect("Failed to spawn denali");
|
||||
|
||||
context.wait_denali().expect("Failed to wait for denali");
|
||||
|
||||
mammoth::debug!("Denali registered.");
|
||||
|
||||
spawn_from_vmmo(
|
||||
unsafe { mammoth::init::BOOT_VICTORIA_FALLS_VMMO },
|
||||
server.create_client_cap().unwrap(),
|
||||
)
|
||||
.expect("Failed to spawn victoriafalls");
|
||||
|
||||
context.wait_victoria_falls().unwrap();
|
||||
mammoth::debug!("VFS Registered");
|
||||
|
||||
server_thread.join().expect("Failed to join thread");
|
||||
0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue