summaryrefslogtreecommitdiffstats
path: root/c/src/ada (unfollow)
Commit message (Collapse)AuthorFilesLines
2006-01-14Regenerate.Ralf Corsepius1-1/+1
2006-01-12Regenerate.Ralf Corsepius1-0/+2
2006-01-12Remove all-local:.Ralf Corsepius1-2/+0
2006-01-12Regenerate.Ralf Corsepius1-2/+2
2006-01-12Cleanup.Ralf Corsepius1-4/+0
2005-11-172005-11-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-65/+6
* rtems.adb, rtems.ads: Remove initialization directives as rtems_initialize_executive is obsolete and the other initialization services should not be called from Ada anyway.
2005-05-232005-05-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* rtems.adb: Fix variable name.
2005-05-232005-05-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+7
PR rtems_misc/795 * rtems.ads: Fix parameter ordering.
2005-05-202005-05-14 Sergei Organov <osv@topconrd.ru>Joel Sherrill2-1/+37
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.
2005-05-032005-05-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-32/+39
* rtems.adb: Remove gcc 4.x warnings.
2005-05-022005-05-02 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius3-1/+40
PR 782/rtems * rtems.ads: Remove stray ';'. * rtems.adb: Stub Task_Variable_Add, Task_Variable_Get, Task_Variable_Delete.
2005-05-02Remove bogus ChangeLog entry.Ralf Corsepius1-2/+2
2005-05-02changesRalf Corsepius1-0/+5
2005-04-302005-04-30 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2-26/+37
* configure.ac: fix evaluating --enable-ada. * ada/Makefile.am: Use preinstall.am * ada/preinstall.am: New.
2004-01-192004-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-1/+7
* Makefile.am: Add PREINSTALL_DIRS.
2004-01-142003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-3/+10
* Makefile.am: Move include_adadir into RTEMS_ADA condional block. Add CLEANFILES. Add PREINSTALL_FILES to CLEANFILES.
2003-12-122003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-2/+5
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
2003-12-112003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-4/+8
* Makefile.am: Use include_ada_HEADERS.
2003-11-302003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-10/+30
* Makefile.am: Preinstall adainclude_HEADERS. Add $(dirstamp) to preinstallation rules.
2003-11-252003-11-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+29
PR 528/rtems_misc * rtems.ads: Add task variables to Ada binding.
2003-09-042003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-4/+9
* rtems-multiprocessing.adb, rtems-multiprocessing.ads, rtems.adb, rtems.ads: URL for license changed.
2003-07-08CleanupRalf Corsepius1-12/+0
2003-07-082003-07-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+6
PR 418/ada * rtems.adb: Add missing all keyword to derefence pointer.
2003-07-082003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-3/+9
* configure.ac: Remove (Merged into ../configure.ac). * Makefile.am: Reflect having merged configure.ac into ../configure.ac.
2003-03-11Merger from rtems-4-6-branch.Ralf Corsepius1-0/+4
2003-02-112003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+4
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-112003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+4
* configure.ac: AC_PREREQ(2.57).
2003-02-032003-02-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-4/+11
PR 338/filesystem * rtems.adb, rtems.ads: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change).
2003-01-032003-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-12/+21
* rtems.ads: Corrected Configuration_Table record definition to match current RTEMS source. sp01 now runs.
2002-11-192002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+4
* configure.ac: Fix package name.
2002-10-292002-10-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-0/+9
* configure.ac: Remove AC_ENABLE_MULTILIB. * Makefile.am: Add CVS-Id.
2002-10-252002-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+4
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
2002-10-212002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2-3/+9
* .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache.
2002-08-302002-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-11/+6
* rtems.adb (IO_Initialize): Make this match the C prototype.
2002-08-272002-08-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+5
* rtems.ads: Corrected binding for Io_Initialize.
2002-08-232001-08-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius3-0/+40
* configure.ac: New. * Makefile.am: New. * .cvsignore: New.
2002-02-012001-02-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill5-294/+274
* rtems.ads, rtems.adb: Formatting cleaned up. Task based timer directives added. This is Timer_Initiate_Server, Timer_Server_Fire_After, and Timer_Server_Fire_When.
2002-02-012001-02-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+4
* ChangeLog: New file.
1999-10-21Added Semaphore_Flush.Joel Sherrill2-0/+18
1999-10-07Added Is_Suspended method.Joel Sherrill2-0/+20
1998-04-15Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1-12/+13
to multiple. This lets the stack check extension be installed at system initialization time and avoids the BSP having to even know about its existence.
1997-09-30fixed typoJoel Sherrill1-1/+1
1997-09-30Fixed typos.Joel Sherrill1-1/+1
1997-08-28Fixed IO Manager calls to remove an argument which was used in 3.2.1Joel Sherrill2-64/+9
but not in newer RTEMS.
1997-08-28Added IO_Error status code and fixed No_Memory error number.Joel Sherrill1-3/+5
1997-07-10Reordered specs.Joel Sherrill1-4/+4
1997-07-10fixed milliseconds and microseconds to tick conversion routines.Joel Sherrill1-11/+10
1997-06-03Added True and False constants for RTEMS.Boolean types. This necessitatedJoel Sherrill2-8/+36
making sure every True/False reference was fully qualified.
1997-06-03Added RTEMS boolean constants.Joel Sherrill1-0/+3
1997-06-03Added Pending_Events and lined up other event constantsJoel Sherrill1-33/+34