_gio.h
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1k
- /*
- * Copyright 2003 by Texas Instruments Incorporated.
- * All rights reserved. Property of Texas Instruments Incorporated.
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
- *
- */
- /* "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)" */
- /*
- * ======== _gio.h ========
- * GIO private header file.
- *
- */
-
- #ifndef _GIO_
- #define _GIO_
- #include <std.h>
- #include <iom.h>
- #include <mem.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define _GIO_mkPacket() MEM_alloc(0, sizeof(IOM_Packet), 0);
- #define _GIO_rmPacket(packet) MEM_free(0, packet, sizeof(IOM_Packet));
- /*
- * Mini-driver's i/o completion callback routine.
- */
- extern Void _GIO_iomCallback(Ptr cbArg, IOM_Packet *packet);
- #ifdef __cplusplus
- }
- #endif /* extern "C" */
- #endif /* _GIO_ */