gem5/src
Brandon Potter d3d983caf9 syscall_emul: [patch 10/22] refactor fdentry and add fdarray class
Several large changes happen in this patch.

The FDEntry class is rewritten so that file descriptors now correspond to
types: 'File' which is normal file-backed file with the file open on the
host machine, 'Pipe' which is a pipe that has been opened on the host machine,
and 'Device' which does not have an open file on the host yet acts as a pseudo
device with which to issue ioctls. Other types which might be added in the
future are directory entries and sockets (off the top of my head).

The FDArray class was create to hold most of the file descriptor handling
that was stuffed into the Process class. It uses shared pointers and
the std::array type to hold the FDEntries mentioned above.

The changes to these two classes needed to be propagated out to the rest
of the code so there were quite a few changes for that. Also, comments were
added where I thought they were needed to help others and extend our
DOxygen coverage.
2016-11-09 14:27:42 -06:00
..
arch syscall_emul: [patch 9/22] remove unused global variable (num_processes) 2016-11-09 14:27:42 -06:00
base mem, stats: fix typos in CommMonitor and Stats 2017-02-15 14:59:06 -06:00
cpu sim, kvm: make KvmVM a System parameter 2017-02-14 15:09:18 -06:00
dev arm, kvm: Automatically use the MuxingKvmGic 2017-02-14 15:09:18 -06:00
doc sim: Adding support for power models 2016-06-06 17:16:44 +01:00
doxygen MEM: Put memory system document into doxygen 2012-09-25 11:49:41 -05:00
gpu-compute syscall_emul: [patch 10/22] refactor fdentry and add fdarray class 2016-11-09 14:27:42 -06:00
kern syscall_emul: [patch 5/22] remove LiveProcess class and use Process instead 2016-11-09 14:27:40 -06:00
mem mem, stats: fix typos in CommMonitor and Stats 2017-02-15 14:59:06 -06:00
proto proto: Fix warnings for protoc v3 2017-01-27 15:07:20 -06:00
python misc: Add Python.h header to pyevents.hh 2017-02-10 10:00:18 -05:00
sim syscall_emul: [patch 10/22] refactor fdentry and add fdarray class 2016-11-09 14:27:42 -06:00
unittest misc: Update #!env calls for python to explicit version 2017-02-10 10:00:18 -05:00
Doxyfile Doxygen: Update the version of the Doxyfile 2012-10-11 06:38:42 -04:00
SConscript python: Move native wrappers to the _m5 namespace 2017-01-27 12:40:01 +00:00