fixed for Linux

This commit is contained in:
Joel Sherrill
1995-07-18 21:11:57 +00:00
parent 217d2e7dca
commit 3ea52882fb
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#
# $Id$
#
This is a "generic" BSP for a modern UNIX system which is enough
System V and POSIX compliant to support at least the following:
+ semaphores
+ itimers
+ mmap
+ shared memory
At the moment, this BSP is known to work with the following UNIXes:
+ HP-UX 9.0.x
+ Solaris 2.x
+ Linux 1.1.x (single processor only -- mmap is broken)

View File

@@ -20,6 +20,7 @@
#include <stdio.h> #include <stdio.h>
#include <signal.h> #include <signal.h>
#include <time.h> #include <time.h>
#include <sys/time.h>
extern rtems_configuration_table Configuration; extern rtems_configuration_table Configuration;
extern sigset_t UNIX_SIGNAL_MASK; extern sigset_t UNIX_SIGNAL_MASK;

View File

@@ -19,6 +19,7 @@
#include <rtems.h> #include <rtems.h>
#include <time.h> #include <time.h>
#include <sys/time.h>
struct timeval Timer_start; struct timeval Timer_start;
struct timeval Timer_stop; struct timeval Timer_stop;