void *qemu_anon_ram_alloc(size_t size)

{

    void *ptr;



    /* FIXME: this is not exactly optimal solution since VirtualAlloc

       has 64Kb granularity, but at least it guarantees us that the

       memory is page aligned. */

    ptr = VirtualAlloc(NULL, size, MEM_COMMIT, PAGE_READWRITE);

    trace_qemu_anon_ram_alloc(size, ptr);

    return ptr;

}

void *qemu_anon_ram_alloc(size_t size)

{

    void *ptr;



    





    ptr = VirtualAlloc(NULL, size, MEM_COMMIT, PAGE_READWRITE);

    trace_qemu_anon_ram_alloc(size, ptr);

    return ptr;

}

void *FUNC_0(size_t VAR_0)

{

    void *VAR_1;



    





    VAR_1 = VirtualAlloc(NULL, VAR_0, MEM_COMMIT, PAGE_READWRITE);

    trace_qemu_anon_ram_alloc(VAR_0, VAR_1);

    return VAR_1;

}

void *FUNC_0(size_t VAR_0)
{ void *VAR_1; VAR_1 = VirtualAlloc(NULL, VAR_0, MEM_COMMIT, PAGE_READWRITE); trace_qemu_anon_ram_alloc(VAR_0, VAR_1); return VAR_1; }