| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* aclocal/check-rdbg.m4: Use compilation check on _OLD_EXCEPTIONS
to enable rdbg.
* configure.ac: Reflect changes above.
|
| |
|
| |
|
|
|
|
|
| |
* comm/i386-stub.c: Make get_char() static since it is such a common
name and conflicts with names in the standard Ada run-time.
|
|
|
|
| |
* rtems.adb: Fix variable name.
|
|
|
|
|
| |
PR rtems_misc/795
* rtems.ads: Fix parameter ordering.
|
|
|
|
| |
* configure.ac: Add ada/.
|
|
|
|
|
|
| |
PR 750/networking
* libnetworking/pppd/sys-rtems.c: Avoid NULL dereference in
wait_input().
|
|
|
|
|
|
| |
PR 702/bsps
* include/tm27.h: Add better tm27.h support. Uses decrementer register
interrupt -- copied from psim.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 746/rtems
Optimize realloc(). The problem is that realloc() can neither grow
nor shrink efficiently the current memory region without support
from underlying heap/region modules. The patch introduces one new
routine for each of heap and region modules, _Heap_Resize_block(),
and rtems_region_resize_segment(), respectively, and uses the
latter to optimize realloc().
The implementation of _Heap_Resize_block() lead to changing of the
heap allocation strategy: now the heap manager, when splits larger
free block into used and new free parts, makes the first part of
the block used, not the last one as it was before. Due to this new
strategy, _Heap_Resize_block() never needs to change the user
pointer.
Caveat: unlike previous heap implementation, first few bytes of
the contents of the memory allocated from the heap are now almost
never all zero. This can trigger bugs in client code that have not
been visible before this patch.
* libcsupport/src/malloc.c (realloc): try to resize segment in
place using new rtems_region_resize_segment() routine before
falling back to the malloc()/free() method.
* score/src/heap.c:
(_Heap_Initialize): change initial heap layout to reflect new
allocation strategy of using of the lower part of a previously
free block when splitting it for the purpose of allocation.
(_Heap_Block_allocate): when split, make the lower part used, and
leave the upper part free. Return type changed from Heap_Block* to
uint32_t.
* score/include/rtems/score/heap.h:
(Heap_Statistics): added 'resizes' field.
(Heap_Resize_status): new enum.
(_Heap_Resize_block): new routine.
(_Heap_Block_allocate): return type changed from Heap_Block* to
uint32_t.
* score/src/heapwalk.c: reflect new heap layout in checks.
* score/src/heapsizeofuserarea.c: more assertions added.
* score/src/heapresizeblock.c: new file.
(_Heap_Resize_block): new routine.
* score/src/heapfree.c: reverse the checks _Heap_Is_block_in() and
_Heap_Is_prev_used() on entry to be in this order.
* score/src/heapallocate.c, score/src/heapallocatealigned.c:
ignore return value of _Heap_Block_allocate().
* score/Makefile.am (HEAP_C_FILES): added src/heapresizeblock.c.
* rtems/include/rtems/rtems/region.h:
(rtems_region_resize_segment): new interface routine.
(_Region_Process_queue): new internal routine called from
rtems_region_resize_segment() and rtems_region_return_segment().
* rtems/src/regionreturnsegment.c: move queue management code into
the new internal routine _Region_Process_queue() and call it.
* rtems/src/regionresizesegment.c: new file.
(rtems_region_resize_segment): new interface routine.
* rtems/src/regionprocessqueue.c: new file.
(_Region_Process_queue): new internal routine containing queue
management code factored out from 'regionreturnsegment.c'.
* rtems/Makefile.am (REGION_C_FILES): Added
src/regionresizesegment.c, and src/regionprocessqueue.c.
* ada/rtems.adb, ada/rtems.ads: Added Region_Resize_Segment.
|
|
|
|
| |
* console/duart.c: Remove warning.
|
|
|
|
|
| |
* Makefile.am: Add SHGEN.
* startup/linkcmds: Add missing sections.
|
| |
|
| |
|
|
|
|
|
| |
* ChangeLog, libchip/network/if_fxp.c, libchip/serial/ns16550.c:
Modified to use rtems/irq.h.
|
|
|
|
|
|
| |
* mpc5xx/irq/irq.c, mpc5xx/irq/irq.h,
mpc8xx/console-generic/console-generic.c: Modified to use
rtems/irq.h.
|
|
|
|
|
|
| |
* at91rm9200/irq/irq.h, mc9328mxl/irq/irq.h, s3c2400/irq/irq.h:
Modified names and types to match rtems/irq.h. Note: rtems/irq.h
should be included after the addition of a parameter to ISRs.
|
|
|
|
|
| |
* clock/p_clock.c, irq/i8259.c, irq/irq.c, irq/irq.h: Modified to use
rtems/irq.h.
|
|
|
|
| |
* irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
|
|
|
|
| |
* irq/GT64260Int.c, irq/irq.c, irq/irq.h: Modified to use rtems/irq.h.
|
|
|
|
| |
* irq/irq.c, irq/irq.h, network/network.c: Modified to use rtems/irq.h.
|
|
|
|
| |
* console/rsPMCQ1.c, irq/irq.c: Modified to use rtems/irq.h.
|
|
|
|
| |
* irq/irq.c, irq/irq.h: Modified to include rtems/irq.h.
|
|
|
|
|
|
| |
* irq/irq.h: Modified names and types to match rtems/irq.h.
Note: rtems/irq.h should be included after the addition of a
parameter to ISRs.
|
|
|
|
|
|
|
|
| |
* README.VME, include/bsp.h, irq/irq.h, network/GT64260eth.c,
pci/detect_host_bridge.c, pci/gtpcireg.h, pci/pci.c, pci/pci.h,
pci/pci_interface.c, pci/pcifinddevice.c:
Submitted by Kate Feng <feng1@bnl.gov> as RTEMS-MVME5500 BSP v1.1 release.
Modifications made to merge this release with the current tree.
|
|
|
|
| |
* startup/linkcmds: Add .rodata.* sections.
|
|
|
|
| |
* startup/linkcmds: Add .data.* sections.
|
| |
|
|
|
|
|
| |
* libchip/Makefile.am: Include preinstall.am.
* libchip/preinstall.am: New.
|
| |
|
| |
|
|
|
|
| |
* include/tm27.h: Elininate unsigned32.
|
|
|
|
| |
* vme/vmeconfig.c: Eliminate unsigned32.
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am: Merge-in mcf5282/Makefile.am.
* preinstall.am: Regenerate.
* mcf5282/Makefile.am: Remove.
* configure.ac: Remove mcf5282/Makefile.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am: Merge-in mcf5272/Makefile.am.
* preinstall.am: Regenerate.
* mcf5272/Makefile.am: Remove.
* configure.ac: Remove mcf5272/Makefile.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am: Merge-in mcf5206/Makefile.am.
* preinstall.am: Regenerate.
* mcf5206/Makefile.am: Remove.
* configure.ac: Remove mcf5206/Makefile.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Makefile.am: Merge-in m68040/Makefile.am.
* m68040/Makefile.am: Remove.
* configure.ac: Remove m68040/Makefile.
|
| |
|
| |
|
| |
|