mirror of
https://github.com/cccriscv/mini-riscv-os.git
synced 2025-11-16 04:24:33 +00:00
16 lines
253 B
C
16 lines
253 B
C
#ifndef __OS_H__
|
|
#define __OS_H__
|
|
|
|
#include "riscv.h"
|
|
#include "lib.h"
|
|
#include "task.h"
|
|
#include "timer.h"
|
|
|
|
extern void user_init();
|
|
extern void os_kernel();
|
|
extern int os_main(void);
|
|
extern void spinlock_lock();
|
|
extern void spinlock_unlock();
|
|
|
|
#endif
|