Commit Graph
64 Commits
Author SHA1 Message Date
Joel Sherrill 5ca28f6ae6 2007-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Add missing semicolon.
2007-12-04 22:16:17 +00:00
Glenn Humphrey 615563906a 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Fixed errors in the barrier binding.
2007-11-27 21:22:44 +00:00
Glenn Humphrey d45b4a9802 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added some more missing bindings.
2007-10-25 20:44:31 +00:00
Glenn Humphrey 29948d482f 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Added a missing binding.
2007-10-18 21:26:23 +00:00
Glenn Humphrey d14963bf94 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* rtems.adb, rtems.ads: Cleaned up binding and removed bindings for
	things that are not reasonable to do in Ada.
2007-10-10 20:46:33 +00:00
Joel Sherrill f10fe70731 2007-10-01 Joel Sherrill <joel.sherrill@OARcorp.com>
* rtems.adb, rtems.ads: Most of single processor Ada tests now build.
	Some run.
2007-10-01 22:57:52 +00:00
Joel Sherrill b26e1db6d7 2007-09-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb: Fix warnings.
2007-09-05 20:42:46 +00:00
Joel Sherrill a6ec372127 2007-04-02 Jennifer Averett <jennifer.averrett@oarcorp.com>
* rtems.adb, rtems.ads: Update.
2007-04-02 20:53:05 +00:00
Ralf Corsepius 63a88eb0bc Regenerate. 2007-01-08 08:43:28 +00:00
Ralf Corsepius 2eb7d07e17 Regenerate. 2006-01-14 06:20:35 +00:00
Ralf Corsepius 008ff56754 Regenerate. 2006-01-12 10:16:01 +00:00
Ralf Corsepius fc1a3bad3a Remove all-local:. 2006-01-12 10:12:31 +00:00
Ralf Corsepius 525b1acb82 Regenerate. 2006-01-12 06:08:36 +00:00
Ralf Corsepius fbcd8f8f29 Cleanup. 2006-01-12 06:08:25 +00:00
Joel Sherrill cb19f3f8b2 2005-11-17 Joel Sherrill <joel@OARcorp.com>
* 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-11-17 14:29:23 +00:00
Joel Sherrill cc1aee94cd 2005-05-23 Joel Sherrill <joel@OARcorp.com>
* rtems.adb: Fix variable name.
2005-05-23 17:15:26 +00:00
Joel Sherrill cb6fc17b4f 2005-05-23 Joel Sherrill <joel@OARcorp.com>
PR rtems_misc/795
	* rtems.ads: Fix parameter ordering.
2005-05-23 15:00:03 +00:00
Joel Sherrill 80f2885b70 2005-05-14 Sergei Organov <osv@topconrd.ru>
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-20 19:15:41 +00:00
Joel Sherrill 901eef9a79 2005-05-03 Joel Sherrill <joel@OARcorp.com>
* rtems.adb: Remove gcc 4.x warnings.
2005-05-03 20:36:03 +00:00
Ralf Corsepius 6221625379 2005-05-02 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 782/rtems
	* rtems.ads: Remove stray ';'.
	* rtems.adb: Stub Task_Variable_Add, Task_Variable_Get,
	Task_Variable_Delete.
2005-05-02 14:33:06 +00:00
Ralf Corsepius 5a35cfcd4c Remove bogus ChangeLog entry. 2005-05-02 14:28:31 +00:00
Ralf Corsepius fe3cc50c03 changes 2005-05-02 14:26:43 +00:00
Ralf Corsepius 0560bca921 2005-04-30 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: fix evaluating --enable-ada.
	* ada/Makefile.am: Use preinstall.am
	* ada/preinstall.am: New.
2005-04-30 07:41:58 +00:00
Ralf Corsepius 3d1de205f6 2004-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add PREINSTALL_DIRS.
2004-01-19 07:29:05 +00:00
Ralf Corsepius e81cc508c2 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Move include_adadir into RTEMS_ADA condional block.
	Add CLEANFILES. Add PREINSTALL_FILES to CLEANFILES.
2004-01-14 05:21:02 +00:00
Ralf Corsepius 53a895846c 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
2003-12-12 13:39:43 +00:00
Ralf Corsepius 6bfddfe181 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use include_ada_HEADERS.
2003-12-11 15:48:53 +00:00
Ralf Corsepius 74c77c5cdf 2003-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Preinstall adainclude_HEADERS.
	Add $(dirstamp) to preinstallation rules.
2003-11-30 07:52:50 +00:00
Joel Sherrill 091967571c 2003-11-25 Joel Sherrill <joel@OARcorp.com>
PR 528/rtems_misc
	* rtems.ads: Add task variables to Ada binding.
2003-11-25 14:07:29 +00:00
Joel Sherrill dcdb62d96c 2003-09-04 Joel Sherrill <joel@OARcorp.com>
* rtems-multiprocessing.adb, rtems-multiprocessing.ads, rtems.adb,
	rtems.ads: URL for license changed.
2003-09-04 18:53:57 +00:00
Ralf Corsepius fff840e493 Cleanup 2003-07-08 17:33:43 +00:00
Joel Sherrill 47f6eea940 2003-07-08 Joel Sherrill <joel@OARcorp.com>
PR 418/ada
	* rtems.adb: Add missing all keyword to derefence pointer.
2003-07-08 16:38:33 +00:00
Ralf Corsepius 9414746cca 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged into ../configure.ac).
	* Makefile.am: Reflect having merged configure.ac into
	../configure.ac.
2003-07-08 07:47:19 +00:00
Ralf Corsepius 9b353a5013 Merger from rtems-4-6-branch. 2003-03-11 08:47:30 +00:00
Ralf Corsepius ccd81b60c2 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 11:47:49 +00:00
Ralf Corsepius 9b5c258556 2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_PREREQ(2.57).
2003-02-11 11:11:33 +00:00
Joel Sherrill 81968b9a6e 2003-02-03 Joel Sherrill <joel@OARcorp.com>
PR 338/filesystem
	* rtems.adb, rtems.ads: Side-effect of fixing reentrancy problem with
	rtems_io_lookup_name() (API change).
2003-02-03 23:57:10 +00:00
Joel Sherrill e1fe652508 2003-01-03 Joel Sherrill <joel@OARcorp.com>
* rtems.ads: Corrected Configuration_Table record definition to
	match current RTEMS source. sp01 now runs.
2003-01-03 22:44:40 +00:00
Ralf Corsepius 47c0220397 2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Fix package name.
2002-11-19 22:23:50 +00:00
Ralf Corsepius 1c883771bb 2002-10-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove AC_ENABLE_MULTILIB.
	* Makefile.am: Add CVS-Id.
2002-10-29 16:44:03 +00:00
Ralf Corsepius 56a1ae369d 2002-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
2002-10-25 06:18:56 +00:00
Ralf Corsepius f8cb04a54a 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
	Add autom4te*cache.
	Remove autom4te.cache.
2002-10-21 12:04:36 +00:00
Joel Sherrill 182e9f8e3d 2002-08-30 Joel Sherrill <joel@OARcorp.com>
* rtems.adb (IO_Initialize): Make this match the C prototype.
2002-08-30 12:07:54 +00:00
Joel Sherrill aa57f84460 2002-08-27 Joel Sherrill <joel@OARcorp.com>
* rtems.ads: Corrected binding for Io_Initialize.
2002-08-27 13:12:33 +00:00
Ralf Corsepius 72deed0746 2001-08-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: New.
	* Makefile.am: New.
	* .cvsignore: New.
2002-08-23 13:52:42 +00:00
Joel Sherrill 7003847359 2001-02-01 Joel Sherrill <joel@OARcorp.com>
* 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-01 18:58:21 +00:00
Joel Sherrill 569a01fed1 2001-02-01 Joel Sherrill <joel@OARcorp.com>
* ChangeLog: New file.
2002-02-01 18:57:11 +00:00
Joel Sherrill 8f2cf93145 Added Semaphore_Flush. 1999-10-21 14:49:24 +00:00
Joel Sherrill 1e3e81fdb6 Added Is_Suspended method. 1999-10-07 16:17:41 +00:00
Joel Sherrill 9b64c2d5f7 Per suggestion from Eric Norum, went from one initial extension set
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.
1998-04-15 00:10:03 +00:00