From e599318e912d8836c59d8b5202e3e31a6b8dcae9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 9 Oct 2013 22:52:54 +0200 Subject: Update files to match FreeBSD layout Add compatibility with Newlib header files. Some FreeBSD header files are mapped by the translation script: o rtems/bsd/sys/_types.h o rtems/bsd/sys/errno.h o rtems/bsd/sys/lock.h o rtems/bsd/sys/param.h o rtems/bsd/sys/resource.h o rtems/bsd/sys/time.h o rtems/bsd/sys/timespec.h o rtems/bsd/sys/types.h o rtems/bsd/sys/unistd.h It is now possible to include directly for example. Generate one Makefile which builds everything including tests. --- freebsd/sys/kern/kern_module.c | 44 +++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'freebsd/sys/kern/kern_module.c') diff --git a/freebsd/sys/kern/kern_module.c b/freebsd/sys/kern/kern_module.c index 0476efef..8351c626 100644 --- a/freebsd/sys/kern/kern_module.c +++ b/freebsd/sys/kern/kern_module.c @@ -1,4 +1,4 @@ -#include +#include /*- * Copyright (c) 1997 Doug Rabson @@ -26,25 +26,25 @@ * SUCH DAMAGE. */ -#include +#include -#include +#include __FBSDID("$FreeBSD$"); -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include static MALLOC_DEFINE(M_MODULE, "module", "module data structures"); @@ -474,11 +474,11 @@ modfind(struct thread *td, struct modfind_args *uap) MODULE_VERSION(kernel, __FreeBSD_version); #ifdef COMPAT_FREEBSD32 -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include typedef union modspecific32 { int intval; -- cgit v1.2.3