~ubuntu-branches/ubuntu/natty/qemu-linaro/natty

« back to all changes in this revision

Viewing changes to hw/ppc_prep.c

  • Committer: Package Import Robot
  • Author(s): Steve Langasek, Loïc Minier, Steve Langasek
  • Date: 2011-03-07 22:55:03 UTC
  • Revision ID: package-import@ubuntu.com-20110307225503-3opjapw0ksg7glo6
[ Loïc Minier ]
* Also pass -fno-var-tracking on armhf.

[ Steve Langasek ]
* New upstream release.
* Build with -marm on armel/armhf; Peter Maydell reports that building for
  Thumb-2 gives an emulator that doesn't work.
* Add support for cross-compiling the package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
static uint32_t ne2000_io[NE2000_NB_MAX] = { 0x300, 0x320, 0x340, 0x360, 0x280, 0x380 };
83
83
static int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 11, 3, 4, 5 };
84
84
 
85
 
//static PITState *pit;
 
85
//static ISADevice *pit;
86
86
 
87
87
/* ISA IO ports bridge */
88
88
#define PPC_IO_BASE 0x80000000
662
662
    /* init basic PC hardware */
663
663
    pci_vga_init(pci_bus);
664
664
    //    openpic = openpic_init(0x00000000, 0xF0000000, 1);
665
 
    //    pit = pit_init(0x40, i8259[0]);
 
665
    //    pit = pit_init(0x40, 0);
666
666
    rtc_init(2000, NULL);
667
667
 
668
668
    if (serial_hds[0])
690
690
        hd[i] = drive_get(IF_IDE, i / MAX_IDE_DEVS, i % MAX_IDE_DEVS);
691
691
    }
692
692
 
693
 
    for(i = 0; i < 1/*MAX_IDE_BUS*/; i++) {
 
693
    for(i = 0; i < MAX_IDE_BUS; i++) {
694
694
        isa_ide_init(ide_iobase[i], ide_iobase2[i], ide_irq[i],
695
695
                     hd[2 * i],
696
696
                     hd[2 * i + 1]);