[yellowstone] Add registration to yellowstone stub.

This commit is contained in:
Drew Galbraith 2023-07-05 15:01:29 -07:00
parent 72483a3437
commit c057da88ad
5 changed files with 27 additions and 16 deletions

View file

@ -2,6 +2,7 @@
#include <mammoth/endpoint_client.h>
#include <mammoth/memory_region.h>
#include <mammoth/port_client.h>
#include <ztypes.h>
class YellowstoneStub {
@ -10,6 +11,10 @@ class YellowstoneStub {
glcr::ErrorOr<MappedMemoryRegion> GetAhciConfig();
[[nodiscard]] glcr::ErrorCode Register(glcr::String name,
const EndpointClient& client);
private:
glcr::UniquePtr<EndpointClient> yellowstone_stub_;
PortClient register_port_;
};