| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Adjust build support files to new directory layout.
This patch is a part of the BSP source reorganization.
Update #3285.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The work areas (RTEMS work space and C program heap) will be initialized
now in a separate step and are no longer part of
rtems_initialize_data_structures(). Initialization is performed with
tables of Heap_Area entries. This allows usage of scattered memory
areas present on various small scale micro-controllers.
The sbrk() support API changes also. The bsp_sbrk_init() must now deal
with a minimum size for the first memory chunk to take the configured
work space size into account.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
| |
* shared/startup/sbrk.c: Remove extraneous '}'.
|
|
|
|
|
|
| |
PR1797/bsps: Applied cleaned-up version of Kate's patch.
CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK is now a 'bspopts.h'
setting and as such configurable.
|
|
|
|
|
| |
* shared/startup/sbrk.c: Make bsp's sbrk a weak reference so that the
test of having sbrk() support in malloc can link.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* shared/startup/pretaskinghook.c, shared/startup/sbrk.c:
Fixed PR#1335. Pass initial starting address to heap
initialization to avoid 1st 'sbrk'. User may now define
'BSP_sbrk_policy' variable (see sbrk.c) to tune behavior.
|
|
|
|
|
| |
* shared/startup/bspgetworkarea.c, shared/startup/sbrk.c: Remove
warnings by switching to uintptr_t.
|
|
|
|
|
|
|
|
|
|
|
| |
* ep1a/vme/vmeconfig.c, mvme5500/pci/pcifinddevice.c,
* mvme5500/startup/pgtbl_activate.c, mvme5500/vectors/bspException.h,
* mvme5500/vectors/exceptionhandler.c, mvme5500/vme/VME.h,
* mvme5500/vme/vmeconfig.c, score603e/vme/vmeconfig.c, shared/pci/pcifinddevice.c,
* shared/startup/pgtbl_activate.c, shared/startup/pgtbl_setup.c,
* shared/startup/probeMemEnd.c, shared/startup/sbrk.c, shared/vme/VME.h,
* shared/vme/VMEConfig.h, shared/vme/vme_universe.c, shared/vme/vmeconfig.c:
Added SLAC/Stanford Authorship Note / Copyright + Liability Disclaimer.
|
| |
|
| |
|
|
|
|
|
|
| |
* bootloader/misc.c, bootloader/pci.c, console/inch.c,
include/bsp.h, pci/pci.c, startup/bspstart.c, startup/sbrk.c:
Convert to using c99 fixed size types.
|
|
PR 496/bsps
* startup/sbrk.c: New file.
* startup/bspstart.c: This patch implements 'sbrk'
for the powerpc-shared BSP to work around what's known as the
'32Mb problem' in combination with run-time loaded code.
GCC normally generates (PowerPC) code doing 'short jumps' which
requires all text segments being in the same 32Mb area of memory.
However, some run-time loaders use (e.g. heap-) memory violating the
stated limitation on hardware with more than 32Mb of memory.
(NOTE: portable loaders are probably not even aware of this
GCC/CPU specific problem.)
This patch implements a simple workaround: At boot time, the system is
only provided with 32Mb of memory. The user is supposed to load all
necessary modules prior to that limit being exhausted. Once that
happens, newlib/malloc end up trying to 'sbrk()' for more memory and
the implementation provided by this patch will then make the rest of
the physical memory available.
|