[yellowstone] Add a way to retrieve to denali client from yellowstone

This commit is contained in:
Drew Galbraith 2023-07-05 16:03:20 -07:00
parent b83385dfa6
commit 29d9923f5a
10 changed files with 99 additions and 7 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <denali/denali_client.h>
#include <mammoth/endpoint_client.h>
#include <mammoth/memory_region.h>
#include <mammoth/port_client.h>
@ -10,6 +11,7 @@ class YellowstoneStub {
explicit YellowstoneStub(z_cap_t yellowstone_cap);
glcr::ErrorOr<MappedMemoryRegion> GetAhciConfig();
glcr::ErrorOr<ScopedDenaliClient> GetDenali();
[[nodiscard]] glcr::ErrorCode Register(glcr::String name,
const EndpointClient& client);