Pit handler save ebp

This commit is contained in:
Mathieu Maret 2021-11-02 23:05:56 +01:00
parent ebc90d3f06
commit 97d1e9ba2a
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@
pit_handler: // already got eflags, cs and eip on stack thanks to CPU
pushl $0 // err_code esp+12+7*4=40
pushl %ebp
movl %esp, %ebp
pushl %eax
pushl %ecx
pushl %edx