forked from PoliEcho-holding-org/kern
Minor documentation change
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
void sleep(uint32_t ms) {
|
||||
// Call syscall 0 (eax) with 'ms' miliseconds (ebx)
|
||||
__asm__ volatile ("int $0x80" : : "a"(0), "b"(ms));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user