Add RTEMS-specific types for BSD compatibility

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
Sebastian Huber 2016-04-18 15:29:26 +02:00 committed by Corinna Vinschen
parent 7d22dc338d
commit 8b6fc83330
1 changed files with 6 additions and 0 deletions

View File

@ -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 */