Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/bfin/include/cdef_LPBlackfin.h')
-rw-r--r--libgloss/bfin/include/cdef_LPBlackfin.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libgloss/bfin/include/cdef_LPBlackfin.h b/libgloss/bfin/include/cdef_LPBlackfin.h
index cb7bbf5f7..6d47bd29e 100644
--- a/libgloss/bfin/include/cdef_LPBlackfin.h
+++ b/libgloss/bfin/include/cdef_LPBlackfin.h
@@ -14,7 +14,7 @@
*
* cdef_LPBlackfin.h
*
- * Copyright (C) 2008 Analog Devices, Inc.
+ * Copyright (C) 2008, 2009 Analog Devices, Inc.
*
************************************************************************/
@@ -26,6 +26,11 @@
#endif
#include <def_LPBlackfin.h>
+#ifdef _MISRA_RULES
+#pragma diag(push)
+#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
+#endif /* _MISRA_RULES */
+
#ifndef _PTR_TO_VOL_VOID_PTR
#ifndef _USE_LEGACY_CDEF_BEHAVIOUR
#define _PTR_TO_VOL_VOID_PTR (void * volatile *)
@@ -177,4 +182,8 @@
#define pPFCNTR0 ((volatile unsigned long *)PFCNTR0)
#define pPFCNTR1 ((volatile unsigned long *)PFCNTR1)
+#ifdef _MISRA_RULES
+#pragma diag(pop)
+#endif /* _MISRA_RULES */
+
#endif /* _CDEF_LPBLACKFIN_H */