~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to hw/sparc/sun4m.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
{
143
143
    CPUState *cs;
144
144
 
 
145
    /* We should be holding the BQL before we mess with IRQs */
 
146
    g_assert(qemu_mutex_iothread_locked());
 
147
 
145
148
    if (env->pil_in && (env->interrupt_index == 0 ||
146
149
                        (env->interrupt_index & ~15) == TT_EXTINT)) {
147
150
        unsigned int i;
989
992
    slavio_misc_init(hwdef->slavio_base, hwdef->aux1_base, hwdef->aux2_base,
990
993
                     slavio_irq[30], fdc_tc);
991
994
 
992
 
    if (drive_get_max_bus(IF_SCSI) > 0) {
993
 
        fprintf(stderr, "qemu: too many SCSI bus\n");
994
 
        exit(1);
995
 
    }
996
 
 
997
995
    esp_init(hwdef->esp_base, 2,
998
996
             espdma_memory_read, espdma_memory_write,
999
997
             espdma, espdma_irq, &esp_reset, &dma_enable);