mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-04 02:23:10 +00:00
- 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
11 lines
144 B
C
11 lines
144 B
C
#ifndef TIME_H
|
|
#define TIME_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void sleep(uint32_t ms) {
|
|
__asm__ volatile ("int $0x80" : : "a"(0), "b"(ms));
|
|
}
|
|
|
|
#endif
|