intrmask_t: Provide dummy type definition

This commit is contained in:
Sebastian Huber 2016-04-18 14:47:49 +02:00
parent ce8c7bba5b
commit c5fde4960c
2 changed files with 3 additions and 2 deletions

View File

@ -435,6 +435,9 @@ caddr_t kern_timeout_callwheel_alloc(caddr_t v);
void kern_timeout_callwheel_init(void);
/* Stubs for obsolete functions that used to be for interrupt management */
#ifdef __rtems__
typedef int intrmask_t;
#endif /* __rtems__ */
static __inline void spl0(void) { return; }
static __inline intrmask_t splbio(void) { return 0; }
static __inline intrmask_t splcam(void) { return 0; }

View File

@ -143,8 +143,6 @@ typedef float __float_t;
typedef intptr_t intfptr_t;
typedef uintptr_t uintfptr_t;
typedef uint32_t intrmask_t;
typedef time_t __time_t;
typedef ptrdiff_t __ptrdiff_t;