[Yunq] Return status from client calls.
This commit is contained in:
parent
700f3f94cb
commit
c209925a3c
25 changed files with 102 additions and 112 deletions
|
|
@ -16,7 +16,7 @@ uint64_t main(uint64_t init_port_cap) {
|
|||
|
||||
YellowstoneClient stub(gInitEndpointCap);
|
||||
AhciInfo ahci;
|
||||
RET_ERR(stub.GetAhciInfo(ahci));
|
||||
check(stub.GetAhciInfo(ahci));
|
||||
mmth::OwnedMemoryRegion ahci_region =
|
||||
mmth::OwnedMemoryRegion::FromCapability(ahci.ahci_region());
|
||||
ASSIGN_OR_RETURN(auto driver, AhciDriver::Init(glcr::Move(ahci_region)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue