Displaying 1 result from an estimated 1 matches for "nr_exception_handl".
Did you mean:
nr_exception_handler
2006 Sep 19
0
Problem about rombios initializing network card''s PnP option ROM
...=1),and step by step run untill find a instruction (add sp, 0xeh) ,which cause stack underflow!
I modify the trap function in vm86.c and insert a breakpoint in scan_rom function in rombios.c
trap(int trapno, int errno, struct regs *regs)
{
/* emulate device interrupts */
if (trapno >= NR_EXCEPTION_HANDLER) {
int irq = trapno - NR_EXCEPTION_HANDLER;
if (irq < 8)
interrupt(regs, irq + 8);
else
interrupt(regs, 0x70 + (irq - 8));
return;
}
switch (trapno) {
case 0:
regs->eflags|=eflags.TF
regs->ei...