/* * Purpose: Solaris compatible partial DDI interface for OSS/Linux */ /* * * This file is part of Open Sound System. * * Copyright (C) 4Front Technologies 1996-2008. * * This this source file is released under GPL v2 license (no other versions). * See the COPYING file included in the main directory of this source * distribution for the license terms and conditions. * */ #ifndef NULL #define NULL 0 #endif typedef int ddi_iblock_cookie_t; typedef int kmutex_t; typedef int cred_t; typedef int ddi_acc_handle_t; typedef int kcondvar_t; typedef int ddi_dma_handle_t; typedef int ddi_dma_cookie_t; typedef int ddi_dma_win_t; typedef int ddi_dma_seg_t; typedef int offset_t; typedef int ddi_info_cmd_t; typedef int ddi_attach_cmd_t; typedef int ddi_detach_cmd_t; #include typedef struct _ddi_dma_attr_t { #define DMA_ATTR_V0 0 int a, b, c, d, e, f, g, h, i, j, k, l, m, n; } ddi_dma_attr_t; struct pollhead { int dummy; };