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/cdefBF542.h')
-rw-r--r--libgloss/bfin/include/cdefBF542.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/libgloss/bfin/include/cdefBF542.h b/libgloss/bfin/include/cdefBF542.h
index aca048c75..6fffb2beb 100644
--- a/libgloss/bfin/include/cdefBF542.h
+++ b/libgloss/bfin/include/cdefBF542.h
@@ -13,7 +13,7 @@
/*
** cdefBF542.h
**
-** Copyright (C) 2008 Analog Devices, Inc.
+** Copyright (C) 2008, 2009 Analog Devices, Inc.
**
************************************************************************************
**
@@ -38,6 +38,11 @@
/* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */
#include <cdefBF54x_base.h>
+#ifdef _MISRA_RULES
+#pragma diag(push)
+#pragma diag(suppress:misra_rule_19_4:"some macro definitions not MISRA compliant")
+#endif /* _MISRA_RULES */
+
/* The following are the #defines needed by ADSP-BF542 that are not in the common header */
/* ATAPI Registers */
@@ -352,4 +357,8 @@
#define pKPAD_STAT ((volatile unsigned short *)KPAD_STAT)
#define pKPAD_SOFTEVAL ((volatile unsigned short *)KPAD_SOFTEVAL)
+#ifdef _MISRA_RULES
+#pragma diag(pop)
+#endif /* _MISRA_RULES */
+
#endif /* _CDEF_BF542_H */