arch: Cleanup unused ISA traits constants
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 3 Sep 2014 11:42:21 +0000 (07:42 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 3 Sep 2014 11:42:21 +0000 (07:42 -0400)
commite1ac9629398027186ef4c2a66772aeff2b4c6792
tree69a2591a576690aeafca28eef2374b20b76d7c3c
parent23c85407562c3e2e2f3e1ca8b8dcbdc38fac82df
arch: Cleanup unused ISA traits constants

This patch prunes unused values, and also unifies how the values are
defined (not using an enum for ALPHA), aligning the use of int vs Addr
etc.

The patch also removes the duplication of PageBytes/PageShift and
VMPageSize/LogVMPageSize. For all ISAs the two pairs had identical
values and the latter has been removed.
24 files changed:
src/arch/alpha/isa_traits.hh
src/arch/alpha/process.cc
src/arch/arm/isa_traits.hh
src/arch/arm/process.cc
src/arch/arm/utility.cc
src/arch/mips/isa_traits.hh
src/arch/mips/process.cc
src/arch/null/isa_traits.hh
src/arch/power/isa_traits.hh
src/arch/power/process.cc
src/arch/sparc/isa_traits.hh
src/arch/sparc/process.cc
src/arch/x86/isa_traits.hh
src/arch/x86/process.cc
src/kern/tru64/tru64.hh
src/mem/cache/prefetch/base.cc
src/mem/multi_level_page_table_impl.hh
src/mem/page_table.hh
src/mem/ruby/common/Address.cc
src/mem/se_translating_port_proxy.cc
src/sim/process.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh
src/sim/system.cc