[Yunq] Reset cap buffers between server uses.

This commit is contained in:
Drew Galbraith 2023-10-25 20:46:36 -07:00
parent b85af8d0f8
commit 0dbafbfa66
5 changed files with 10 additions and 0 deletions

View file

@ -48,6 +48,7 @@ glcr::ErrorCode YellowstoneServer::HandleGetAhciInfo(const Empty&,
AhciInfo& info) {
info.set_ahci_region(pci_reader_.GetAhciVmmo());
info.set_region_length(kPcieConfigurationSize);
dbgln("Resp ahci");
return glcr::OK;
}
@ -58,6 +59,7 @@ glcr::ErrorCode YellowstoneServer::HandleGetDenali(const Empty&,
info.set_denali_endpoint(new_denali);
info.set_device_id(device_id_);
info.set_lba_offset(lba_offset_);
dbgln("Resp denali");
return glcr::OK;
}