diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:07 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:07 -0500 |
commit | 319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf (patch) | |
tree | 49e9d2efb1b21b93cc825dbcbb2c906cbe71fa31 /src/arch/arm | |
parent | b44e0ce52b894fd4eecc9339e213b7a111c2cc1d (diff) | |
download | gem5-319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf.tar.xz |
scons: Add warning for missing declarations
This patch enables warnings for missing declarations. To avoid issues
with SWIG-generated code, the warning is only applied to non-SWIG
code.
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/isa/formats/misc.isa | 2 | ||||
-rw-r--r-- | src/arch/arm/isa/insts/m5ops.isa | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/arm/isa/formats/misc.isa b/src/arch/arm/isa/formats/misc.isa index 3865cffe2..00a37d17b 100644 --- a/src/arch/arm/isa/formats/misc.isa +++ b/src/arch/arm/isa/formats/misc.isa @@ -81,7 +81,7 @@ def format ArmMsrMrs() {{ let {{ header_output = ''' StaticInstPtr - decodeMcrMrc15(ExtMachInst machInst); + decodeMcrMrc14(ExtMachInst machInst); ''' decoder_output = ''' StaticInstPtr diff --git a/src/arch/arm/isa/insts/m5ops.isa b/src/arch/arm/isa/insts/m5ops.isa index a32bf6dfc..272f16b17 100644 --- a/src/arch/arm/isa/insts/m5ops.isa +++ b/src/arch/arm/isa/insts/m5ops.isa @@ -38,7 +38,9 @@ let {{ - header_output = "" + header_output = ''' + uint64_t join32to64(uint32_t r1, uint32_t r0); + ''' decoder_output = ''' uint64_t join32to64(uint32_t r1, uint32_t r0) { |