[Yellowstone] Move to yunq definition for yellowstone server.

This commit is contained in:
Drew Galbraith 2023-10-24 18:24:26 -07:00
parent 9c9fd167cd
commit 2b27af5814
22 changed files with 696 additions and 118 deletions

View file

@ -18,9 +18,8 @@ uint64_t main(uint64_t port_cap) {
uint64_t vaddr;
check(ZAddressSpaceMap(gSelfVmasCap, 0, gBootDenaliVmmoCap, &vaddr));
ASSIGN_OR_RETURN(glcr::UniquePtr<EndpointClient> client,
server->CreateClient());
check(SpawnProcessFromElfRegion(vaddr, glcr::Move(client)));
ASSIGN_OR_RETURN(YellowstoneClient client, server->CreateClient());
check(SpawnProcessFromElfRegion(vaddr, client.Capability()));
check(server_thread.Join());
check(registration_thread.Join());