From b8688346a51860c7d582cf3fe310895e93a0ab6c Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Thu, 17 Mar 2016 10:22:39 -0700 Subject: 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. --- src/arch/x86/linux/linux.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/arch/x86/linux/linux.hh') diff --git a/src/arch/x86/linux/linux.hh b/src/arch/x86/linux/linux.hh index b2047f65e..2fd61471e 100644 --- a/src/arch/x86/linux/linux.hh +++ b/src/arch/x86/linux/linux.hh @@ -67,7 +67,7 @@ class X86Linux64 : public Linux int64_t unused0[3]; } tgt_stat64; - static OpenFlagTransTable openFlagTable[]; + static SyscallFlagTransTable openFlagTable[]; static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY @@ -140,7 +140,7 @@ class X86Linux32 : public Linux uint64_t st_ino; } __attribute__((__packed__)) tgt_stat64; - static OpenFlagTransTable openFlagTable[]; + static SyscallFlagTransTable openFlagTable[]; static const int TGT_O_RDONLY = 00000000; //!< O_RDONLY static const int TGT_O_WRONLY = 00000001; //!< O_WRONLY -- cgit v1.2.3