First iteration of denali server

This commit is contained in:
Drew Galbraith 2023-06-15 16:20:29 -07:00
parent 82b1a5c4db
commit ffa2d97a64
18 changed files with 273 additions and 39 deletions

View file

@ -29,9 +29,8 @@ class AhciDevice {
CommandTable* command_table_ = nullptr;
struct Command {
typedef void (*Callback)(AhciDevice*);
MappedMemoryRegion region;
Callback callback;
// std::function<void(MappedMemoryRegion)> callback;
};
Command commands_[32];
uint32_t commands_issued_ = 0;