File: oss_ddi.h

package info (click to toggle)
oss4 4.2-build2020-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 16,408 kB
  • sloc: ansic: 237,053; cpp: 18,981; sh: 4,909; pascal: 3,863; asm: 1,189; makefile: 646; php: 53; xml: 46
file content (44 lines) | stat: -rw-r--r-- 935 bytes parent folder | download
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
/*
 * 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;

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