From: SeokYeon Hwang Date: Fri, 12 Jul 2013 09:15:17 +0000 (+0900) Subject: Fix compilation error on MacOS. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~900^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35b1582872e6cd6a52ddf4cf1f3a70b546bcbaf4;p=sdk%2Femulator%2Fqemu.git Fix compilation error on MacOS. Signed-off-by: SeokYeon Hwang --- diff --git a/target-i386/hax-darwin.c b/target-i386/hax-darwin.c index 546973f45e..f8850aecd0 100644 --- a/target-i386/hax-darwin.c +++ b/target-i386/hax-darwin.c @@ -22,7 +22,7 @@ static char* qemu_strdup(const char *str) { char *ptr; size_t len = strlen(str); - ptr = qemu_vmalloc(len + 1); + ptr = g_malloc(len + 1); memcpy(ptr, str, len+1); return ptr; } @@ -67,7 +67,7 @@ int hax_set_phys_mem(MemoryRegionSection *section) { struct hax_set_ram_info info, *pinfo = &info; MemoryRegionSection *mr = section->mr; - target_phys_addr_t start_addr = section->offset_within_address_space; + hwaddr start_addr = section->offset_within_address_space; ram_addr_t size = section->size; int ret;