projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03ff1c3
)
Use the TheISA namespace in case we're coming from a file that doesn't do that for...
author
Gabe Black
<gblack@eecs.umich.edu>
Fri, 9 Mar 2007 22:14:25 +0000
(22:14 +0000)
committer
Gabe Black
<gblack@eecs.umich.edu>
Fri, 9 Mar 2007 22:14:25 +0000
(22:14 +0000)
--HG--
extra : convert_revision :
0bb0e1457011505a99a871c443bc45f4365e9c7e
src/sim/syscall_emul.hh
patch
|
blob
|
history
diff --git
a/src/sim/syscall_emul.hh
b/src/sim/syscall_emul.hh
index 94ae8e3e6560d1d4643e608500a3ffd42974c0fb..a3d95b8ec9026545e996f87cf37ff5d76660ebcb 100644
(file)
--- a/
src/sim/syscall_emul.hh
+++ b/
src/sim/syscall_emul.hh
@@
-353,6
+353,8
@@
template <typename target_stat, typename host_stat>
static void
convertStatBuf(target_stat &tgt, host_stat *host, bool fakeTTY = false)
{
+ using namespace TheISA;
+
if (fakeTTY)
tgt->st_dev = 0xA;
else
@@
-395,6
+397,8
@@
template <typename target_stat, typename host_stat64>
static void
convertStat64Buf(target_stat &tgt, host_stat64 *host, bool fakeTTY = false)
{
+ using namespace TheISA;
+
convertStatBuf<target_stat, host_stat64>(tgt, host, fakeTTY);
#if defined(STAT_HAVE_NSEC)
tgt->st_atime_nsec = host->st_atime_nsec;