feat: added support for waiting on an irq

This commit is contained in:
2021-02-27 15:52:10 +01:00
parent 934deb7984
commit 62ce1dfa77
8 changed files with 126 additions and 22 deletions

View File

@@ -14,6 +14,8 @@ void syscall_handle(isr_registers_t *registers) {
case SYSCALL_YIELD_JOB:
task_switch_next();
break;
case SYSCALL_YIELD_IRQ:
task_wait_irq(registers->ebx);
default:
break;
}