Changeset eea21eac in rtems for bsps/i386/pc386

Timestamp:
12/13/19 05:18:36 (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
f7c5f94
Parents:
07e2eac
git-author:
Sebastian Huber <sebastian.huber@…> (12/13/19 05:18:36)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/04/20 05:06:41)
Message:

bsps: Rework work area initialization

The work area initialization was done by the BSP through
bsp_work_area_initialize(). This approach predated the system
initialization through the system initialization linker set. The
workspace and C program heap were unconditionally initialized. The aim
is to support RTEMS application configurations which do not need the
workspace and C program heap. In these configurations, the workspace
and C prgram heap should not get initialized.

Change all bsp_work_area_initialize() to implement _Memory_Get()
instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and
malloc() heap initialization into separate system initialization steps.
This makes it also easier to test the individual initialization steps.

This change adds a dependency to _Heap_Extend() to all BSPs. This
dependency will be removed in a follow up change.

Update #3838.

(No files)

Note: See TracChangeset for help on using the changeset viewer.