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 | |
---|
1 | SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause |
---|
2 | build-type: objects |
---|
3 | cflags: [] |
---|
4 | copyrights: |
---|
5 | - Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) |
---|
6 | cppflags: [] |
---|
7 | cxxflags: [] |
---|
8 | enabled-by: true |
---|
9 | includes: [] |
---|
10 | install: [] |
---|
11 | links: [] |
---|
12 | source: |
---|
13 | - bsps/powerpc/shared/start/bspgetworkarea.c |
---|
14 | - bsps/shared/start/wkspaceinitone.c |
---|
15 | type: build |
---|
Note: See
TracBrowser
for help on using the repository browser.