kern
diff src/panic.c @ 43:5f6c5751ae05
- implemented clone_vmem
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 25 Jul 2011 11:29:02 +0300 |
parents | 6c9138a87e02 |
children | 437360696883 |
line diff
1.1 --- a/src/panic.c Sun Jul 24 18:29:24 2011 +0300 1.2 +++ b/src/panic.c Mon Jul 25 11:29:02 2011 +0300 1.3 @@ -3,7 +3,7 @@ 1.4 #include <stdarg.h> 1.5 #include "asmops.h" 1.6 1.7 -struct registers { 1.8 +struct all_registers { 1.9 uint32_t eax, ebx, ecx, edx; 1.10 uint32_t esp, ebp, esi, edi; 1.11 uint32_t eflags; 1.12 @@ -12,12 +12,12 @@ 1.13 }; 1.14 1.15 /* defined in regs.S */ 1.16 -void get_regs(struct registers *regs); 1.17 +void get_regs(struct all_registers *regs); 1.18 1.19 void panic(const char *fmt, ...) 1.20 { 1.21 va_list ap; 1.22 - struct registers regs; 1.23 + struct all_registers regs; 1.24 1.25 disable_intr(); 1.26