void msix_notify(PCIDevice *dev, unsigned vector)

{

    MSIMessage msg;



    if (vector >= dev->msix_entries_nr || !dev->msix_entry_used[vector])

        return;

    if (msix_is_masked(dev, vector)) {

        msix_set_pending(dev, vector);

        return;

    }



    msg = msix_get_message(dev, vector);



    stl_le_phys(&address_space_memory, msg.address, msg.data);

}

void msix_notify(PCIDevice *dev, unsigned vector)

{

    MSIMessage msg;



    if (vector >= dev->msix_entries_nr || !dev->msix_entry_used[vector])

        return;

    if (msix_is_masked(dev, vector)) {

        msix_set_pending(dev, vector);

        return;

    }



    msg = msix_get_message(dev, vector);



    stl_le_phys(&address_space_memory, msg.address, msg.data);

}

void FUNC_0(PCIDevice *VAR_0, unsigned VAR_1)

{

    MSIMessage msg;



    if (VAR_1 >= VAR_0->msix_entries_nr || !VAR_0->msix_entry_used[VAR_1])

        return;

    if (msix_is_masked(VAR_0, VAR_1)) {

        msix_set_pending(VAR_0, VAR_1);

        return;

    }



    msg = msix_get_message(VAR_0, VAR_1);



    stl_le_phys(&address_space_memory, msg.address, msg.data);

}

void FUNC_0(PCIDevice *VAR_0, unsigned VAR_1)
{ MSIMessage msg; if (VAR_1 >= VAR_0->msix_entries_nr || !VAR_0->msix_entry_used[VAR_1])
return; if (msix_is_masked(VAR_0, VAR_1)) { msix_set_pending(VAR_0, VAR_1); return; } msg = msix_get_message(VAR_0, VAR_1); stl_le_phys(&address_space_memory, msg.address, msg.data); }