/[dynamips]/upstream/dynamips-0.2.7-RC1/dev_ap1011.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 /upstream/dynamips-0.2.7-RC1/dev_ap1011.c

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

upstream/dynamips-0.2.6-RC5/dev_ap1011.c revision 6 by dpavlin, Sat Oct 6 16:09:07 2007 UTC upstream/dynamips-0.2.7-RC1/dev_ap1011.c revision 7 by dpavlin, Sat Oct 6 16:23:47 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   * Cisco C7200 (Predator) Simulation Platform.   * Cisco router simulation platform.
3   * Copyright (c) 2006 Christophe Fillot.  All rights reserved.   * Copyright (c) 2006 Christophe Fillot.  All rights reserved.
4   *   *
5   * AP1011 - Sturgeon HyperTransport-PCI Bridge.   * AP1011 - Sturgeon HyperTransport-PCI Bridge.
# Line 11  Line 11 
11  #include <time.h>  #include <time.h>
12  #include <errno.h>  #include <errno.h>
13    
14  #include "mips64.h"  #include "cpu.h"
15    #include "vm.h"
16  #include "dynamips.h"  #include "dynamips.h"
17  #include "memory.h"  #include "memory.h"
18  #include "device.h"  #include "device.h"
# Line 24  Line 25 
25   *   *
26   * Read a PCI register.   * Read a PCI register.
27   */   */
28  static m_uint32_t pci_ap1011_read(cpu_mips_t *cpu,struct pci_device *dev,  static m_uint32_t pci_ap1011_read(cpu_gen_t *cpu,struct pci_device *dev,
29                                    int reg)                                    int reg)
30  {  {
31     switch (reg) {     switch (reg) {

Legend:
Removed from v.6  
changed lines
  Added in v.7

  ViewVC Help
Powered by ViewVC 1.1.26