version 1.1.1.6, 2018/04/24 18:13:02
|
version 1.1.1.7, 2018/04/24 18:15:07
|
Line 63 static void die_if_kernel(char * str,lon
|
Line 63 static void die_if_kernel(char * str,lon
|
long * esp = (long *) esp_ptr; |
long * esp = (long *) esp_ptr; |
int i; |
int i; |
|
|
if ((0xffff & esp[1]) == 0xf) |
if ((esp[2] & VM_MASK) || ((0xffff & esp[1]) == 0xf)) |
return; |
return; |
printk("%s: %04x\n\r",str,nr&0xffff); |
printk("%s: %04x\n\r",str,nr&0xffff); |
printk("EIP: %04x:%p\nEFLAGS: %p\n", 0xffff & esp[1],esp[0],esp[2]); |
printk("EIP: %04x:%p\nEFLAGS: %p\n", 0xffff & esp[1],esp[0],esp[2]); |