···665665 struct CmdBlk *CmdBlkP;666666 uint sequence;667667668668-#ifdef CHECK669669- CheckHost(Host);670670- CheckRup(Rup);671671- CheckHostP(HostP);672672- CheckPacketP(PacketP);673673-#endif674674-675668 /*676669 ** If we haven't been told what to boot, we can't boot it.677670 */···949956 MyType = "RTA";950957 MyName = HostP->Mapping[Rup].Name;951958 }952952-#ifdef CHECK953953- CheckString(MyType);954954- CheckString(MyName);955955-#endif956956-957959 MyLink = RBYTE(PktCmdP->LinkNum);958960959961 /*···12971309 }12981310}1299131113001300-#if 013011301-/*13021302- Function: This function is to disable the disk interrupt 13031303- Returns : Nothing13041304-*/13051305-void13061306-disable_interrupt(vector)13071307-int vector;13081308-{13091309- int ps;13101310- int val;13111311-13121312- disable(ps);13131313- if (vector > 40) {13141314- val = 1 << (vector - 40);13151315- __outb(S8259+1, __inb(S8259+1) | val);13161316- }13171317- else {13181318- val = 1 << (vector - 32);13191319- __outb(M8259+1, __inb(M8259+1) | val);13201320- }13211321- restore(ps);13221322-}13231323-13241324-/*13251325- Function: This function is to enable the disk interrupt 13261326- Returns : Nothing13271327-*/13281328-void13291329-enable_interrupt(vector)13301330-int vector;13311331-{13321332- int ps;13331333- int val;13341334-13351335- disable(ps);13361336- if (vector > 40) {13371337- val = 1 << (vector - 40);13381338- val = ~val;13391339- __outb(S8259+1, __inb(S8259+1) & val);13401340- }13411341- else {13421342- val = 1 << (vector - 32);13431343- val = ~val;13441344- __outb(M8259+1, __inb(M8259+1) & val);13451345- }13461346- restore(ps);13471347-}13481348-#endif