more fiddling with leading underscore in symbols

This commit is contained in:
Markus Fröschle
2012-10-14 05:34:33 +00:00
parent 40d6ffcb6c
commit 40b979d962
26 changed files with 939 additions and 939 deletions

View File

@@ -24,87 +24,87 @@
*********************************************************************/
/* Register read/write macros */
#define MCF_INTC_IPRH (*(volatile uint32_t*)(&__MBAR[0x700]))
#define MCF_INTC_IPRL (*(volatile uint32_t*)(&__MBAR[0x704]))
#define MCF_INTC_IMRH (*(volatile uint32_t*)(&__MBAR[0x708]))
#define MCF_INTC_IMRL (*(volatile uint32_t*)(&__MBAR[0x70C]))
#define MCF_INTC_INTFRCH (*(volatile uint32_t*)(&__MBAR[0x710]))
#define MCF_INTC_INTFRCL (*(volatile uint32_t*)(&__MBAR[0x714]))
#define MCF_INTC_IRLR (*(volatile uint8_t *)(&__MBAR[0x718]))
#define MCF_INTC_IACKLPR (*(volatile uint8_t *)(&__MBAR[0x719]))
#define MCF_INTC_ICR01 (*(volatile uint8_t *)(&__MBAR[0x741]))
#define MCF_INTC_ICR02 (*(volatile uint8_t *)(&__MBAR[0x742]))
#define MCF_INTC_ICR03 (*(volatile uint8_t *)(&__MBAR[0x743]))
#define MCF_INTC_ICR04 (*(volatile uint8_t *)(&__MBAR[0x744]))
#define MCF_INTC_ICR05 (*(volatile uint8_t *)(&__MBAR[0x745]))
#define MCF_INTC_ICR06 (*(volatile uint8_t *)(&__MBAR[0x746]))
#define MCF_INTC_ICR07 (*(volatile uint8_t *)(&__MBAR[0x747]))
#define MCF_INTC_ICR08 (*(volatile uint8_t *)(&__MBAR[0x748]))
#define MCF_INTC_ICR09 (*(volatile uint8_t *)(&__MBAR[0x749]))
#define MCF_INTC_ICR10 (*(volatile uint8_t *)(&__MBAR[0x74A]))
#define MCF_INTC_ICR11 (*(volatile uint8_t *)(&__MBAR[0x74B]))
#define MCF_INTC_ICR12 (*(volatile uint8_t *)(&__MBAR[0x74C]))
#define MCF_INTC_ICR13 (*(volatile uint8_t *)(&__MBAR[0x74D]))
#define MCF_INTC_ICR14 (*(volatile uint8_t *)(&__MBAR[0x74E]))
#define MCF_INTC_ICR15 (*(volatile uint8_t *)(&__MBAR[0x74F]))
#define MCF_INTC_ICR16 (*(volatile uint8_t *)(&__MBAR[0x750]))
#define MCF_INTC_ICR17 (*(volatile uint8_t *)(&__MBAR[0x751]))
#define MCF_INTC_ICR18 (*(volatile uint8_t *)(&__MBAR[0x752]))
#define MCF_INTC_ICR19 (*(volatile uint8_t *)(&__MBAR[0x753]))
#define MCF_INTC_ICR20 (*(volatile uint8_t *)(&__MBAR[0x754]))
#define MCF_INTC_ICR21 (*(volatile uint8_t *)(&__MBAR[0x755]))
#define MCF_INTC_ICR22 (*(volatile uint8_t *)(&__MBAR[0x756]))
#define MCF_INTC_ICR23 (*(volatile uint8_t *)(&__MBAR[0x757]))
#define MCF_INTC_ICR24 (*(volatile uint8_t *)(&__MBAR[0x758]))
#define MCF_INTC_ICR25 (*(volatile uint8_t *)(&__MBAR[0x759]))
#define MCF_INTC_ICR26 (*(volatile uint8_t *)(&__MBAR[0x75A]))
#define MCF_INTC_ICR27 (*(volatile uint8_t *)(&__MBAR[0x75B]))
#define MCF_INTC_ICR28 (*(volatile uint8_t *)(&__MBAR[0x75C]))
#define MCF_INTC_ICR29 (*(volatile uint8_t *)(&__MBAR[0x75D]))
#define MCF_INTC_ICR30 (*(volatile uint8_t *)(&__MBAR[0x75E]))
#define MCF_INTC_ICR31 (*(volatile uint8_t *)(&__MBAR[0x75F]))
#define MCF_INTC_ICR32 (*(volatile uint8_t *)(&__MBAR[0x760]))
#define MCF_INTC_ICR33 (*(volatile uint8_t *)(&__MBAR[0x761]))
#define MCF_INTC_ICR34 (*(volatile uint8_t *)(&__MBAR[0x762]))
#define MCF_INTC_ICR35 (*(volatile uint8_t *)(&__MBAR[0x763]))
#define MCF_INTC_ICR36 (*(volatile uint8_t *)(&__MBAR[0x764]))
#define MCF_INTC_ICR37 (*(volatile uint8_t *)(&__MBAR[0x765]))
#define MCF_INTC_ICR38 (*(volatile uint8_t *)(&__MBAR[0x766]))
#define MCF_INTC_ICR39 (*(volatile uint8_t *)(&__MBAR[0x767]))
#define MCF_INTC_ICR40 (*(volatile uint8_t *)(&__MBAR[0x768]))
#define MCF_INTC_ICR41 (*(volatile uint8_t *)(&__MBAR[0x769]))
#define MCF_INTC_ICR42 (*(volatile uint8_t *)(&__MBAR[0x76A]))
#define MCF_INTC_ICR43 (*(volatile uint8_t *)(&__MBAR[0x76B]))
#define MCF_INTC_ICR44 (*(volatile uint8_t *)(&__MBAR[0x76C]))
#define MCF_INTC_ICR45 (*(volatile uint8_t *)(&__MBAR[0x76D]))
#define MCF_INTC_ICR46 (*(volatile uint8_t *)(&__MBAR[0x76E]))
#define MCF_INTC_ICR47 (*(volatile uint8_t *)(&__MBAR[0x76F]))
#define MCF_INTC_ICR48 (*(volatile uint8_t *)(&__MBAR[0x770]))
#define MCF_INTC_ICR49 (*(volatile uint8_t *)(&__MBAR[0x771]))
#define MCF_INTC_ICR50 (*(volatile uint8_t *)(&__MBAR[0x772]))
#define MCF_INTC_ICR51 (*(volatile uint8_t *)(&__MBAR[0x773]))
#define MCF_INTC_ICR52 (*(volatile uint8_t *)(&__MBAR[0x774]))
#define MCF_INTC_ICR53 (*(volatile uint8_t *)(&__MBAR[0x775]))
#define MCF_INTC_ICR54 (*(volatile uint8_t *)(&__MBAR[0x776]))
#define MCF_INTC_ICR55 (*(volatile uint8_t *)(&__MBAR[0x777]))
#define MCF_INTC_ICR56 (*(volatile uint8_t *)(&__MBAR[0x778]))
#define MCF_INTC_ICR57 (*(volatile uint8_t *)(&__MBAR[0x779]))
#define MCF_INTC_ICR58 (*(volatile uint8_t *)(&__MBAR[0x77A]))
#define MCF_INTC_ICR59 (*(volatile uint8_t *)(&__MBAR[0x77B]))
#define MCF_INTC_ICR60 (*(volatile uint8_t *)(&__MBAR[0x77C]))
#define MCF_INTC_ICR61 (*(volatile uint8_t *)(&__MBAR[0x77D]))
#define MCF_INTC_ICR62 (*(volatile uint8_t *)(&__MBAR[0x77E]))
#define MCF_INTC_ICR63 (*(volatile uint8_t *)(&__MBAR[0x77F]))
#define MCF_INTC_SWIACK (*(volatile uint8_t *)(&__MBAR[0x7E0]))
#define MCF_INTC_L1IACK (*(volatile uint8_t *)(&__MBAR[0x7E4]))
#define MCF_INTC_L2IACK (*(volatile uint8_t *)(&__MBAR[0x7E8]))
#define MCF_INTC_L3IACK (*(volatile uint8_t *)(&__MBAR[0x7EC]))
#define MCF_INTC_L4IACK (*(volatile uint8_t *)(&__MBAR[0x7F0]))
#define MCF_INTC_L5IACK (*(volatile uint8_t *)(&__MBAR[0x7F4]))
#define MCF_INTC_L6IACK (*(volatile uint8_t *)(&__MBAR[0x7F8]))
#define MCF_INTC_L7IACK (*(volatile uint8_t *)(&__MBAR[0x7FC]))
#define MCF_INTC_ICR(x) (*(volatile uint8_t *)(&__MBAR[0x741 + ((x-1)*0x1)]))
#define MCF_INTC_LIACK(x) (*(volatile uint8_t *)(&__MBAR[0x7E4 + ((x-1)*0x4)]))
#define MCF_INTC_IPRH (*(volatile uint32_t*)(&_MBAR[0x700]))
#define MCF_INTC_IPRL (*(volatile uint32_t*)(&_MBAR[0x704]))
#define MCF_INTC_IMRH (*(volatile uint32_t*)(&_MBAR[0x708]))
#define MCF_INTC_IMRL (*(volatile uint32_t*)(&_MBAR[0x70C]))
#define MCF_INTC_INTFRCH (*(volatile uint32_t*)(&_MBAR[0x710]))
#define MCF_INTC_INTFRCL (*(volatile uint32_t*)(&_MBAR[0x714]))
#define MCF_INTC_IRLR (*(volatile uint8_t *)(&_MBAR[0x718]))
#define MCF_INTC_IACKLPR (*(volatile uint8_t *)(&_MBAR[0x719]))
#define MCF_INTC_ICR01 (*(volatile uint8_t *)(&_MBAR[0x741]))
#define MCF_INTC_ICR02 (*(volatile uint8_t *)(&_MBAR[0x742]))
#define MCF_INTC_ICR03 (*(volatile uint8_t *)(&_MBAR[0x743]))
#define MCF_INTC_ICR04 (*(volatile uint8_t *)(&_MBAR[0x744]))
#define MCF_INTC_ICR05 (*(volatile uint8_t *)(&_MBAR[0x745]))
#define MCF_INTC_ICR06 (*(volatile uint8_t *)(&_MBAR[0x746]))
#define MCF_INTC_ICR07 (*(volatile uint8_t *)(&_MBAR[0x747]))
#define MCF_INTC_ICR08 (*(volatile uint8_t *)(&_MBAR[0x748]))
#define MCF_INTC_ICR09 (*(volatile uint8_t *)(&_MBAR[0x749]))
#define MCF_INTC_ICR10 (*(volatile uint8_t *)(&_MBAR[0x74A]))
#define MCF_INTC_ICR11 (*(volatile uint8_t *)(&_MBAR[0x74B]))
#define MCF_INTC_ICR12 (*(volatile uint8_t *)(&_MBAR[0x74C]))
#define MCF_INTC_ICR13 (*(volatile uint8_t *)(&_MBAR[0x74D]))
#define MCF_INTC_ICR14 (*(volatile uint8_t *)(&_MBAR[0x74E]))
#define MCF_INTC_ICR15 (*(volatile uint8_t *)(&_MBAR[0x74F]))
#define MCF_INTC_ICR16 (*(volatile uint8_t *)(&_MBAR[0x750]))
#define MCF_INTC_ICR17 (*(volatile uint8_t *)(&_MBAR[0x751]))
#define MCF_INTC_ICR18 (*(volatile uint8_t *)(&_MBAR[0x752]))
#define MCF_INTC_ICR19 (*(volatile uint8_t *)(&_MBAR[0x753]))
#define MCF_INTC_ICR20 (*(volatile uint8_t *)(&_MBAR[0x754]))
#define MCF_INTC_ICR21 (*(volatile uint8_t *)(&_MBAR[0x755]))
#define MCF_INTC_ICR22 (*(volatile uint8_t *)(&_MBAR[0x756]))
#define MCF_INTC_ICR23 (*(volatile uint8_t *)(&_MBAR[0x757]))
#define MCF_INTC_ICR24 (*(volatile uint8_t *)(&_MBAR[0x758]))
#define MCF_INTC_ICR25 (*(volatile uint8_t *)(&_MBAR[0x759]))
#define MCF_INTC_ICR26 (*(volatile uint8_t *)(&_MBAR[0x75A]))
#define MCF_INTC_ICR27 (*(volatile uint8_t *)(&_MBAR[0x75B]))
#define MCF_INTC_ICR28 (*(volatile uint8_t *)(&_MBAR[0x75C]))
#define MCF_INTC_ICR29 (*(volatile uint8_t *)(&_MBAR[0x75D]))
#define MCF_INTC_ICR30 (*(volatile uint8_t *)(&_MBAR[0x75E]))
#define MCF_INTC_ICR31 (*(volatile uint8_t *)(&_MBAR[0x75F]))
#define MCF_INTC_ICR32 (*(volatile uint8_t *)(&_MBAR[0x760]))
#define MCF_INTC_ICR33 (*(volatile uint8_t *)(&_MBAR[0x761]))
#define MCF_INTC_ICR34 (*(volatile uint8_t *)(&_MBAR[0x762]))
#define MCF_INTC_ICR35 (*(volatile uint8_t *)(&_MBAR[0x763]))
#define MCF_INTC_ICR36 (*(volatile uint8_t *)(&_MBAR[0x764]))
#define MCF_INTC_ICR37 (*(volatile uint8_t *)(&_MBAR[0x765]))
#define MCF_INTC_ICR38 (*(volatile uint8_t *)(&_MBAR[0x766]))
#define MCF_INTC_ICR39 (*(volatile uint8_t *)(&_MBAR[0x767]))
#define MCF_INTC_ICR40 (*(volatile uint8_t *)(&_MBAR[0x768]))
#define MCF_INTC_ICR41 (*(volatile uint8_t *)(&_MBAR[0x769]))
#define MCF_INTC_ICR42 (*(volatile uint8_t *)(&_MBAR[0x76A]))
#define MCF_INTC_ICR43 (*(volatile uint8_t *)(&_MBAR[0x76B]))
#define MCF_INTC_ICR44 (*(volatile uint8_t *)(&_MBAR[0x76C]))
#define MCF_INTC_ICR45 (*(volatile uint8_t *)(&_MBAR[0x76D]))
#define MCF_INTC_ICR46 (*(volatile uint8_t *)(&_MBAR[0x76E]))
#define MCF_INTC_ICR47 (*(volatile uint8_t *)(&_MBAR[0x76F]))
#define MCF_INTC_ICR48 (*(volatile uint8_t *)(&_MBAR[0x770]))
#define MCF_INTC_ICR49 (*(volatile uint8_t *)(&_MBAR[0x771]))
#define MCF_INTC_ICR50 (*(volatile uint8_t *)(&_MBAR[0x772]))
#define MCF_INTC_ICR51 (*(volatile uint8_t *)(&_MBAR[0x773]))
#define MCF_INTC_ICR52 (*(volatile uint8_t *)(&_MBAR[0x774]))
#define MCF_INTC_ICR53 (*(volatile uint8_t *)(&_MBAR[0x775]))
#define MCF_INTC_ICR54 (*(volatile uint8_t *)(&_MBAR[0x776]))
#define MCF_INTC_ICR55 (*(volatile uint8_t *)(&_MBAR[0x777]))
#define MCF_INTC_ICR56 (*(volatile uint8_t *)(&_MBAR[0x778]))
#define MCF_INTC_ICR57 (*(volatile uint8_t *)(&_MBAR[0x779]))
#define MCF_INTC_ICR58 (*(volatile uint8_t *)(&_MBAR[0x77A]))
#define MCF_INTC_ICR59 (*(volatile uint8_t *)(&_MBAR[0x77B]))
#define MCF_INTC_ICR60 (*(volatile uint8_t *)(&_MBAR[0x77C]))
#define MCF_INTC_ICR61 (*(volatile uint8_t *)(&_MBAR[0x77D]))
#define MCF_INTC_ICR62 (*(volatile uint8_t *)(&_MBAR[0x77E]))
#define MCF_INTC_ICR63 (*(volatile uint8_t *)(&_MBAR[0x77F]))
#define MCF_INTC_SWIACK (*(volatile uint8_t *)(&_MBAR[0x7E0]))
#define MCF_INTC_L1IACK (*(volatile uint8_t *)(&_MBAR[0x7E4]))
#define MCF_INTC_L2IACK (*(volatile uint8_t *)(&_MBAR[0x7E8]))
#define MCF_INTC_L3IACK (*(volatile uint8_t *)(&_MBAR[0x7EC]))
#define MCF_INTC_L4IACK (*(volatile uint8_t *)(&_MBAR[0x7F0]))
#define MCF_INTC_L5IACK (*(volatile uint8_t *)(&_MBAR[0x7F4]))
#define MCF_INTC_L6IACK (*(volatile uint8_t *)(&_MBAR[0x7F8]))
#define MCF_INTC_L7IACK (*(volatile uint8_t *)(&_MBAR[0x7FC]))
#define MCF_INTC_ICR(x) (*(volatile uint8_t *)(&_MBAR[0x741 + ((x-1)*0x1)]))
#define MCF_INTC_LIACK(x) (*(volatile uint8_t *)(&_MBAR[0x7E4 + ((x-1)*0x4)]))