forked from Imagelibrary/rtems
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libgnat/adasupp.c: Add helper method so Ada binding does not reference _TOD_Microseconds_per_tick.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libgnat/adasupp.c: Add helper method so Ada binding does not
|
||||
reference _TOD_Microseconds_per_tick.
|
||||
|
||||
2008-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* sapi/include/rtems/config.h: Remove commented out lines. Add macro
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <pthread.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/posix/pthread.h>
|
||||
|
||||
/*PAGE
|
||||
*
|
||||
/*
|
||||
* _ada_pthread_minimum_stack_size
|
||||
*
|
||||
* This routine returns the minimum stack size so the GNAT RTS can
|
||||
@@ -29,3 +29,8 @@ size_t _ada_pthread_minimum_stack_size( void )
|
||||
|
||||
return PTHREAD_MINIMUM_STACK_SIZE * 2;
|
||||
}
|
||||
|
||||
uint32_t _ada_microseconds_per_tick(void)
|
||||
{
|
||||
return rtems_configuration_get_microseconds_per_tick();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user