/[gxemul]/trunk/src/devices/dev_sgi_ip22.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/devices/dev_sgi_ip22.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 34 by dpavlin, Mon Oct 8 16:21:17 2007 UTC
# Line 1  Line 1 
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:
# Line 25  Line 25 
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   */   */
# Line 320  DEVICE_ACCESS(sgi_ip22) Line 320  DEVICE_ACCESS(sgi_ip22)
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 {
# Line 340  DEVICE_ACCESS(sgi_ip22) Line 344  DEVICE_ACCESS(sgi_ip22)
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 {

Legend:
Removed from v.24  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26