Add RTEMS-specific types for BSD compatibility
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
7d22dc338d
commit
8b6fc83330
|
@ -28,4 +28,10 @@ typedef unsigned long __ino_t;
|
||||||
typedef __uint32_t __mode_t;
|
typedef __uint32_t __mode_t;
|
||||||
#define __machine_mode_t_defined
|
#define __machine_mode_t_defined
|
||||||
|
|
||||||
|
#ifdef _KERNEL
|
||||||
|
typedef int boolean_t;
|
||||||
|
typedef struct device *device_t;
|
||||||
|
typedef char vm_memattr_t; /* memory attribute codes */
|
||||||
|
#endif /* _KERNEL */
|
||||||
|
|
||||||
#endif /* _MACHINE__TYPES_H */
|
#endif /* _MACHINE__TYPES_H */
|
||||||
|
|
Loading…
Reference in New Issue