Further parse AHCI information.
Send an IDENTIFY command to each drive and set up a hook to handle interrupts.
This commit is contained in:
parent
4e1888bd24
commit
0f0e39d1e9
25 changed files with 721 additions and 90 deletions
|
|
@ -51,6 +51,11 @@ struct ZMemoryObjectCreatePhysicalReq {
|
|||
uint64_t size;
|
||||
};
|
||||
|
||||
struct ZMemoryObjectCreatePhysicalResp {
|
||||
uint64_t vmmo_cap;
|
||||
uint64_t paddr;
|
||||
};
|
||||
|
||||
struct ZTempPcieConfigObjectCreateResp {
|
||||
uint64_t vmmo_cap;
|
||||
uint64_t vmmo_size;
|
||||
|
|
@ -80,3 +85,16 @@ struct ZChannelRecvReq {
|
|||
uint64_t chan_cap;
|
||||
ZMessage message;
|
||||
};
|
||||
|
||||
struct ZPortRecvReq {
|
||||
uint64_t port_cap;
|
||||
ZMessage message;
|
||||
};
|
||||
|
||||
struct ZIrqRegisterReq {
|
||||
uint64_t irq_num;
|
||||
};
|
||||
|
||||
struct ZIrqRegisterResp {
|
||||
uint64_t port_cap;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue