syscall_emul: Put BufferArg classes in a separate header.
authorSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 22 Oct 2014 22:53:34 +0000 (15:53 -0700)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Wed, 22 Oct 2014 22:53:34 +0000 (15:53 -0700)
commit44af2c6a6913d35a2c34bd928dbfdef3c16dcaf9
tree89217c9e07be0227d76b3930d90ba63648a2c9e6
parent44ec1d212499246be3cef40ce7c96a3f65286153
syscall_emul: 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.
src/sim/syscall_emul.hh
src/sim/syscall_emul_buf.hh [new file with mode: 0644]