aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_device.h
diff options
context:
space:
mode:
authorJack Veenstra <veenstra@android.com>2009-05-05 10:35:03 -0700
committerJack Veenstra <veenstra@android.com>2009-05-06 11:37:48 -0700
commit9980bbb9965ee2df42f94aafa817e91835dad406 (patch)
tree0aaf7dd450026225c8cd59c69651711bb83edef6 /hw/goldfish_device.h
parentab42ada6ecfb81d6e231d5997b5892efd0fde5ad (diff)
downloadexternal_qemu-9980bbb9965ee2df42f94aafa817e91835dad406.zip
external_qemu-9980bbb9965ee2df42f94aafa817e91835dad406.tar.gz
external_qemu-9980bbb9965ee2df42f94aafa817e91835dad406.tar.bz2
Add support for tracing Java method entry/exit to qemu.
This is part of a larger change to add support for tracing Java methods. There is also a kernel change and a small change to the Dalvik interpreter that will be checked in separately. There used to be support for tracing Java methods but it relied on trapping every store and checking if the store address matched a special "magic" region (and that stopped working because we can no longer trap on loads and stores). The new approach uses a memory-mapped page to catch stores to just that page.
Diffstat (limited to 'hw/goldfish_device.h')
-rw-r--r--hw/goldfish_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/goldfish_device.h b/hw/goldfish_device.h
index abe102e..d04a166 100644
--- a/hw/goldfish_device.h
+++ b/hw/goldfish_device.h
@@ -51,7 +51,7 @@ void *goldfish_switch_add(char *name, uint32_t (*writefn)(void *opaque, uint32_t
void goldfish_switch_set_state(void *opaque, uint32_t state);
// these do not add a device
-void trace_dev_init(uint32_t base);
+void trace_dev_init();
void events_dev_init(uint32_t base, qemu_irq irq);
void nand_dev_init(uint32_t base);