feat: initial locking etc.
This commit is contained in:
@@ -30,3 +30,7 @@ void syscall_yield_job() {
|
||||
void syscall_yield_irq(uint16_t irq) {
|
||||
syscall2(SYSCALL_YIELD_IRQ, irq );
|
||||
}
|
||||
|
||||
void syscall_job_suspend() {
|
||||
syscall1(SYSCALL_SUSPEND);
|
||||
}
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#define SYSCALL_START_SCHEDULER 0x01
|
||||
#define SYSCALL_YIELD_JOB 0x02
|
||||
#define SYSCALL_YIELD_IRQ 0x03
|
||||
#define SYSCALL_SUSPEND 0x04
|
||||
|
||||
void noreturn syscall_start_scheduler();
|
||||
|
||||
@@ -17,4 +18,6 @@ void syscall_yield_job();
|
||||
|
||||
void syscall_yield_irq(uint16_t irq);
|
||||
|
||||
void syscall_job_suspend();
|
||||
|
||||
#endif //NEW_KERNEL_SYSCALL_H
|
||||
|
||||
Reference in New Issue
Block a user