Compare commits

..

No commits in common. "11125325ca6b355dde3464ed2d4a27ccb91b5ab3" and "fc79a479579747ae9b8cbf4766877dc8be22b13f" have entirely different histories.

2 changed files with 0 additions and 16 deletions

View File

@ -1,14 +0,0 @@
.intel_syntax noprefix
.section .text
.global clear_registers
clear_registers:
xor eax, eax
xor ebx, ebx
xor ecx, ecx
xor edx, edx
xor esp, esp
xor ebp, ebp
xor esi, esi
xor edi, edi

View File

@ -9,7 +9,6 @@
extern uint32_t page_table1[1024];
extern const char *faults[];
void clear_registers(void);
__attribute__((noreturn)) void kpanic(const char *format, ...)
{
@ -31,7 +30,6 @@ __attribute__((noreturn)) void kpanic(const char *format, ...)
/* print_stack(); */
/* kprintf("\n\n"); */
/* kprintf("PRESS SPACE TO REBOOT"); */
clear_registers();
while (terminal_getkey().scan_code != KEY_SPACE)
;
reboot();