1 /****************************************************************************
3 * Copyright (C) 2005 - 2011 by Vivante Corp.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the license, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 *****************************************************************************/
24 #ifndef __gc_hal_kernel_os_h_
25 #define __gc_hal_kernel_os_h_
27 typedef struct _LINUX_MDL_MAP
31 struct vm_area_struct
* vma
;
32 struct _LINUX_MDL_MAP
* next
;
36 typedef struct _LINUX_MDL_MAP
* PLINUX_MDL_MAP
;
38 typedef struct _LINUX_MDL
43 #ifdef NO_DMA_COHERENT
45 #endif /* NO_DMA_COHERENT */
52 struct _LINUX_MDL
* prev
;
53 struct _LINUX_MDL
* next
;
55 LINUX_MDL
, *PLINUX_MDL
;
63 typedef struct _DRIVER_ARGS
65 gctPOINTER InputBuffer
;
66 gctUINT32 InputBufferSize
;
67 gctPOINTER OutputBuffer
;
68 gctUINT32 OutputBufferSize
;
72 /* Cleanup the signal table. */
74 gckOS_CleanProcessSignal(
79 #endif /* __gc_hal_kernel_os_h_ */