void *cpu_register_map_client(void *opaque, void (*callback)(void *opaque))

{

    MapClient *client = qemu_malloc(sizeof(*client));



    client->opaque = opaque;

    client->callback = callback;

    LIST_INSERT_HEAD(&map_client_list, client, link);

    return client;

}

void *cpu_register_map_client(void *opaque, void (*callback)(void *opaque))

{

    MapClient *client = qemu_malloc(sizeof(*client));



    client->opaque = opaque;

    client->callback = callback;

    LIST_INSERT_HEAD(&map_client_list, client, link);

    return client;

}

void *FUNC_0(void *VAR_2, void (*VAR_1)(void *VAR_2))

{

    MapClient *client = qemu_malloc(sizeof(*client));



    client->VAR_2 = VAR_2;

    client->VAR_1 = VAR_1;

    LIST_INSERT_HEAD(&map_client_list, client, link);

    return client;

}

void *FUNC_0(void *VAR_2, void (*VAR_1)(void *VAR_2))
{ MapClient *client = qemu_malloc(sizeof(*client)); client->VAR_2 = VAR_2; client->VAR_1 = VAR_1; LIST_INSERT_HEAD(&map_client_list, client, link); return client; }