rtos: Support for interrupts. syscall: Event moved to syscall from runtime/noos.
Fix examples for new unprivileged task model.