tr_port.h File Reference


Detailed Description

Posix port of the RTOS.

Definition in file posix/tr_port.h.

#include "proj_config.h"
#include <signal.h>
#include <stdint.h>
#include <tiros/tr_time.h>
#include "porttime.h"
#include <ucontext.h>

Include dependency graph for posix/tr_port.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define subtime_t   long
#define LT_INLINE   static inline
#define TRPORT_INF_TIME   {~0 , ~0 }
#define TIROS_POSIX_STKSZ   16384
#define ILLEGAL_STACK   ((osstkptr_t) ~0)
#define ILLEGAL_ADDR   ((osptr_t) ~0)
#define TRPORT_MIN_CTXT_SZ   ( (sizeof(ctxt_t) + sizeof(osstkptr_t))/sizeof(osword_t) )
#define OS_PORT_CRITICAL_ENABLE()
#define OS_PORT_ISR_BEGIN()
#define OS_PORT_CRITICAL_BEGIN()
#define OS_PORT_CRITICAL_END()   sigprocmask(SIG_SETMASK, &signal_status_old, 0);
#define TRPORT_RESPONSE_TIME   {0, 10000}
#define PORT_TIMER_TYPE   1

Typedefs

typedef uintptr_t osword_t
typedef void * osptr_t
typedef osword_tosstkptr_t
typedef void(*) osfnptr_t (void *)
typedef uintptr_t osptrword_t
typedef ucontext_t ctxt_t

Functions

static void OS_PORT_INT_ENABLE (void)
static void OS_PORT_INT_DISABLE (void)
static void OS_KERNEL_TRAP (void)


TiROS User Manual: Last Updated on Fri Jul 20 10:52:24 2007