Changeset 531 for soft/giet_vm/giet_xml


Ignore:
Timestamp:
Mar 27, 2015, 12:12:08 PM (10 years ago)
Author:
alain
Message:

Introduce the HBA_ISR for VciMultiAhci? component.

Location:
soft/giet_vm/giet_xml
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_xml/mapping_info.h

    r522 r531  
    263263{
    264264    unsigned int    srctype;         // source IRQ type (HWI / WTI / PTI)
    265     unsigned int    srcid;           // source IRQ index (for XCU/PIC component)
     265    unsigned int    srcid;           // source IRQ index (for XCU/PIC)
    266266    unsigned int    isr;             // ISR type (defined in irq_handler.h)
    267267    unsigned int    channel;         // channel index (for multi-channels ISR)
  • soft/giet_vm/giet_xml/xml_driver.c

    r522 r531  
    7070        "ISR_SPI",
    7171        "ISR_MWR",
     72        "ISR_HBA",
    7273    };
    7374
  • soft/giet_vm/giet_xml/xml_parser.c

    r522 r531  
    866866printf("        isr     = %s\n", str);
    867867#endif
    868         if      (strcmp(str, "ISR_TICK"   ) == 0)  irq[irq_index]->isr = ISR_TICK;
    869         else if (strcmp(str, "ISR_BDV"    ) == 0)  irq[irq_index]->isr = ISR_BDV;
    870         else if (strcmp(str, "ISR_CMA"    ) == 0)  irq[irq_index]->isr = ISR_CMA;
     868        if      (strcmp(str, "ISR_DEFAULT") == 0)  irq[irq_index]->isr = ISR_DEFAULT;
     869        else if (strcmp(str, "ISR_TICK"   ) == 0)  irq[irq_index]->isr = ISR_TICK;
    871870        else if (strcmp(str, "ISR_TTY_RX" ) == 0)  irq[irq_index]->isr = ISR_TTY_RX;
    872871        else if (strcmp(str, "ISR_TTY_TX" ) == 0)  irq[irq_index]->isr = ISR_TTY_TX;
     872        else if (strcmp(str, "ISR_BDV"    ) == 0)  irq[irq_index]->isr = ISR_BDV;
    873873        else if (strcmp(str, "ISR_TIMER"  ) == 0)  irq[irq_index]->isr = ISR_TIMER;
    874874        else if (strcmp(str, "ISR_WAKUP"  ) == 0)  irq[irq_index]->isr = ISR_WAKUP;
    875875        else if (strcmp(str, "ISR_NIC_RX" ) == 0)  irq[irq_index]->isr = ISR_NIC_RX;
    876876        else if (strcmp(str, "ISR_NIC_TX" ) == 0)  irq[irq_index]->isr = ISR_NIC_TX;
     877        else if (strcmp(str, "ISR_CMA"    ) == 0)  irq[irq_index]->isr = ISR_CMA;
    877878        else if (strcmp(str, "ISR_MMC"    ) == 0)  irq[irq_index]->isr = ISR_MMC;
    878879        else if (strcmp(str, "ISR_DMA"    ) == 0)  irq[irq_index]->isr = ISR_DMA;
    879880        else if (strcmp(str, "ISR_SPI"    ) == 0)  irq[irq_index]->isr = ISR_SPI;
    880         else if (strcmp(str, "ISR_DEFAULT") == 0)  irq[irq_index]->isr = ISR_DEFAULT;
     881        else if (strcmp(str, "ISR_MWR"    ) == 0)  irq[irq_index]->isr = ISR_MWR;
     882        else if (strcmp(str, "ISR_HBA"    ) == 0)  irq[irq_index]->isr = ISR_HBA;
    881883        else
    882884        {
Note: See TracChangeset for help on using the changeset viewer.