From e1ac9629398027186ef4c2a66772aeff2b4c6792 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Wed, 3 Sep 2014 07:42:21 -0400 Subject: 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. --- src/arch/null/isa_traits.hh | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/arch/null') diff --git a/src/arch/null/isa_traits.hh b/src/arch/null/isa_traits.hh index d09b1e876..8c45dd06b 100644 --- a/src/arch/null/isa_traits.hh +++ b/src/arch/null/isa_traits.hh @@ -51,9 +51,6 @@ namespace NullISA const Addr PageShift = 12; const Addr PageBytes = ULL(1) << PageShift; - const int LogVMPageSize = 12; // 4K bytes - const int VMPageSize = (1 << LogVMPageSize); - } #endif //__ARCH_NULL_ISA_TRAITS_HH__ -- cgit v1.2.3