fixed iret

This commit is contained in:
Simon
2025-05-10 22:16:22 +02:00
parent 2a0f0573db
commit d5dc4935a5
2 changed files with 2 additions and 3 deletions

View File

@@ -33,5 +33,4 @@ handle_keyboard_asm:
pop rsi; pop rsi;
pop rdi; pop rdi;
pop rax; pop rax;
add rsp, 4; iretq ;
iret ;

View File

@@ -77,7 +77,7 @@ extern "C" { // disable C++ name mangling for asm function
* \todo(12) Fetch a single key * \todo(12) Fetch a single key
* \todo(13) Extend to use the Prologue-Epilogue pattern * \todo(13) Extend to use the Prologue-Epilogue pattern
*/ */
void handle_keyboard(); void handle_keyboard();
} }
/*! \brief handle_panic /*! \brief handle_panic