[zion] Move port calls to new syscall process.
This commit is contained in:
parent
77bb3acfb4
commit
bd431b94ce
11 changed files with 118 additions and 175 deletions
|
|
@ -141,7 +141,7 @@ void AhciDriver::InterruptLoop() {
|
|||
dbgln("Starting interrupt loop");
|
||||
while (true) {
|
||||
uint64_t bytes, caps;
|
||||
check(ZPortRecv(irq_port_cap_, 0, 0, 0, 0, &bytes, &caps));
|
||||
check(ZPortRecv(irq_port_cap_, &bytes, nullptr, &caps, nullptr));
|
||||
for (uint64_t i = 0; i < 32; i++) {
|
||||
if (devices_[i] != nullptr && devices_[i]->IsInit() &&
|
||||
(ahci_hba_->interrupt_status & (1 << i))) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue