staging: tidspbridge: remove IN modifier
[linux-2.6.git] / drivers / staging / tidspbridge / include / dspbridge / utildefs.h
blob8fe5414824ce4860283f748c8b0d9fb262332d04
1 /*
2 * utildefs.h
4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
6 * Global UTIL constants and types, shared between DSP API and DSPSYS.
8 * Copyright (C) 2005-2006 Texas Instruments, Inc.
10 * This package is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
14 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 #ifndef UTILDEFS_
20 #define UTILDEFS_
22 /* constants taken from configmg.h */
23 #define UTIL_MAXMEMREGS 9
24 #define UTIL_MAXIOPORTS 20
25 #define UTIL_MAXIRQS 7
26 #define UTIL_MAXDMACHNLS 7
28 /* misc. constants */
29 #define UTIL_MAXARGVS 10
31 /* Platform specific important info */
32 struct util_sysinfo {
33 /* Granularity of page protection; usually 1k or 4k */
34 u32 dw_page_size;
35 u32 dw_allocation_granularity; /* VM granularity, usually 64K */
36 u32 dw_number_of_processors; /* Used as sanity check */
39 #endif /* UTILDEFS_ */