Skip to content

Commit 0b4844d

Browse files
minor change in userland
1 parent 49ddc74 commit 0b4844d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/kernel/C/userland.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ __attribute__((section(".user")))
8383
__attribute__((naked))
8484
void user_entry() {
8585
asm volatile (
86-
"1: hlt\n" // halt CPU in an infinite loop
86+
"1: pause\n" // pause CPU in an infinite loop
8787
"jmp 1b\n"
8888
);
8989
}

0 commit comments

Comments
 (0)