4.115
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 | #include <libcpu/powerpc-utility.h> |
---|
11 | |
---|
12 | LINKER_SYMBOL(__rtems_end) |
---|
13 | |
---|
14 | void bsp_work_area_initialize(void) |
---|
15 | { |
---|
16 | uintptr_t work_size; |
---|
17 | uintptr_t work_area; |
---|
18 | |
---|
19 | work_area = (uintptr_t)__rtems_end + |
---|
20 | rtems_configuration_get_interrupt_stack_size(); |
---|
21 | work_size = (uintptr_t)BSP_mem_size - work_area; |
---|
22 | |
---|
23 | bsp_work_area_initialize_default((void *) work_area, work_size); |
---|
24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.