X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Flowlevel.asm;h=30979decebd40b0bad32b909f184c31d4bc5f1ad;hp=1e2f409d50d258853fe2818c68c36f03ee1e4cec;hb=fa12d18e251a4c936d1370636a088e54a5c75bfa;hpb=98b605668d81bfe0965d482d9d0da647f5cca267 diff --git a/palacios/src/geekos/lowlevel.asm b/palacios/src/geekos/lowlevel.asm index 1e2f409..30979de 100644 --- a/palacios/src/geekos/lowlevel.asm +++ b/palacios/src/geekos/lowlevel.asm @@ -2,7 +2,7 @@ ; Low level interrupt/thread handling code for GeekOS. ; Copyright (c) 2001,2003,2004 David H. Hovemeyer ; Copyright (c) 2003, Jeffrey K. Hollingsworth -; $Revision: 1.7 $ +; $Revision: 1.8 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". @@ -425,16 +425,16 @@ Handle_Interrupt: mov esi, [esp+REG_SKIP] ; get interrupt number mov ebx, [eax+esi*4] ; get address of handler function - push esi - call SerialPrintHex - pop esi +; push esi +; call SerialPrintHex +; pop esi - push eax - mov eax, 0xa - push eax - call SerialPutChar - pop eax - pop eax +; push eax +; mov eax, 0xa +; push eax +; call SerialPutChar +; pop eax +; pop eax ; Call the handler. ; The argument passed is a pointer to an Interrupt_State struct, @@ -516,19 +516,19 @@ Handle_Interrupt: Restore_Registers - pusha +; pusha - mov eax, 0xaa - push eax - call SerialPrintHex - pop eax +; mov eax, 0xaa +; push eax +; call SerialPrintHex +; pop eax - mov eax, 0xa - push eax - call SerialPutChar - pop eax +; mov eax, 0xa +; push eax +; call SerialPutChar +; pop eax - popa +; popa ; Return from the interrupt. iret