diff options
Diffstat (limited to 'libgloss/bfin/include/cdefBF525.h')
-rw-r--r-- | libgloss/bfin/include/cdefBF525.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libgloss/bfin/include/cdefBF525.h b/libgloss/bfin/include/cdefBF525.h index 37e5e64a9..a58745937 100644 --- a/libgloss/bfin/include/cdefBF525.h +++ b/libgloss/bfin/include/cdefBF525.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-BF525 that are not in the common header */ /* USB Control Registers */ @@ -282,4 +287,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_BF525_H */ |