Hi, This patch corrects the following problems. 1. Fixed race condition where static variables "stashed_si" and "sc_tmp" were used after reenabling interrupts. 2. Made the assembly function "syscall_int" faster, use less code size and without the need to use the static variables "stashed_si" and "sc_tmp". 3. Removed unused functions "save_regs" and "load_regs", and the now unused variables "stashed_si" and "sc_tmp". There is a reduction of 16 bytes in code size. The kernel was built and the Image tested in qemu and dioscuri emulators. Also tested in a ppro pc booting from floppy. Greetings, Juan
Attachment:
elksE.patch
Description: Binary data