syscall emulation: Put BufferArg classes in a separate header.
Review Request #2410 - Created Sept. 23, 2014 and submitted
Information | |
---|---|
Steve Reinhardt | |
gem5 | |
default | |
Reviewers | |
Default | |
Changeset 10413:46f0e0fb8d5c --------------------------- syscall emulation: Put BufferArg classes in a separate header. Move the BufferArg classes that support syscall buffer args (i.e., pointers into simulated user space) out of syscall_emul.hh and into a new header syscall_emul_buf.hh so they are accessible to emulated driver implementations. Take the opportunity to add some comments as well.
Ship It!
-
src/sim/syscall_emul_buf.hh (Diff revision 1) -
addr and size could even be const