[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

@ -4,6 +4,7 @@
const uint64_t kYellowstoneGetRegistration = 0x01;
const uint64_t kYellowstoneGetAhci = 0x02;
const uint64_t kYellowstoneGetDenali = 0x03;
struct YellowstoneGetReq {
uint64_t type;
@ -14,3 +15,10 @@ struct YellowstoneGetAhciResp {
uint64_t type;
uint64_t ahci_phys_offset;
};
// Has a denali cap attached.
struct YellowstoneGetDenaliResp {
uint64_t type;
uint64_t device_id;
uint64_t lba_offset;
};