diff options
Diffstat (limited to 'target-arm/op_helper.c')
-rw-r--r-- | target-arm/op_helper.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c index bfb6be5..fc06536 100644 --- a/target-arm/op_helper.c +++ b/target-arm/op_helper.c @@ -134,19 +134,6 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr) env = saved_env; } -/* copy a string from the simulated virtual space to a buffer in QEMU */ -void vstrcpy(target_ulong ptr, char *buf, int max) -{ - int index; - - if (buf == NULL) return; - - for (index = 0; index < max; index += 1) { - cpu_physical_memory_read(ptr + index, (uint8_t*)buf + index, 1); - if (buf[index] == 0) - break; - } -} #endif /* FIXME: Pass an axplicit pointer to QF to CPUState, and move saturating |