Working AHCI DMA IPC from yellowstone to denali.

We have a weird bug in context switching where a process's rsp0 ends up
pointing at the wrong value sometimes which crashes the OS.
This commit is contained in:
Drew Galbraith 2023-06-16 01:31:23 -07:00
parent ccfe1b15ab
commit e5da93757a
11 changed files with 171 additions and 84 deletions

View file

@ -9,6 +9,8 @@ class DenaliServer {
z_err_t RunServer();
void HandleResponse(uint64_t lba, uint64_t size, uint64_t cap);
private:
static const uint64_t kBuffSize = 1024;
uint64_t channel_cap_;
@ -16,6 +18,5 @@ class DenaliServer {
AhciDriver& driver_;
z_err_t HandleRead(const DenaliRead& read, DenaliReadResponse& resp,
uint64_t& mem_cap);
z_err_t HandleRead(const DenaliRead& read);
};