4.115
Last change
on this file since c499856 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
546 bytes
|
Line | |
---|
1 | /* |
---|
2 | * The license and distribution terms for this file may be |
---|
3 | * found in the file LICENSE in this distribution or at |
---|
4 | * http://www.rtems.org/license/LICENSE. |
---|
5 | */ |
---|
6 | |
---|
7 | #include <bsp.h> |
---|
8 | #include <bsp/bootcard.h> |
---|
9 | |
---|
10 | extern void *__rtems_end; |
---|
11 | |
---|
12 | void bsp_work_area_initialize(void) |
---|
13 | { |
---|
14 | uintptr_t work_size; |
---|
15 | uintptr_t work_area; |
---|
16 | |
---|
17 | work_area = (uintptr_t)&__rtems_end + |
---|
18 | rtems_configuration_get_interrupt_stack_size(); |
---|
19 | work_size = (uintptr_t)BSP_mem_size - work_area; |
---|
20 | |
---|
21 | bsp_work_area_initialize_default((void *) work_area, work_size); |
---|
22 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.