aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/sim_calls.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/sim_calls.c')
-rw-r--r--sim/ppc/sim_calls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c
index c59d3e1..c2cef9a 100644
--- a/sim/ppc/sim_calls.c
+++ b/sim/ppc/sim_calls.c
@@ -106,6 +106,7 @@ sim_open (char *args)
print_info = 1;
break;
case 'I':
+ current_model_issue = MODEL_ISSUE_PROCESS;
print_info = 2;
break;
}
@@ -341,7 +342,7 @@ zalloc(long size)
void *memory = (void*)xmalloc(size);
if (memory == NULL)
error("xmalloc failed\n");
- bzero(memory, size);
+ memset(memory, 0, size);
return memory;
}