changeset 91b05b34b074 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=91b05b34b074
description:
syscall_emul: devirtualize BaseBufferArg methods
Not clear why they were marked virtual to begin with,
but that doesn't appear to be necessary.
diffstat:
src/sim/syscall_emul_buf.hh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 73a59d5e0923 -r 91b05b34b074 src/sim/syscall_emul_buf.hh
--- a/src/sim/syscall_emul_buf.hh Wed Oct 22 15:53:34 2014 -0700
+++ b/src/sim/syscall_emul_buf.hh Wed Oct 22 15:53:34 2014 -0700
@@ -70,12 +70,12 @@
memset(bufPtr, 0, size);
}
- virtual ~BaseBufferArg() { delete [] bufPtr; }
+ ~BaseBufferArg() { delete [] bufPtr; }
/**
* copy data into simulator space (read from target memory)
*/
- virtual bool copyIn(SETranslatingPortProxy &memproxy)
+ bool copyIn(SETranslatingPortProxy &memproxy)
{
memproxy.readBlob(addr, bufPtr, size);
return true; // no EFAULT detection for now
@@ -84,7 +84,7 @@
/**
* copy data out of simulator space (write to target memory)
*/
- virtual bool copyOut(SETranslatingPortProxy &memproxy)
+ bool copyOut(SETranslatingPortProxy &memproxy)
{
memproxy.writeBlob(addr, bufPtr, size);
return true; // no EFAULT detection for now
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev