summaryrefslogtreecommitdiffstats
path: root/c/src/ada/rtems.ads (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move Ada includesSebastian Huber2017-11-271-546/+0
| | | | Update #3254.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-3/+0
| | | | | | | | | | | | 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.
* PR 1991/cpukit - attr.c (really mode code) warning reworkJoel Sherrill2012-02-021-2/+2
| | | | | | | | | | | | | | This PR was about a warning for no previous prototype for rtems_interrupt_level_attribute. This method exists (like a few others) to have real bodies for Classic API services implemented as macros. These macros are not available from anything but C and C++. The most explicit use was in the Ada binding but these would be needed from assembly language or any other non-C based language. On top of needing a prototype, the methods were misnamed. They were related to modes. This renames them, moves the file, fixes test code, etc.
* 2011-02-16 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-02-161-942/+20
| | | | | | | | | | | | | | | | | | | | | * ada/Makefile.am, ada/preinstall.am, ada/rtems.adb, ada/rtems.ads: Split RTEMS Ada95 binding into a master package and a child package per Manager. This is better Ada style. * ada/rtems-barrier.adb, ada/rtems-barrier.ads, ada/rtems-clock.adb, ada/rtems-clock.ads, ada/rtems-cpu_usage.ads, ada/rtems-debug.adb, ada/rtems-debug.ads, ada/rtems-event.adb, ada/rtems-event.ads, ada/rtems-extension.adb, ada/rtems-extension.ads, ada/rtems-fatal.adb, ada/rtems-fatal.ads, ada/rtems-interrupt.ads, ada/rtems-io.adb, ada/rtems-io.ads, ada/rtems-message_queue.adb, ada/rtems-message_queue.ads, ada/rtems-object.adb, ada/rtems-object.ads, ada/rtems-partition.adb, ada/rtems-partition.ads, ada/rtems-port.adb, ada/rtems-port.ads, ada/rtems-rate_monotonic.adb, ada/rtems-rate_monotonic.ads, ada/rtems-region.adb, ada/rtems-region.ads, ada/rtems-semaphore.adb, ada/rtems-semaphore.ads, ada/rtems-signal.adb, ada/rtems-signal.ads, ada/rtems-stack_checker.ads, ada/rtems-tasks.adb, ada/rtems-tasks.ads, ada/rtems-timer.adb, ada/rtems-timer.ads: New files.
* 2008-12-03 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-12-031-3/+3
| | | | | | PR 1345/Ada * rtems.ads: RTEMS boolean type is now C99 bool which is not an unsigned32.
* 2008-11-20 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2008-11-201-0/+67
| | | | | PR 1339/Ada * rtems.adb, rtems.ads: Re-add IO Manager to Ada binding.
* 2008-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-05-061-1/+1
| | | | * rtems.adb, rtems.ads: Fix prototype.
* 2008-03-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-03-111-0/+44
| | | | | | | | | | | | | * rtems.adb, rtems.ads: Refactored rtems_clock_get into 5 methods which are single purpose and more strongly typed. They are: rtems_clock_get_tod - Get TOD in Classic API structure rtems_clock_get_tod_timeval - Get TOD in struct timeval rtems_clock_get_seconds_since_epoch - Get TOD as seconds since 1988 rtems_clock_get_ticks_since_boot - Get ticks since boot rtems_clock_get_ticks_per_second - Get ticks per second Also switch from using 'Unchecked_Access to 'Access. Added pragma Convention C as required by gcc > 4.3. Changed style of parenthese on subprogram calls to match GNAT.
* 2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-041-1/+1
| | | | * rtems.adb, rtems.ads: Correct binding to Object_Get_Name. Now works.
* 2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-011-1/+0
| | | | | * rtems.adb, rtems.ads: Object_Get_Name now has a proper implementation thanks to a binding tip from Laurent Guerby.
* 2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2008-02-011-9/+100
| | | | * rtems.adb, rtems.ads: Add Ada binding for Object Services.
* 2007-11-27 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-11-271-3/+4
| | | | * rtems.adb, rtems.ads: Fixed errors in the barrier binding.
* 2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-10-251-5/+114
| | | | * rtems.adb, rtems.ads: Added some more missing bindings.
* 2007-10-18 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-10-181-1/+7
| | | | * rtems.adb, rtems.ads: Added a missing binding.
* 2007-10-10 Glenn Humphrey <glenn.humphrey@OARcorp.com>Glenn Humphrey2007-10-101-142/+27
| | | | | * rtems.adb, rtems.ads: Cleaned up binding and removed bindings for things that are not reasonable to do in Ada.
* 2007-10-01 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-10-011-0/+7
| | | | | * rtems.adb, rtems.ads: Most of single processor Ada tests now build. Some run.
* 2007-04-02 Jennifer Averett <jennifer.averrett@oarcorp.com>Joel Sherrill2007-04-021-254/+40
| | | | * rtems.adb, rtems.ads: Update.
* 2005-11-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-11-171-14/+1
| | | | | | * 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-23 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2005-05-231-2/+2
| | | | | PR rtems_misc/795 * rtems.ads: Fix parameter ordering.
* 2005-05-14 Sergei Organov <osv@topconrd.ru>Joel Sherrill2005-05-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-02 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2005-05-021-1/+1
| | | | | | | PR 782/rtems * rtems.ads: Remove stray ';'. * rtems.adb: Stub Task_Variable_Add, Task_Variable_Get, Task_Variable_Delete.
* 2003-11-25 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-11-251-0/+24
| | | | | PR 528/rtems_misc * rtems.ads: Add task variables to Ada binding.
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+1
| | | | | * rtems-multiprocessing.adb, rtems-multiprocessing.ads, rtems.adb, rtems.ads: URL for license changed.
* 2003-02-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-02-031-2/+3
| | | | | | PR 338/filesystem * rtems.adb, rtems.ads: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change).
* 2003-01-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-01-031-12/+16
| | | | | * rtems.ads: Corrected Configuration_Table record definition to match current RTEMS source. sp01 now runs.
* 2002-08-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-08-271-2/+1
| | | | * rtems.ads: Corrected binding for Io_Initialize.
* 2001-02-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-02-011-36/+50
| | | | | | * 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.
* Added Semaphore_Flush.Joel Sherrill1999-10-211-0/+4
|
* Added Is_Suspended method.Joel Sherrill1999-10-071-0/+5
|
* Per suggestion from Eric Norum, went from one initial extension setJoel Sherrill1998-04-151-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.
* fixed typoJoel Sherrill1997-09-301-1/+1
|
* Fixed IO Manager calls to remove an argument which was used in 3.2.1Joel Sherrill1997-08-281-5/+0
| | | | but not in newer RTEMS.
* Added IO_Error status code and fixed No_Memory error number.Joel Sherrill1997-08-281-3/+5
|
* Reordered specs.Joel Sherrill1997-07-101-4/+4
|
* Added True and False constants for RTEMS.Boolean types. This necessitatedJoel Sherrill1997-06-031-0/+4
| | | | making sure every True/False reference was fully qualified.
* Added RTEMS boolean constants.Joel Sherrill1997-06-031-0/+3
|
* Added Pending_Events and lined up other event constantsJoel Sherrill1997-06-031-33/+34
|
* added more constants and fixed numerJoel Sherrill1997-06-031-8/+24
|
* added Signal constants, Is_Status_Successful, and Attribute constants.Joel Sherrill1997-06-031-5/+61
|
* added rtems_interrupt_level_attribute routien to return a properlyJoel Sherrill1997-06-031-5/+6
| | | | shifted interrupt_level attribute field and RTEMS_INTERRUPT_MASK.
* added Minimum_Stack_Size and Mode constantsJoel Sherrill1997-06-021-8/+23
|
* added new files from test area.Joel Sherrill1997-06-021-0/+1336
This code has successfully been used to run sp01.