On Fri, 18 Jul 2003, Dave Ashley wrote:
Inside src/arch/i386/lib/idt.c
case MEMSIZE: // who cares. eax = 64 * 1024; ret = 0; break; +#ifdef CONFIG_INT21HANDLER
- case 0x15:
ret=handleint21( &edi, &esi, &ebp, &esp,
&ebx, &edx, &ecx, &eax, &flags);
break;
+#endif default: printk_info(__FUNCTION__ ": Unsupport int #0x%x\n", intnumber); break; }
oh! how embarrasing!
This is good stuff, and you're implementing it just right.
IF you want to send a c-diff for the int21 stuff I'll apply it.
What I'll probably change is just have the INT21HANDLER call memsize() which works on all platforms.
sorry. ron