From 1058def8e7827e56ce4a70afb4aeacb5dc44148f Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 3 May 2013 21:08:42 +0400 Subject: Imported Upstream version 4.2-build2006 --- kernel/OS/Linux/oss_ddi.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 kernel/OS/Linux/oss_ddi.h (limited to 'kernel/OS/Linux/oss_ddi.h') diff --git a/kernel/OS/Linux/oss_ddi.h b/kernel/OS/Linux/oss_ddi.h new file mode 100644 index 0000000..36111fe --- /dev/null +++ b/kernel/OS/Linux/oss_ddi.h @@ -0,0 +1,46 @@ +/* + * 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; +}; -- cgit v1.2.3