summaryrefslogtreecommitdiff
path: root/src/kern/operatingsystem.hh
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-03-17 10:22:39 -0700
committerBrandon Potter <brandon.potter@amd.com>2016-03-17 10:22:39 -0700
commitb8688346a51860c7d582cf3fe310895e93a0ab6c (patch)
tree80d22e131e63a687a1b16129ba1e87994f04a0e2 /src/kern/operatingsystem.hh
parent75d691060742d59894c147ad1abde4c6c9803346 (diff)
downloadgem5-b8688346a51860c7d582cf3fe310895e93a0ab6c.tar.xz
syscall_emul: rename OpenFlagTransTable struct
The structure definition only had the open system call flag set in mind when it was named, so we rename it here with the intention of using it to define additional tables to translate flags for other system calls in the future.
Diffstat (limited to 'src/kern/operatingsystem.hh')
-rw-r--r--src/kern/operatingsystem.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kern/operatingsystem.hh b/src/kern/operatingsystem.hh
index fd5899cf8..f6f035f43 100644
--- a/src/kern/operatingsystem.hh
+++ b/src/kern/operatingsystem.hh
@@ -38,9 +38,9 @@
class LiveProcess;
class ThreadContext;
-/// This struct is used to build an target-OS-dependent table that
-/// maps the target's open() flags to the host open() flags.
-struct OpenFlagTransTable {
+/// This struct is used to build target-OS-dependent tables that
+/// map the target's flags to the host's flags.
+struct SyscallFlagTransTable {
int tgtFlag; //!< Target system flag value.
int hostFlag; //!< Corresponding host system flag value.
};