projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a2c0d
)
Fix compilation error on MacOS.
author
SeokYeon Hwang
<syeon.hwang@samsung.com>
Fri, 12 Jul 2013 09:15:17 +0000
(18:15 +0900)
committer
SeokYeon Hwang
<syeon.hwang@samsung.com>
Fri, 12 Jul 2013 09:15:17 +0000
(18:15 +0900)
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
target-i386/hax-darwin.c
patch
|
blob
|
history
diff --git
a/target-i386/hax-darwin.c
b/target-i386/hax-darwin.c
index 546973f45e026fbbc144817b0f16e6a41e0d2bc4..f8850aecd0f7eef921fdd2763370b38fcb58960f 100644
(file)
--- 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_v
malloc(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;