⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 syslib.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 5 页
字号:
OK if operation succeeds, ERROR if operation fails.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciSpecialCycle"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciSpecialCycle</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciSpecialCycle</i>(&nbsp;)</strong> - generate a special cycle with a message</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciSpecialCycle    (    int    busNo,  /* bus number */    UINT32 message /* data driven onto AD[31:0] */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine generates a special cycle with a message.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if this library is not initialized</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciIntLibInit"></a></blockquote><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p><h1><b><i><a href="./sysLib.html#pciIntLibInit">pciIntLibInit</a></i>(&nbsp;)</b></h1><blockquote></a></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciIntLibInit ( void )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciInt"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciInt</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciInt</i>(&nbsp;)</strong> - interrupt handler for shared PCI interrupt.</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>VOID pciInt    (    int irq /* IRQ associated to the PCI interrupt */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine executes multiple interrupt handlers for a PCI interrupt.Each interrupt handler must check the device dependent interrupt status bitto determine the source of the interrupt, since it simply execute allinterrupt handlers in the link list.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciIntConnect"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciIntConnect</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciIntConnect</i>(&nbsp;)</strong> - connect the interrupt handler to the PCI interrupt.</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciIntConnect    (    VOIDFUNCPTR * vector,   /* interrupt vector to attach to */    VOIDFUNCPTR   routine,  /* routine to be called */    int           parameter /* parameter to be passed to routine */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine connects an interrupt handler to the PCI interrupt line(A - D).Link list is created if multiple handlers are assigned to the single PCIinterrupt.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, or ERROR if the interrupt handler cannot be built.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciIntDisconnect"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciIntDisconnect</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciIntDisconnect</i>(&nbsp;)</strong> - disconnect the interrupt handler from the PCI interrupt.</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciIntDisconnect    (    VOIDFUNCPTR * vector, /* interrupt vector to attach to */    VOIDFUNCPTR   routine /* routine to be called */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine disconnects the interrupt handler from the PCI interrupt line.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK, or ERROR if the interrupt handler cannot be removed.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciDeviceShow"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciDeviceShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciDeviceShow</i>(&nbsp;)</strong> - print information about PCI devices</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciDeviceShow    (    int busNo /* bus number */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints information about PCI devicesThere are two ways to find out an empty device.<p><dl><dt>- <dd>check Master Abort bit after the access.<p><dt>- <dd> check whether the read value is 0xffff. </dl><p>It uses the second method, since I didn't see the Master Abort bit ofthe host/PCI bridge changing.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if the library is not initialized.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciHeaderShow"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciHeaderShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciHeaderShow</i>(&nbsp;)</strong> - print a header of the specified PCI device</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciHeaderShow    (    int busNo,    /* bus number */    int deviceNo, /* device number */    int funcNo    /* function number */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints a header of the PCI device specified by busNo, deviceNo,and funcNo.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if this library is not initialized.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciFindDeviceShow"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciFindDeviceShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciFindDeviceShow</i>(&nbsp;)</strong> - find a device by deviceId, then print an information.</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciFindDeviceShow    (    int vendorId, /* vendor ID */    int deviceId, /* device ID */    int index     /* desired instance of device */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine finds a device by deviceId, then print an information.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if this library is not initialized.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="pciFindClassShow"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>pciFindClassShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>pciFindClassShow</i>(&nbsp;)</strong> - find a device by 24-bit class code</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS pciFindClassShow    (    int classCode, /* 24-bit class code */    int index      /* desired instance of device */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine finds a device by its 24-bit PCI class code, then prints itsinformation.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK, or ERROR if this library is not initialized.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sys557PciInit"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>sys557PciInit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sys557PciInit</i>(&nbsp;)</strong> - prepare LAN adapter for 82557 initialization</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void sys557PciInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine find out the PCI device, and map its memory and IO address.It must be done prior to initializing the 82557, <b><i><a href="./sysLib.html#sys557Init">sys557Init</a></i>(&nbsp;)</b>.  Alsomust be done prior to MMU initialization, <b><i>usrMmuInit</i>(&nbsp;)</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sys557Init"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>sys557Init</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sys557Init</i>(&nbsp;)</strong> - prepare LAN adapter for 82557 initialization</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS sys557Init    (    int              unit,  /* unit number */    FEI_BOARD_INFO * pBoard /* board information for the end driver */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine is expected to perform any adapter-specific or target-specificinitialization that must be done prior to initializing the 82557.<p>The 82557 driver calls this routine from the driver attach routine beforeany other routines in this library.<p>This routine returns the interrupt level the <i>pIntLvl</i> parameter.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR if the adapter could not be prepared for initialization.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sys557Show"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  Routines</i></a></p></blockquote><h1><i>sys557Show</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>sys557Show</i>(&nbsp;)</strong> - shows 82557 configuration </p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void sys557Show    (    int unit /* unit number */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>this routine shows (Intel Pro Express 100) configuration <p></blockquote><h4>RETURNS</h4><blockquote><p>N/A</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./sysLib.html#top">sysLib</a></b><hr><a name="sysEnetAddrGet"></a><p align=right><a href="rtnIndex.html"><i>pcPentium :  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -