[denali] Use glcr::ErrorOr as a POC.

This commit is contained in:
Drew Galbraith 2023-06-21 18:38:11 -07:00
parent 0b86a94f14
commit 3a3ab8717b
7 changed files with 29 additions and 25 deletions

View file

@ -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();