summaryrefslogtreecommitdiff
path: root/arch/mips/isa/formats/util.isa
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-04-12 03:44:45 -0400
committerKorey Sewell <ksewell@umich.edu>2006-04-12 03:44:45 -0400
commit4fe89f7232202040b8b8fcea2461e5ae6be2d739 (patch)
tree71d4f25c95264ac9e9d47bb624cb4d8ddadbe078 /arch/mips/isa/formats/util.isa
parentda7990ab337699ae788809ddaea5ba5c363e0015 (diff)
downloadgem5-4fe89f7232202040b8b8fcea2461e5ae6be2d739.tar.xz
add OSFlags struct to AlphaISA/MipsISA namespace. The OS classes then use these OSFlags to access architecture-specific AND OS-specific
flags for their functions (e.g. OS::OSFlags::TG_MAP_ANONYMOUS)... arch/alpha/tru64/process.cc: sim/syscall_emul.hh: Add OSFlags to code arch/mips/isa/decoder.isa: slight decoder changes (more stylistic then anything) arch/mips/isa/formats/util.isa: spacing arch/mips/isa_traits.hh: add OSFlags struct to MipsISA namespace. The OS classes then use these OSFlags to access architecture-specific and OS-specific flags for their functions kern/linux/linux.hh: remove constant placement ... define OSFlags in linux.hh kern/tru64/tru64.hh: define OSFlags in tru64 --HG-- extra : convert_revision : 59be1036eb439ca4ea1eea1d3b52e508023de6c9
Diffstat (limited to 'arch/mips/isa/formats/util.isa')
-rw-r--r--arch/mips/isa/formats/util.isa4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/isa/formats/util.isa b/arch/mips/isa/formats/util.isa
index db4bf204a..dcdf46757 100644
--- a/arch/mips/isa/formats/util.isa
+++ b/arch/mips/isa/formats/util.isa
@@ -93,7 +93,9 @@ def LoadStoreBase(name, Name, ea_code, memacc_code, mem_flags, inst_flags,
output exec {{
-using namespace MipsISA;
+ using namespace MipsISA;
+
+
/// CLEAR ALL CPU INST/EXE HAZARDS