diff options
Diffstat (limited to 'sys/arch/amd64/os')
| -rw-r--r-- | sys/arch/amd64/os/os_panic.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/arch/amd64/os/os_panic.c b/sys/arch/amd64/os/os_panic.c index cd55aac..d6aa95e 100644 --- a/sys/arch/amd64/os/os_panic.c +++ b/sys/arch/amd64/os/os_panic.c @@ -31,25 +31,6 @@ #include <mu/panic.h> void -mu_panic_preamble(void) -{ - static uint64_t sync = 0; - - asm volatile( - "cli\n\t" - "mov $1, %%rax\n\t" - "1:\n\t" - " pause\n\t" - " xchg %0, %%rax\n\t" - " or %%rax, %%rax\n\t" - " jnz 1b\n" - : - : "m" (sync) - : "memory" - ); -} - -void mu_panic_hcf(void) { for (;;) { |
