[Yellowstone] Spawn VFS and handle GetEndpoint.

This commit is contained in:
Drew Galbraith 2024-08-17 22:05:52 -07:00
parent e90018b42e
commit 090441ad04
2 changed files with 26 additions and 2 deletions

View file

@ -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
}