Displaying 1 result from an estimated 1 matches for "scan_rom".
Did you mean:
scan_for
2006 Sep 19
0
Problem about rombios initializing network card''s PnP option ROM
...an not init my network card''s pnp option rom ,
PS :
I trace the initialization by opening the debug 1 exception flag ( eflage.TF=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(...