]> git.wh0rd.org - ICEs.git/blame - 153708/ice.i.5
add bfin ice
[ICEs.git] / 153708 / ice.i.5
CommitLineData
45516216 1inline void __iop13xx_ioremap(
2unsigned long cookie,
3unsigned long flags
4) {
5 unsigned int iop13xx_atux_mem_base;
6 switch (
7cookie
8) {
9 case 0x80000000UL ... (0x80000000UL + 0x3a000000UL - 1): if (iop13xx_atux_mem_base) break;
10 default: ior( );
11 }
12 };
13 void error_callback(int queueid) {
14 int i;
15 int imu_major ;
16 for ( i = 1;
17 ;
18 i++ ) {
19 if (addit(
20(((imu_major) << 20) | (i)), 1))
21foo(i);
22 __iop13xx_ioremap(
23((128*1024*1024) + (i * (16*64)))
24, 0
25);
26 iop_queue_init(
27(void *)(128*1024*1024) + (i * (16*64))
28);
29 }
30 }