static void pit_reset(void *opaque)

{

    PITState *pit = opaque;

    PITChannelState *s;

    int i;



    for(i = 0;i < 3; i++) {

        s = &pit->channels[i];

        s->mode = 3;

        s->gate = (i != 2);

        pit_load_count(s, 0);

    }

}

static void pit_reset(void *opaque)

{

    PITState *pit = opaque;

    PITChannelState *s;

    int i;



    for(i = 0;i < 3; i++) {

        s = &pit->channels[i];

        s->mode = 3;

        s->gate = (i != 2);

        pit_load_count(s, 0);

    }

}

static void FUNC_0(void *VAR_0)

{

    PITState *pit = VAR_0;

    PITChannelState *s;

    int VAR_1;



    for(VAR_1 = 0;VAR_1 < 3; VAR_1++) {

        s = &pit->channels[VAR_1];

        s->mode = 3;

        s->gate = (VAR_1 != 2);

        pit_load_count(s, 0);

    }

}

static void FUNC_0(void *VAR_0)
{ PITState *pit = VAR_0; PITChannelState *s; int VAR_1; for(VAR_1 = 0;VAR_1 < 3; VAR_1++) { s = &pit->channels[VAR_1]; s->mode = 3; s->gate = (VAR_1 != 2); pit_load_count(s, 0); } }