swissChili | 52a03d8 | 2021-07-18 15:22:14 -0700 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | // Bluejay System Calls | ||||
4 | |||||
5 | #define SYS_GIVEUP 0x100 | ||||
6 | |||||
7 | /// Bluejay interrupt number | ||||
8 | #define SYS_INT 0x80 | ||||
9 | |||||
10 | /** | ||||
11 | * @brief Gives up the current threads remaining CPU time. Unless you have set | ||||
12 | * the thread to waiting, it will resume next time the scheduler decides it's | ||||
13 | * its turn. The behaviour is identical to if the thread had just run out of | ||||
14 | * time naturally. | ||||
15 | */ | ||||
16 | extern void sys_giveup(); |