static void debugcon_ioport_write(void *opaque, hwaddr addr, uint64_t val,

                                  unsigned width)

{

    DebugconState *s = opaque;

    unsigned char ch = val;



#ifdef DEBUG_DEBUGCON

    printf(" [debugcon: write addr=0x%04" HWADDR_PRIx " val=0x%02" PRIx64 "]\n", addr, val);

#endif



    qemu_chr_fe_write(s->chr, &ch, 1);

}

static void debugcon_ioport_write(void *opaque, hwaddr addr, uint64_t val,

                                  unsigned width)

{

    DebugconState *s = opaque;

    unsigned char ch = val;



#ifdef DEBUG_DEBUGCON

    printf(" [debugcon: write addr=0x%04" HWADDR_PRIx " val=0x%02" PRIx64 "]\n", addr, val);

#endif



    qemu_chr_fe_write(s->chr, &ch, 1);

}

    qemu_chr_fe_write(s->chr, &ch, 1);
static void FUNC_0(void *VAR_0, hwaddr VAR_1, uint64_t VAR_2,

                                  unsigned VAR_3)

{

    DebugconState *s = VAR_0;

    unsigned char VAR_4 = VAR_2;



#ifdef DEBUG_DEBUGCON

    printf(" [debugcon: write VAR_1=0x%04" HWADDR_PRIx " VAR_2=0x%02" PRIx64 "]\n", VAR_1, VAR_2);

#endif



    qemu_chr_fe_write(s->chr, &VAR_4, 1);

}

static void FUNC_0(void *VAR_0, hwaddr VAR_1, uint64_t VAR_2,
unsigned VAR_3)
{ DebugconState *s = VAR_0; unsigned char VAR_4 = VAR_2; #ifdef DEBUG_DEBUGCON
printf(" [debugcon: write VAR_1=0x%04" HWADDR_PRIx " VAR_2=0x%02" PRIx64 "]\n", VAR_1, VAR_2); #endif
qemu_chr_fe_write(s->chr, &VAR_4, 1); }