Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 15th, 2012  |  syntax: None  |  size: 0.29 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. My kernel runs normally in qemu,but double fault in bochs
  2. asm_page_error_wrapper:
  3.     PUSHA  
  4.     movl %esp, %esi
  5.     pushl 48(%esi)/*esp,pusha has already been calculated*/
  6.     pushl 32(%esi)/*error*/
  7.     CALL page_error_interrupt
  8.     popl %ecx
  9.     popl %ecx
  10.     POPA
  11.     addl $4, %esp
  12.     IRET