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 /freebsd/sys/sys/systm.h | |
parent | kvm: Include missing header file (diff) | |
download | rtems-libbsd-c5fde4960cf47f641d982b581acfeb9d9ab1cea7.tar.bz2 |
intrmask_t: Provide dummy type definition
Diffstat (limited to '')
-rw-r--r-- | freebsd/sys/sys/systm.h | 3 |
1 files changed, 3 insertions, 0 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; } |