blob: 0a7044ec0c7e7a9811006e08b3e5c763f7aa8e08 [file] [log] [blame]
swissChili52a03d82021-07-18 15:22:14 -07001#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 */
16extern void sys_giveup();