mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 04:29:18 +08:00
intrmask_t: Provide dummy type definition
This commit is contained in:
parent
ce8c7bba5b
commit
c5fde4960c
@ -435,6 +435,9 @@ caddr_t kern_timeout_callwheel_alloc(caddr_t v);
|
|||||||
void kern_timeout_callwheel_init(void);
|
void kern_timeout_callwheel_init(void);
|
||||||
|
|
||||||
/* Stubs for obsolete functions that used to be for interrupt management */
|
/* 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 void spl0(void) { return; }
|
||||||
static __inline intrmask_t splbio(void) { return 0; }
|
static __inline intrmask_t splbio(void) { return 0; }
|
||||||
static __inline intrmask_t splcam(void) { return 0; }
|
static __inline intrmask_t splcam(void) { return 0; }
|
||||||
|
@ -143,8 +143,6 @@ typedef float __float_t;
|
|||||||
typedef intptr_t intfptr_t;
|
typedef intptr_t intfptr_t;
|
||||||
typedef uintptr_t uintfptr_t;
|
typedef uintptr_t uintfptr_t;
|
||||||
|
|
||||||
typedef uint32_t intrmask_t;
|
|
||||||
|
|
||||||
typedef time_t __time_t;
|
typedef time_t __time_t;
|
||||||
|
|
||||||
typedef ptrdiff_t __ptrdiff_t;
|
typedef ptrdiff_t __ptrdiff_t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user