These files have been modified in the initial pass at getting the portion

of the POSIX API necessary to support the GNAT runtime to initially compile.
We now have verified that the specifications for the necessary routines
are correct per the POSIX standards we have.
This commit is contained in:
Joel Sherrill
1996-05-22 22:32:39 +00:00
parent 05195890d7
commit f4719d5aaf
31 changed files with 52 additions and 14 deletions

View File

@@ -8,6 +8,7 @@
#include <sys/utsname.h>
#include <rtems/system.h>
#include <rtems/score/system.h>
#include <rtems/score/object.h>

View File

@@ -5,6 +5,8 @@
#include <aio.h>
#include <rtems/system.h>
#ifdef NOT_IMPLEMENTED_YET
/*PAGE

View File

@@ -5,6 +5,8 @@
#include <pthread.h>
#include <errno.h>
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>

View File

@@ -6,6 +6,7 @@
#include <pthread.h>
#include <errno.h>
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/score/states.h>
#include <rtems/score/watchdog.h>

View File

@@ -5,6 +5,8 @@
#include <devctl.h>
#include <rtems/system.h>
#ifdef NOT_IMPLEMENTED_YET
/*PAGE

View File

@@ -9,8 +9,9 @@
#include <errno.h>
#include <intr.h>
#include <pthread.h>
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coresem.h>
#include <rtems/score/thread.h>

View File

@@ -8,6 +8,7 @@
#include <pthread.h>
#include <string.h>
#include <rtems/system.h>
#include <rtems/score/thread.h>
#include <rtems/score/wkspace.h>
#include <rtems/posix/key.h>

View File

@@ -21,8 +21,8 @@
#include <limits.h>
#include <errno.h>
#include <fcntl.h>
#include <mqueue.h>
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
#include <rtems/posix/mqueue.h>

View File

@@ -6,11 +6,10 @@
#include <errno.h>
#include <pthread.h>
#include <rtems/score/system.h>
#include <rtems/system.h>
#include <rtems/score/coremutex.h>
#include <rtems/score/watchdog.h>
#include <rtems/score/mpci.h>
#include <rtems/posix/mutex.h>
#include <rtems/posix/priority.h>
#include <rtems/posix/time.h>

View File

@@ -5,6 +5,7 @@
#include <signal.h>
#include <rtems/system.h>
#include <rtems/score/thread.h>
#ifdef NOT_IMPLEMENTED_YET
@@ -16,7 +17,7 @@
*/
int kill(
int pid_t,
pid_t pid,
int sig
)
{

View File

@@ -7,6 +7,7 @@
#include <pthread.h>
#include <limits.h>
#include <rtems/system.h>
#include <rtems/score/stack.h>
#include <rtems/score/thread.h>
#include <rtems/posix/pthread.h>
@@ -188,13 +189,13 @@ int pthread_attr_getschedpolicy(
int pthread_attr_setschedparam(
pthread_attr_t *attr,
const struct sched_param param
const struct sched_param *param
)
{
if ( !attr || !attr->is_initialized )
return EINVAL;
attr->schedparam = param;
attr->schedparam = *param;
return 0;
}

View File

@@ -4,6 +4,8 @@
*/
#include <sched.h>
#include <rtems/system.h>
#include <rtems/score/tod.h>
#include <rtems/score/thread.h>
#include <rtems/posix/priority.h>

View File

@@ -4,6 +4,8 @@
*/
#include <time.h>
#include <rtems/system.h>
#include <rtems/score/tod.h>
/*

View File

@@ -5,6 +5,8 @@
#include <sys/types.h>
#include <rtems/system.h>
#ifdef NOT_IMPLEMENTED_YET
/*PAGE

View File

@@ -5,6 +5,8 @@
#include <unistd.h>
#include <rtems/system.h>
#ifdef NOT_IMPLEMENTED_YET
/*

View File

@@ -8,6 +8,7 @@
#include <sys/utsname.h>
#include <rtems/system.h>
#include <rtems/score/system.h>
#include <rtems/score/object.h>

View File

@@ -8,6 +8,7 @@
#include <sys/utsname.h>
#include <rtems/system.h>
#include <rtems/score/system.h>
#include <rtems/score/object.h>

View File

@@ -8,6 +8,7 @@
#include <sys/utsname.h>
#include <rtems/system.h>
#include <rtems/score/system.h>
#include <rtems/score/object.h>

View File

@@ -5,6 +5,8 @@
#include <aio.h>
#include <rtems/system.h>
#ifdef NOT_IMPLEMENTED_YET
/*PAGE

View File

@@ -5,6 +5,8 @@
#include <pthread.h>
#include <errno.h>
#include <rtems/system.h>
#include <rtems/score/chain.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>

View File

@@ -6,6 +6,7 @@
#include <pthread.h>
#include <errno.h>
#include <rtems/system.h>
#include <rtems/score/object.h>
#include <rtems/score/states.h>
#include <rtems/score/watchdog.h>

View File

@@ -5,6 +5,8 @@
#include <devctl.h>
#include <rtems/system.h>
#ifdef NOT_IMPLEMENTED_YET
/*PAGE

View File

@@ -9,8 +9,9 @@
#include <errno.h>
#include <intr.h>
#include <pthread.h>
#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/coresem.h>
#include <rtems/score/thread.h>

View File

@@ -8,6 +8,7 @@
#include <pthread.h>
#include <string.h>
#include <rtems/system.h>
#include <rtems/score/thread.h>
#include <rtems/score/wkspace.h>
#include <rtems/posix/key.h>

View File

@@ -21,8 +21,8 @@
#include <limits.h>
#include <errno.h>
#include <fcntl.h>
#include <mqueue.h>
#include <rtems/system.h>
#include <rtems/score/watchdog.h>
#include <rtems/posix/mqueue.h>

View File

@@ -6,11 +6,10 @@
#include <errno.h>
#include <pthread.h>
#include <rtems/score/system.h>
#include <rtems/system.h>
#include <rtems/score/coremutex.h>
#include <rtems/score/watchdog.h>
#include <rtems/score/mpci.h>
#include <rtems/posix/mutex.h>
#include <rtems/posix/priority.h>
#include <rtems/posix/time.h>

View File

@@ -5,6 +5,7 @@
#include <signal.h>
#include <rtems/system.h>
#include <rtems/score/thread.h>
#ifdef NOT_IMPLEMENTED_YET
@@ -16,7 +17,7 @@
*/
int kill(
int pid_t,
pid_t pid,
int sig
)
{

View File

@@ -7,6 +7,7 @@
#include <pthread.h>
#include <limits.h>
#include <rtems/system.h>
#include <rtems/score/stack.h>
#include <rtems/score/thread.h>
#include <rtems/posix/pthread.h>
@@ -188,13 +189,13 @@ int pthread_attr_getschedpolicy(
int pthread_attr_setschedparam(
pthread_attr_t *attr,
const struct sched_param param
const struct sched_param *param
)
{
if ( !attr || !attr->is_initialized )
return EINVAL;
attr->schedparam = param;
attr->schedparam = *param;
return 0;
}

View File

@@ -4,6 +4,8 @@
*/
#include <sched.h>
#include <rtems/system.h>
#include <rtems/score/tod.h>
#include <rtems/score/thread.h>
#include <rtems/posix/priority.h>

View File

@@ -4,6 +4,8 @@
*/
#include <time.h>
#include <rtems/system.h>
#include <rtems/score/tod.h>
/*

View File

@@ -5,6 +5,8 @@
#include <sys/types.h>
#include <rtems/system.h>
#ifdef NOT_IMPLEMENTED_YET
/*PAGE