From 319443d42dbed8d6b07b8a2b7a0e565ff5bd8abf Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:07 -0500 Subject: 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. --- src/arch/x86/bios/intelmp.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/arch/x86/bios') diff --git a/src/arch/x86/bios/intelmp.hh b/src/arch/x86/bios/intelmp.hh index 909f8ad79..b51d1bd21 100644 --- a/src/arch/x86/bios/intelmp.hh +++ b/src/arch/x86/bios/intelmp.hh @@ -73,6 +73,12 @@ struct X86IntelMPAddrSpaceMappingParams; struct X86IntelMPBusHierarchyParams; struct X86IntelMPCompatAddrSpaceModParams; +template +uint8_t writeOutField(PortProxy& proxy, Addr addr, T val); + +uint8_t writeOutString(PortProxy& proxy, Addr addr, std::string str, + int length); + namespace X86ISA { -- cgit v1.2.3