Tasking is now working under 32-bit

This commit is contained in:
Alex
2023-09-07 04:22:34 +03:00
parent 9e751dcc41
commit 446a571018
11 changed files with 83 additions and 100 deletions

View File

@@ -102,26 +102,13 @@ namespace InterruptDescriptorTable
asm("cld\n"
"cli\n"
// "push %eax\n"
// "push %ebx\n"
// "push %ecx\n"
// "push %edx\n"
// "push %esi\n"
// "push %edi\n"
// "push %ebp\n"
"pusha\n"
"push %esp\n"
"call ExceptionHandler\n"
"pop %esp\n"
"popa\n"
// "pop %ebp\n"
// "pop %edi\n"
// "pop %esi\n"
// "pop %edx\n"
// "pop %ecx\n"
// "pop %ebx\n"
// "pop %eax\n"
"add $8, %esp\n"
@@ -133,26 +120,13 @@ namespace InterruptDescriptorTable
asm("cld\n"
"cli\n"
// "push %eax\n"
// "push %ebx\n"
// "push %ecx\n"
// "push %edx\n"
// "push %esi\n"
// "push %edi\n"
// "push %ebp\n"
"pusha\n"
"push %esp\n"
"call MainInterruptHandler\n"
"pop %esp\n"
"popa\n"
// "pop %ebp\n"
// "pop %edi\n"
// "pop %esi\n"
// "pop %edx\n"
// "pop %ecx\n"
// "pop %ebx\n"
// "pop %eax\n"
"add $8, %esp\n"