最初のページ フォールトが実行されると、カーネルがクラッシュします。そして、私のページ障害ハンドラーは次のようになります。
asm_page_error_wrapper:
PUSHA
movl %esp, %esi
pushl 48(%esi)/*esp,pusha has already been calculated*/
pushl 32(%esi)/*error*/
CALL page_error_interrupt
popl %ecx
popl %ecx
POPA
addl $4, %esp
IRET
gdb では " pushl 48(%esi)
" でクラッシュしました。
bochs ログの内容は次のとおりです。
理由はわかりません。