void qemu_register_reset(QEMUResetHandler *func, void *opaque)

{

    QEMUResetEntry *re = qemu_mallocz(sizeof(QEMUResetEntry));



    re->func = func;

    re->opaque = opaque;

    TAILQ_INSERT_TAIL(&reset_handlers, re, entry);

}

void qemu_register_reset(QEMUResetHandler *func, void *opaque)

{

    QEMUResetEntry *re = qemu_mallocz(sizeof(QEMUResetEntry));



    re->func = func;

    re->opaque = opaque;

    TAILQ_INSERT_TAIL(&reset_handlers, re, entry);

}

void FUNC_0(QEMUResetHandler *VAR_0, void *VAR_1)

{

    QEMUResetEntry *re = qemu_mallocz(sizeof(QEMUResetEntry));



    re->VAR_0 = VAR_0;

    re->VAR_1 = VAR_1;

    TAILQ_INSERT_TAIL(&reset_handlers, re, entry);

}

void FUNC_0(QEMUResetHandler *VAR_0, void *VAR_1)
{ QEMUResetEntry *re = qemu_mallocz(sizeof(QEMUResetEntry)); re->VAR_0 = VAR_0; re->VAR_1 = VAR_1; TAILQ_INSERT_TAIL(&reset_handlers, re, entry); }