forked from PoliEcho-holding-org/kern
Include file restructure!
- include/ now has subdirs - standard C headers will be in 'include/c'. Any program can include these - all other header shall only be used by the kernel
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#ifndef TIME_H
|
||||
#define TIME_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void sleep(uint32_t ms) {
|
||||
__asm__ volatile ("int $0x80" : : "a"(0), "b"(ms));
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user