source: rtems/spec/build/bsps/objmem.yml @ 3d0620b

Last change on this file since 3d0620b was 3d0620b, checked in by Sebastian Huber <sebastian.huber@…>, on 04/08/20 at 14:54:34

score: Optimize Workspace Handler initialization

The BSPs provide memory for the workspace initialization via
_Memory_Get(). Most BSPs provide exactly one memory area. Only two
BSPs provide more than one memory area (arm/altera-cyclone-v and
bsps/powerpc/mpc55xxevb). Only if more than one memory area is
provided, there is a need to use _Heap_Extend(). Provide two
implementations to initialize the workspace handler and let the BSP
select one of the implementations based on the number of provided memory
areas. This gets rid of a dependency on _Heap_Extend(). It also avoids
dead code sections for most BSPs.

  • Property mode set to 100644
File size: 351 bytes
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2build-type: objects
3cflags: []
4copyrights:
5- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
6cppflags: []
7cxxflags: []
8enabled-by: true
9includes: []
10install: []
11links: []
12source:
13- bsps/shared/start/bspgetworkarea-default.c
14- bsps/shared/start/wkspaceinitone.c
15type: build
Note: See TracBrowser for help on using the repository browser.