···665 struct CmdBlk *CmdBlkP;666 uint sequence;667668-#ifdef CHECK669- CheckHost(Host);670- CheckRup(Rup);671- CheckHostP(HostP);672- CheckPacketP(PacketP);673-#endif674-675 /*676 ** If we haven't been told what to boot, we can't boot it.677 */···949 MyType = "RTA";950 MyName = HostP->Mapping[Rup].Name;951 }952-#ifdef CHECK953- CheckString(MyType);954- CheckString(MyName);955-#endif956-957 MyLink = RBYTE(PktCmdP->LinkNum);958959 /*···1297 }1298}12991300-#if 01301-/*1302- Function: This function is to disable the disk interrupt 1303- Returns : Nothing1304-*/1305-void1306-disable_interrupt(vector)1307-int vector;1308-{1309- int ps;1310- int val;1311-1312- disable(ps);1313- if (vector > 40) {1314- val = 1 << (vector - 40);1315- __outb(S8259+1, __inb(S8259+1) | val);1316- }1317- else {1318- val = 1 << (vector - 32);1319- __outb(M8259+1, __inb(M8259+1) | val);1320- }1321- restore(ps);1322-}1323-1324-/*1325- Function: This function is to enable the disk interrupt 1326- Returns : Nothing1327-*/1328-void1329-enable_interrupt(vector)1330-int vector;1331-{1332- int ps;1333- int val;1334-1335- disable(ps);1336- if (vector > 40) {1337- val = 1 << (vector - 40);1338- val = ~val;1339- __outb(S8259+1, __inb(S8259+1) & val);1340- }1341- else {1342- val = 1 << (vector - 32);1343- val = ~val;1344- __outb(M8259+1, __inb(M8259+1) & val);1345- }1346- restore(ps);1347-}1348-#endif
···665 struct CmdBlk *CmdBlkP;666 uint sequence;6670000000668 /*669 ** If we haven't been told what to boot, we can't boot it.670 */···956 MyType = "RTA";957 MyName = HostP->Mapping[Rup].Name;958 }00000959 MyLink = RBYTE(PktCmdP->LinkNum);960961 /*···1309 }1310}13110000000000000000000000000000000000000000000000000