diff options
Diffstat (limited to 'hw/goldfish_trace.c')
-rw-r--r-- | hw/goldfish_trace.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/hw/goldfish_trace.c b/hw/goldfish_trace.c index ee51a8b..02f9b8d 100644 --- a/hw/goldfish_trace.c +++ b/hw/goldfish_trace.c @@ -15,7 +15,6 @@ */ #include "qemu_file.h" #include "goldfish_trace.h" -#include "goldfish_pipe.h" #include "sysemu.h" #include "trace.h" #ifdef CONFIG_MEMCHECK @@ -177,7 +176,6 @@ static void trace_dev_write(void *opaque, target_phys_addr_t offset, uint32_t va memcheck_exit(value); } #endif // CONFIG_MEMCHECK - goldfish_pipe_thread_death((int)tid); break; case TRACE_DEV_REG_NAME: // record thread name vstrcpy(value, exec_path, CLIENT_PAGE_SIZE); @@ -350,13 +348,6 @@ static void trace_dev_write(void *opaque, target_phys_addr_t offset, uint32_t va break; #endif // CONFIG_MEMCHECK - case TRACE_DEV_PIPE_COMMAND: - case TRACE_DEV_PIPE_ADDRESS: - case TRACE_DEV_PIPE_SIZE: - case TRACE_DEV_PIPE_CHANNEL: - goldfish_pipe_write(tid, ((offset >> 2) - TRACE_DEV_PIPE_BASE), value); - break; - default: if (offset < 4096) { cpu_abort(cpu_single_env, "trace_dev_write: Bad offset %x\n", offset); @@ -379,12 +370,6 @@ static uint32_t trace_dev_read(void *opaque, target_phys_addr_t offset) case TRACE_DEV_REG_ENABLE: // tracing enable return tracing; - case TRACE_DEV_PIPE_COMMAND: - case TRACE_DEV_PIPE_ADDRESS: - case TRACE_DEV_PIPE_SIZE: - case TRACE_DEV_PIPE_CHANNEL: - return goldfish_pipe_read(tid, (offset >> 2) - TRACE_DEV_PIPE_BASE); - default: if (offset < 4096) { cpu_abort(cpu_single_env, "trace_dev_read: Bad offset %x\n", offset); |