Changeset 39684 in vbox for trunk/include/VBox
- Timestamp:
- Dec 29, 2011 5:50:00 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 75521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmifs.h
r39603 r39684 1768 1768 typedef enum PDMPARALLELPORTMODE 1769 1769 { 1770 PDM_PARALLEL_PORT_MODE_COMPAT, 1771 PDM_PARALLEL_PORT_MODE_EPP, 1772 PDM_PARALLEL_PORT_MODE_ECP 1770 /** First invalid mode. */ 1771 PDM_PARALLEL_PORT_MODE_INVALID = 0, 1772 /** SPP (Compatibility mode). */ 1773 PDM_PARALLEL_PORT_MODE_SPP, 1774 /** EPP Data mode. */ 1775 PDM_PARALLEL_PORT_MODE_EPP_DATA, 1776 /** EPP Address mode. */ 1777 PDM_PARALLEL_PORT_MODE_EPP_ADDR, 1778 /** ECP mode (not implemented yet). */ 1779 PDM_PARALLEL_PORT_MODE_ECP, 1780 /** 32bit hack. */ 1781 PDM_PARALLEL_PORT_MODE_32BIT_HACK = 0x7fffffff 1773 1782 } PDMPARALLELPORTMODE; 1774 1783 … … 1781 1790 typedef struct PDMIHOSTPARALLELPORT 1782 1791 { 1783 /**1784 * Deliver data read to the device/driver.1785 *1786 * @returns VBox status code.1787 * @param pInterface Pointer to the interface structure containing the called function pointer.1788 * @param pvBuf Where the read bits are stored.1789 * @param pcbRead Number of bytes available for reading/having been read.1790 * @thread Any thread.1791 */1792 DECLR3CALLBACKMEMBER(int, pfnNotifyRead,(PPDMIHOSTPARALLELPORT pInterface, const void *pvBuf, size_t *pcbRead));1793 1794 1792 /** 1795 1793 * Notify device/driver that an interrupt has occurred. … … 1802 1800 } PDMIHOSTPARALLELPORT; 1803 1801 /** PDMIHOSTPARALLELPORT interface ID. */ 1804 #define PDMIHOSTPARALLELPORT_IID " ac13e437-cd30-47ac-a271-6120571f3a22"1802 #define PDMIHOSTPARALLELPORT_IID "f24b8668-e7f6-4eaa-a14c-4aa2a5f7048e" 1805 1803 1806 1804 … … 1820 1818 * @param pInterface Pointer to the interface structure containing the called function pointer. 1821 1819 * @param pvBuf Where to store the write bits. 1822 * @param pcbWrite Number of bytes to write/bytes actually written. 1823 * @thread Any thread. 1824 */ 1825 DECLR3CALLBACKMEMBER(int, pfnWrite,(PPDMIHOSTPARALLELCONNECTOR pInterface, const void *pvBuf, size_t *pcbWrite)); 1820 * @param cbWrite Number of bytes to write. 1821 * @param enmMode Mode to write the data. 1822 * @thread Any thread. 1823 */ 1824 DECLR3CALLBACKMEMBER(int, pfnWrite,(PPDMIHOSTPARALLELCONNECTOR pInterface, const void *pvBuf, 1825 size_t cbWrite, PDMPARALLELPORTMODE enmMode)); 1826 1826 1827 1827 /** … … 1831 1831 * @param pInterface Pointer to the interface structure containing the called function pointer. 1832 1832 * @param pvBuf Where to store the read bits. 1833 * @param pcbRead Number of bytes to read/bytes actually read. 1834 * @thread Any thread. 1835 */ 1836 DECLR3CALLBACKMEMBER(int, pfnRead,(PPDMIHOSTPARALLELCONNECTOR pInterface, void *pvBuf, size_t *pcbRead)); 1833 * @param cbRead Number of bytes to read. 1834 * @param enmMode Mode to read the data. 1835 * @thread Any thread. 1836 */ 1837 DECLR3CALLBACKMEMBER(int, pfnRead,(PPDMIHOSTPARALLELCONNECTOR pInterface, void *pvBuf, 1838 size_t cbRead, PDMPARALLELPORTMODE enmMode)); 1839 1840 /** 1841 * Set data direction of the port (forward/reverse). 1842 * 1843 * @returns VBox status code. 1844 * @param pInterface Pointer to the interface structure containing the called function pointer. 1845 * @param fForward Flag whether to indicate whether the port is operated in forward or reverse mode. 1846 * @thread Any thread. 1847 */ 1848 DECLR3CALLBACKMEMBER(int, pfnSetPortDirection,(PPDMIHOSTPARALLELCONNECTOR pInterface, bool fForward)); 1837 1849 1838 1850 /** … … 1866 1878 DECLR3CALLBACKMEMBER(int, pfnReadStatus,(PPDMIHOSTPARALLELCONNECTOR pInterface, uint8_t *pfReg)); 1867 1879 1868 /**1869 * Set mode of the host parallel port.1870 *1871 * @returns VBox status code.1872 * @param pInterface Pointer to the interface structure containing the called function pointer.1873 * @param enmMode The mode of the host parallel port.1874 * @thread Any thread.1875 */1876 DECLR3CALLBACKMEMBER(int, pfnSetMode,(PPDMIHOSTPARALLELCONNECTOR pInterface, PDMPARALLELPORTMODE enmMode));1877 1880 } PDMIHOSTPARALLELCONNECTOR; 1878 1881 /** PDMIHOSTPARALLELCONNECTOR interface ID. */ 1879 #define PDMIHOSTPARALLELCONNECTOR_IID " a03567ca-b29e-4a1b-b2f3-a12435fa2982"1882 #define PDMIHOSTPARALLELCONNECTOR_IID "7c532602-7438-4fbc-9265-349d9f0415f9" 1880 1883 1881 1884
Note:
See TracChangeset
for help on using the changeset viewer.