|
@@ -55,7 +55,6 @@ struct io_attrs {
|
|
|
* -EINVAL: Invalid DSP word size (must be > 0).
|
|
|
* Invalid base address for DSP communications.
|
|
|
* Requires:
|
|
|
- * io_init(void) called.
|
|
|
* io_man != NULL.
|
|
|
* mgr_attrts != NULL.
|
|
|
* Ensures:
|
|
@@ -74,36 +73,8 @@ extern int io_create(struct io_mgr **io_man,
|
|
|
* 0: Success.
|
|
|
* -EFAULT: hio_mgr was invalid.
|
|
|
* Requires:
|
|
|
- * io_init(void) called.
|
|
|
* Ensures:
|
|
|
*/
|
|
|
extern int io_destroy(struct io_mgr *hio_mgr);
|
|
|
|
|
|
-/*
|
|
|
- * ======== io_exit ========
|
|
|
- * Purpose:
|
|
|
- * Discontinue usage of the IO module.
|
|
|
- * Parameters:
|
|
|
- * Returns:
|
|
|
- * Requires:
|
|
|
- * io_init(void) previously called.
|
|
|
- * Ensures:
|
|
|
- * Resources, if any acquired in io_init(void), are freed when the last
|
|
|
- * client of IO calls io_exit(void).
|
|
|
- */
|
|
|
-extern void io_exit(void);
|
|
|
-
|
|
|
-/*
|
|
|
- * ======== io_init ========
|
|
|
- * Purpose:
|
|
|
- * Initialize the IO module's private state.
|
|
|
- * Parameters:
|
|
|
- * Returns:
|
|
|
- * TRUE if initialized; FALSE if error occurred.
|
|
|
- * Requires:
|
|
|
- * Ensures:
|
|
|
- * A requirement for each of the other public CHNL functions.
|
|
|
- */
|
|
|
-extern bool io_init(void);
|
|
|
-
|
|
|
#endif /* CHNL_ */
|