From 3886c4a8f2e1bfe17cbf7a5a76ba0fc978c6bb48 Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Wed, 9 Nov 2016 14:27:40 -0600 Subject: syscall_emul: [patch 5/22] remove LiveProcess class and use Process instead The EIOProcess class was removed recently and it was the only other class which derived from Process. Since every Process invocation is also a LiveProcess invocation, it makes sense to simplify the organization by combining the fields from LiveProcess into Process. --- src/gpu-compute/cl_driver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpu-compute/cl_driver.cc') diff --git a/src/gpu-compute/cl_driver.cc b/src/gpu-compute/cl_driver.cc index d6d1b1334..41ae3ab9a 100644 --- a/src/gpu-compute/cl_driver.cc +++ b/src/gpu-compute/cl_driver.cc @@ -91,7 +91,7 @@ ClDriver::handshake(GpuDispatcher *_dispatcher) } int -ClDriver::open(LiveProcess *p, ThreadContext *tc, int mode, int flags) +ClDriver::open(Process *p, ThreadContext *tc, int mode, int flags) { int fd = p->allocFD(-1, filename, 0, 0, false); FDEntry *fde = p->getFDEntry(fd); @@ -101,7 +101,7 @@ ClDriver::open(LiveProcess *p, ThreadContext *tc, int mode, int flags) } int -ClDriver::ioctl(LiveProcess *process, ThreadContext *tc, unsigned req) +ClDriver::ioctl(Process *process, ThreadContext *tc, unsigned req) { int index = 2; Addr buf_addr = process->getSyscallArg(tc, index); -- cgit v1.2.3