/[gxemul]/trunk/src/devices/dev_v3.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_v3.c

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

revision 41 by dpavlin, Mon Oct 8 16:21:17 2007 UTC revision 42 by dpavlin, Mon Oct 8 16:22:32 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *     *  
27   *   *
28   *  $Id: dev_v3.c,v 1.8 2007/01/20 13:26:20 debug Exp $   *  $Id: dev_v3.c,v 1.9 2007/06/15 18:13:04 debug Exp $
29   *     *  
30   *  V3 Semiconductor PCI controller.   *  COMMENT: V3 Semiconductor PCI controller
31   *   *
32   *  The ISA interrupt controller part forwards ISA interrupts as follows   *  The ISA interrupt controller part forwards ISA interrupts as follows
33   *  (on Algor P5064):   *  (on Algor P5064):
# Line 252  DEVINIT(v3) Line 252  DEVINIT(v3)
252          char pci_irq_base[200];          char pci_irq_base[200];
253          int i;          int i;
254    
255          d = malloc(sizeof(struct v3_data));          CHECK_ALLOCATION(d = malloc(sizeof(struct v3_data)));
         if (d == NULL) {  
                 fprintf(stderr, "out of memory\n");  
                 exit(1);  
         }  
256          memset(d, 0, sizeof(struct v3_data));          memset(d, 0, sizeof(struct v3_data));
257    
258          switch (devinit->machine->machine_type) {          switch (devinit->machine->machine_type) {

Legend:
Removed from v.41  
changed lines
  Added in v.42

  ViewVC Help
Powered by ViewVC 1.1.26