summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/motorola_powerpc/include
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2007-01-31 03:43:12 +0000
committerTill Straumann <strauman@slac.stanford.edu>2007-01-31 03:43:12 +0000
commit1102f897219574e0d06fc9c54339813db65f0b79 (patch)
tree6460b2f4e0575f139de1eb91754c2cbb36c314f5 /c/src/lib/libbsp/powerpc/motorola_powerpc/include
parent2007-01-30 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-1102f897219574e0d06fc9c54339813db65f0b79.tar.bz2
2007-01-30 Till Straumann <strauman@slac.stanford.edu>
* Makefile.am, preinstall.am, include/bsp.h: Use VME DMA support implemented by vmeUniverse and libbsp/powerpc/shared/vme/vme_universe_dma.c Added explanation for use of BSP_PIC_DO_EOI by BSP implementors who derive from this 'include/bsp.h'.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/motorola_powerpc/include')
-rw-r--r--c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h
index 10bac559a2..a183928363 100644
--- a/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/include/bsp.h
@@ -132,6 +132,20 @@
#define BSP_UART_BAUD_BASE 115200
#include <bsp/openpic.h>
+/* BSP_PIC_DO_EOI is optionally used by the 'vmeUniverse' driver
+ * to implement VME IRQ priorities in software.
+ * Note that this requires support by the interrupt controller
+ * driver (cf. libbsp/shared/powerpc/irq/openpic_i8259_irq.c)
+ * and the BSP-specific universe initialization/configuration
+ * (cf. libbsp/shared/powerpc/vme/VMEConfig.h vme_universe.c)
+ *
+ * ********* IMPORTANT NOTE ********
+ * When deriving from this file (new BSPs)
+ * DO NOT define "BSP_PIC_DO_EOI" if you don't know what
+ * you are doing i.e., w/o implementing the required pieces
+ * mentioned above.
+ * ********* IMPORTANT NOTE ********
+ */
#define BSP_PIC_DO_EOI openpic_eoi(0)
#ifndef ASM