18#include <conf/kernel.h>
19#include <arch/sysenter.h>
21#ifdef CMRX_ARCH_SMP_SUPPORTED
22# define os_start(core) _os_start((core))
24# define os_start() _os_start(0)
94uint32_t
diff_microtime(uint32_t older_timestamp, uint32_t newer_timestamp);
__SYSCALL long get_cpu_freq(void)
Obtain the current CPU frequency.
Definition std.c:4
uint32_t diff_microtime(uint32_t older_timestamp, uint32_t newer_timestamp)
Calculate a distance of two timestamps Small helper function to calculate the time between two timest...
Definition std.c:21
__SYSCALL uint32_t getmicrotime(void)
Obtain the current scheduler time.
Definition std.c:10
__SYSCALL uint32_t shutdown(void)
Shutdown CMRX kernel.
Definition std.c:16
#define __SYSCALL
Mark function as syscall entrypoint in userspace.
Definition sysenter.h:14
void _os_start(uint8_t start_core)
Start up scheduler.
Definition sched.c:537