diff options
Diffstat (limited to 'libgloss/bfin/include/cdefBF527.h')
-rw-r--r-- | libgloss/bfin/include/cdefBF527.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libgloss/bfin/include/cdefBF527.h b/libgloss/bfin/include/cdefBF527.h index c02e8676c..ed4716972 100644 --- a/libgloss/bfin/include/cdefBF527.h +++ b/libgloss/bfin/include/cdefBF527.h @@ -11,7 +11,7 @@ */ /* -** Copyright (C) 2008 Analog Devices, Inc. +** Copyright (C) 2008, 2009 Analog Devices, Inc. ** ************************************************************************************ ** @@ -36,6 +36,11 @@ /* include cdefBF52x_base.h for the set of #defines that are common to all ADSP-BF52x processors */ #include <cdefBF52x_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-BF527 that are not in the common header */ /* 10/100 Ethernet Controller (0xFFC03000 - 0xFFC031FF) */ @@ -368,4 +373,8 @@ #define pUSB_DMA7COUNTLOW ((volatile unsigned short *)USB_DMA7COUNTLOW) #define pUSB_DMA7COUNTHIGH ((volatile unsigned short *)USB_DMA7COUNTHIGH) +#ifdef _MISRA_RULES +#pragma diag(pop) +#endif /* _MISRA_RULES */ + #endif /* _CDEF_BF527_H */ |