summaryrefslogtreecommitdiff
path: root/kernel/OS/Linux/oss_ddi.h
blob: 36111feda5755524425c51bd1838311bcae670f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 <stdint.h>

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;
};