base: refactor process class (specifically FdMap and friends)
authorBrandon Potter <brandon.potter@amd.com>
Fri, 24 Jul 2015 19:25:22 +0000 (12:25 -0700)
committerBrandon Potter <brandon.potter@amd.com>
Fri, 24 Jul 2015 19:25:22 +0000 (12:25 -0700)
commitb90711ea53f51d85890dd6e1bed0ca852adb8074
treeeded5a2ba8f4b283271f1ee4c7deb508f3b42cac
parentef08046af413e2dc19cf7e8e1a3a329cc3c05bec
base: refactor process class (specifically FdMap and friends)

This patch extends the previous patch's alterations around fd_map.  It cleans
up some of the uglier code in the process file and replaces it with a more
concise C++11 version.  As part of the changes, the FdMap class is pulled out
of the Process class and receives its own file.
src/sim/SConscript
src/sim/fd_entry.cc [new file with mode: 0644]
src/sim/fd_entry.hh [new file with mode: 0644]
src/sim/process.cc
src/sim/process.hh
src/sim/serialize.hh
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh
util/cpt_upgrader.py