summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mvme3100/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-15 22:05:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-15 22:05:08 +0000
commit704e37143eda4b462743d6b26a3042e6584f38e9 (patch)
tree2c1cc4fdb4d82de144aaa866e1747159eac7f574 /c/src/lib/libbsp/powerpc/mvme3100/include
parent2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-704e37143eda4b462743d6b26a3042e6584f38e9.tar.bz2
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, include/bsp.h, include/bspopts.h.in, startup/bspstart.c: Add use of bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme3100/include')
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h10
-rw-r--r--c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in8
2 files changed, 14 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
index 50bf2d480c..db672f4de9 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
+++ b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h
@@ -28,6 +28,7 @@
* - Interrupt stack space is not minimum if defined.
*/
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
+#define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK
#define BSP_INTERRUPT_STACK_SIZE (16 * 1024)
@@ -276,10 +277,6 @@ BSP_clrLEDs(uint8_t mask);
*/
extern unsigned int BSP_mem_size;
/*
- * Start of the heap
- */
-extern unsigned int BSP_heap_start;
-/*
* PCI Bus Frequency
*/
extern unsigned int BSP_bus_frequency;
@@ -327,6 +324,11 @@ rtems_tsec_attach(struct rtems_bsdnet_ifconfig *ifcfg, int attaching);
#define RTEMS_BSP_NETWORK_DRIVER_NAME "tse1"
#define RTEMS_BSP_NETWORK_DRIVER_ATTACH rtems_tsec_attach
+/*
+ * system init stack and soft ir stack size
+ */
+#define BSP_INIT_STACK_SIZE 0x1000
+
#ifdef __cplusplus
}
#endif
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in b/c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in
index 2678efef45..735eb7495f 100644
--- a/c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in
+++ b/c/src/lib/libbsp/powerpc/mvme3100/include/bspopts.h.in
@@ -1,5 +1,13 @@
/* include/bspopts.h.in. Generated from configure.ac by autoheader. */
+/* BSP uses shared logic in bootcard.c */
+#undef BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
+
+/* If defined, then PSIM will put a non-zero pattern into the RTEMS Workspace
+ and C program heap. This should assist in finding code that assumes memory
+ starts set to zero. */
+#undef BSP_DIRTY_MEMORY
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT