[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
|
|
@ -35,7 +35,7 @@ AhciDevice::AhciDevice(AhciPort* port) : port_struct_(port) {
|
|||
port_struct_->interrupt_enable = 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
z_err_t AhciDevice::IssueCommand(Command* command) {
|
||||
glcr::ErrorCode AhciDevice::IssueCommand(Command* command) {
|
||||
command->PopulateFis(command_table_->command_fis);
|
||||
command->PopulatePrdt(command_table_->prdt);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue