[denali] Use glcr::ErrorOr as a POC.
This commit is contained in:
parent
0b86a94f14
commit
3a3ab8717b
7 changed files with 29 additions and 25 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <glacier/status/error.h>
|
||||
#include <mammoth/memory_region.h>
|
||||
#include <ztypes.h>
|
||||
|
||||
|
|
@ -16,7 +17,7 @@ class AhciDevice {
|
|||
|
||||
bool IsInit() { return port_struct_ != nullptr && command_structures_; }
|
||||
|
||||
z_err_t IssueCommand(Command* command);
|
||||
glcr::ErrorCode IssueCommand(Command* command);
|
||||
|
||||
void HandleIrq();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue