This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Provide vm_page_t for RTEMS via <machine/_types.h>
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Cc: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Date: Tue, 25 Oct 2016 08:34:24 +0200
- Subject: [PATCH] Provide vm_page_t for RTEMS via <machine/_types.h>
- Authentication-results: sourceware.org; auth=none
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
---
newlib/libc/sys/rtems/include/machine/_types.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/newlib/libc/sys/rtems/include/machine/_types.h b/newlib/libc/sys/rtems/include/machine/_types.h
index f003ce9..eaf162a 100644
--- a/newlib/libc/sys/rtems/include/machine/_types.h
+++ b/newlib/libc/sys/rtems/include/machine/_types.h
@@ -39,6 +39,7 @@ typedef __int64_t __rlim_t; /* resource limit - intentionally */
typedef int boolean_t;
typedef struct device *device_t;
typedef char vm_memattr_t; /* memory attribute codes */
+typedef struct vm_page *vm_page_t;
#endif /* _KERNEL */
#endif /* _MACHINE__TYPES_H */
--
1.8.4.5