diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-18 14:47:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-18 15:06:37 +0200 |
commit | c5fde4960cf47f641d982b581acfeb9d9ab1cea7 (patch) | |
tree | 5812ede33f273f2cf670f9ca7465c2f0618cf8dc | |
parent | kvm: Include missing header file (diff) | |
download | rtems-libbsd-c5fde4960cf47f641d982b581acfeb9d9ab1cea7.tar.bz2 |
intrmask_t: Provide dummy type definition
-rw-r--r-- | freebsd/sys/sys/systm.h | 3 | ||||
-rw-r--r-- | rtemsbsd/include/rtems/bsd/sys/_types.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/freebsd/sys/sys/systm.h b/freebsd/sys/sys/systm.h index c761555e..6ac0491d 100644 --- a/freebsd/sys/sys/systm.h +++ b/freebsd/sys/sys/systm.h @@ -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; } diff --git a/rtemsbsd/include/rtems/bsd/sys/_types.h b/rtemsbsd/include/rtems/bsd/sys/_types.h index 76ec2440..a61d47a3 100644 --- a/rtemsbsd/include/rtems/bsd/sys/_types.h +++ b/rtemsbsd/include/rtems/bsd/sys/_types.h @@ -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; |