acadia/sys/yellowstone/include/yellowstone.h
Drew Galbraith 48c6e5b3a4 [zion] Add a method for duplicating and scoping down VMMOs.
Use the AHCI section of the PCI config as an example POC of this.

We can now pass a memory capability instead of just the physical
address.
2023-08-01 17:46:26 -07:00

24 lines
471 B
C

#pragma once
#include <stdint.h>
const uint64_t kYellowstoneGetRegistration = 0x01;
const uint64_t kYellowstoneGetAhci = 0x02;
const uint64_t kYellowstoneGetDenali = 0x03;
struct YellowstoneGetReq {
uint64_t type;
};
struct YellowstoneGetRegistrationResp {};
struct YellowstoneGetAhciResp {
uint64_t type;
uint64_t ahci_length;
};
// Has a denali cap attached.
struct YellowstoneGetDenaliResp {
uint64_t type;
uint64_t device_id;
uint64_t lba_offset;
};