| gem5
    v19.0.0.0
    | 
Extends the base class to include a host-backed file descriptor field that records the integer used to represent the file descriptor on the host and the file's flags. More...
#include <fd_entry.hh>
 
  
 | Public Member Functions | |
| HBFDEntry (int flags, int sim_fd, bool close_on_exec=false) | |
| HBFDEntry (HBFDEntry const ®, bool close_on_exec=false) | |
| std::shared_ptr< FDEntry > | clone () const override | 
| int | getFlags () const | 
| int | getSimFD () const | 
| void | setFlags (int flags) | 
| void | setSimFD (int sim_fd) | 
|  Public Member Functions inherited from FDEntry | |
| FDEntry (bool close_on_exec=false) | |
| bool | getCOE () const | 
| void | setCOE (bool close_on_exec) | 
| virtual void | serialize (CheckpointOut &cp) const | 
| Serialize an object.  More... | |
| virtual void | unserialize (CheckpointIn &cp) | 
| Unserialize an object.  More... | |
|  Public Member Functions inherited from Serializable | |
| Serializable () | |
| virtual | ~Serializable () | 
| void | serializeSection (CheckpointOut &cp, const char *name) const | 
| Serialize an object into a new section.  More... | |
| void | serializeSection (CheckpointOut &cp, const std::string &name) const | 
| void | unserializeSection (CheckpointIn &cp, const char *name) | 
| Unserialize an a child object.  More... | |
| void | unserializeSection (CheckpointIn &cp, const std::string &name) | 
| Protected Attributes | |
| int | _flags | 
| int | _simFD | 
|  Protected Attributes inherited from FDEntry | |
| bool | _closeOnExec | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from Serializable | |
| static const std::string & | currentSection () | 
| Get the fully-qualified name of the active section.  More... | |
| static void | serializeAll (const std::string &cpt_dir) | 
| static void | unserializeGlobals (CheckpointIn &cp) | 
|  Static Public Attributes inherited from Serializable | |
| static int | ckptCount = 0 | 
| static int | ckptMaxCount = 0 | 
| static int | ckptPrevCount = -1 | 
Extends the base class to include a host-backed file descriptor field that records the integer used to represent the file descriptor on the host and the file's flags.
Definition at line 76 of file fd_entry.hh.
| 
 | inline | 
Definition at line 79 of file fd_entry.hh.
| 
 | inline | 
Definition at line 83 of file fd_entry.hh.
| 
 | inlineoverridevirtual | 
Implements FDEntry.
Reimplemented in SocketFDEntry, PipeFDEntry, and FileFDEntry.
Definition at line 88 of file fd_entry.hh.
| 
 | inline | 
Definition at line 93 of file fd_entry.hh.
| 
 | inline | 
Definition at line 94 of file fd_entry.hh.
Referenced by Process::clone(), FDArray::closeFDEntry(), mmapFunc(), and FDArray::updateFileOffsets().
| 
 | inline | 
Definition at line 96 of file fd_entry.hh.
| 
 | inline | 
Definition at line 97 of file fd_entry.hh.
Referenced by Process::clone(), and FDArray::restoreFileOffsets().
| 
 | protected | 
Definition at line 100 of file fd_entry.hh.
| 
 | protected | 
Definition at line 101 of file fd_entry.hh.