1 |
/* |
/* |
2 |
* Copyright (C) 2004-2006 Anders Gavare. All rights reserved. |
* Copyright (C) 2004-2007 Anders Gavare. All rights reserved. |
3 |
* |
* |
4 |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
5 |
* modification, are permitted provided that the following conditions are met: |
* modification, are permitted provided that the following conditions are met: |
25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: dev_sgi_ip22.c,v 1.28 2006/03/04 12:38:48 debug Exp $ |
* $Id: dev_sgi_ip22.c,v 1.30 2007/01/28 14:15:30 debug Exp $ |
29 |
* |
* |
30 |
* SGI IP22 stuff. |
* SGI IP22 stuff. |
31 |
*/ |
*/ |
320 |
* some interrupt which should never be used anyway. |
* some interrupt which should never be used anyway. |
321 |
* (TODO: Fix this.) |
* (TODO: Fix this.) |
322 |
*/ |
*/ |
323 |
cpu_interrupt_ack(cpu, 8 + 63); |
|
324 |
|
fatal("TODO: ip22 legacy interrupt rewrite!\n"); |
325 |
|
abort(); |
326 |
|
|
327 |
|
// cpu_interrupt_ack(cpu, 8 + 63); |
328 |
debug("[ sgi_ip22: write to local0 IRQ MASK, " |
debug("[ sgi_ip22: write to local0 IRQ MASK, " |
329 |
"data=0x%llx ]\n", (long long)idata); |
"data=0x%llx ]\n", (long long)idata); |
330 |
} else { |
} else { |
344 |
case 0x0c: /* local1 irq mask */ |
case 0x0c: /* local1 irq mask */ |
345 |
if (writeflag == MEM_WRITE) { |
if (writeflag == MEM_WRITE) { |
346 |
/* See commen above, about local0 irq mask. */ |
/* See commen above, about local0 irq mask. */ |
347 |
cpu_interrupt_ack(cpu, 8 + 63); |
|
348 |
|
fatal("TODO: ip22 legacy interrupt rewrite!\n"); |
349 |
|
abort(); |
350 |
|
// cpu_interrupt_ack(cpu, 8 + 63); |
351 |
debug("[ sgi_ip22: write to local1 IRQ MASK, " |
debug("[ sgi_ip22: write to local1 IRQ MASK, " |
352 |
"data=0x%llx ]\n", (long long)idata); |
"data=0x%llx ]\n", (long long)idata); |
353 |
} else { |
} else { |