forked from AbleOS/ableos
kodin
5d152811b2
Co-authored-by: Talha Qamar <qamartalha@proton.me> Reviewed-on: https://git.ablecorp.us/AbleOS/ableos/pulls/22 Co-authored-by: kodin <kodin@yourmoms.house> Co-committed-by: kodin <kodin@yourmoms.house>
7 lines
209 B
Plaintext
7 lines
209 B
Plaintext
subscribe_to_interrupt := fn(interrupt_number: u8): bool {
|
|
return false
|
|
}
|
|
// Pauses execution until the interrupt occures
|
|
sleep_until_interrupt := fn(interrupt_number: u8): void {
|
|
@eca(6, interrupt_number)
|
|
} |