diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-12-14 16:27:06 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2015-01-04 13:44:57 -0600 |
commit | 7cdabc49ca3828c9aeeb6beca4a0beeb71bf23f1 (patch) | |
tree | 128664532dfebd50115c56f7c94d206c482a6c5e /c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c | |
parent | untar.c: Coverity ID 26151 and reformat (diff) | |
download | rtems-7cdabc49ca3828c9aeeb6beca4a0beeb71bf23f1.tar.bz2 |
pc386: Add Edison base support
The current support for the Edison supports a single polled
UART for input and output plus a simulated clock tick. The
activities forward for supporting the Edison have been posted
on the RTEMS mailing lists and at:
http://rtemsramblings.blogspot.com/2014/12/intel-edison-and-rtems-road-forward.html
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c b/c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c index 0c7c42c36c..2e4bf5ca34 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c +++ b/c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c @@ -56,6 +56,7 @@ void bsp_size_memory(void) { uintptr_t topAddr; +#if (BSP_IS_EDISON == 0) /* Set the value of start of free memory. */ rtemsWorkAreaStart = (uint32_t)WorkAreaBase + _stack_size; @@ -116,6 +117,9 @@ void bsp_size_memory(void) #endif } +#else + topAddr = (1 * 1024 * 1024 * 1024); +#endif bsp_mem_size = topAddr; } |