mirror of
https://github.com/cccriscv/mini-riscv-os.git
synced 2025-11-16 12:34:33 +00:00
16 lines
200 B
C
16 lines
200 B
C
#include "os.h"
|
|
|
|
void os_start() {
|
|
lib_puts("OS start\n");
|
|
// user_init();
|
|
timer_init(); // start timer interrupt ...
|
|
}
|
|
|
|
int os_main(void)
|
|
{
|
|
os_start();
|
|
while (1) {} // stop here !
|
|
return 0;
|
|
}
|
|
|