16#ifndef SIMICS_SYSTEMC_UTILITY_H
17#define SIMICS_SYSTEMC_UTILITY_H
27static void reset_payload(tlm::tlm_generic_payload *gp) {
29 gp->set_command(tlm::TLM_IGNORE_COMMAND);
30 gp->set_data_ptr(NULL);
31 gp->set_data_length(0);
32 gp->set_response_status(tlm::TLM_INCOMPLETE_RESPONSE);
33 gp->set_dmi_allowed(
false);
34 gp->set_byte_enable_ptr(NULL);
35 gp->set_byte_enable_length(0);
36 gp->set_streaming_width(0);
37 gp->set_gp_option(tlm::TLM_MIN_PAYLOAD);
Definition: pci_bus_interface.h:24