[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,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <glacier/status/error.h>
|
||||
|
||||
#include "ahci/ahci_driver.h"
|
||||
#include "denali/denali.h"
|
||||
|
||||
|
|
@ -7,7 +9,7 @@ class DenaliServer {
|
|||
public:
|
||||
DenaliServer(uint64_t channel_cap, AhciDriver& driver);
|
||||
|
||||
z_err_t RunServer();
|
||||
glcr::ErrorCode RunServer();
|
||||
|
||||
void HandleResponse(uint64_t lba, uint64_t size, uint64_t cap);
|
||||
|
||||
|
|
@ -18,5 +20,5 @@ class DenaliServer {
|
|||
|
||||
AhciDriver& driver_;
|
||||
|
||||
z_err_t HandleRead(const DenaliRead& read);
|
||||
glcr::ErrorCode HandleRead(const DenaliRead& read);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue