diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-09 22:52:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-10-10 09:08:23 +0200 |
commit | e599318e912d8836c59d8b5202e3e31a6b8dcae9 (patch) | |
tree | 1172b8b830a1c3236e45c834c2b80e01325ea144 /freebsd/sys/isa | |
parent | Move files to match FreeBSD layout (diff) | |
download | rtems-libbsd-e599318e912d8836c59d8b5202e3e31a6b8dcae9.tar.bz2 |
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 <sys/socket.h> directly for example.
Generate one Makefile which builds everything including tests.
Diffstat (limited to 'freebsd/sys/isa')
-rw-r--r-- | freebsd/sys/isa/isavar.h | 12 | ||||
-rw-r--r-- | freebsd/sys/isa/pnpvar.h | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/freebsd/sys/isa/isavar.h b/freebsd/sys/isa/isavar.h index c27961d2..cb20402c 100644 --- a/freebsd/sys/isa/isavar.h +++ b/freebsd/sys/isa/isavar.h @@ -26,17 +26,17 @@ * $FreeBSD$ */ -#ifndef _ISA_ISAVAR_HH_ -#define _ISA_ISAVAR_HH_ +#ifndef _ISA_ISAVAR_H_ +#define _ISA_ISAVAR_H_ struct isa_config; struct isa_pnp_id; typedef void isa_config_cb(void *arg, struct isa_config *config, int enable); #ifndef __rtems__ -#include <freebsd/local/isa_if.h> +#include <rtems/bsd/local/isa_if.h> #endif /* __rtems__ */ -#include <freebsd/isa/pnpvar.h> +#include <isa/pnpvar.h> #ifdef _KERNEL @@ -189,7 +189,7 @@ void isa_hint_device_unit(device_t bus, device_t child, const char *name, int isab_attach(device_t dev); #ifdef PC98 -#include <freebsd/machine/bus.h> +#include <machine/bus.h> /* * Allocate discontinuous resources for ISA bus. @@ -203,4 +203,4 @@ isa_load_resourcev(struct resource *re, bus_addr_t *res, bus_size_t count); #endif /* _KERNEL */ -#endif /* !_ISA_ISAVAR_HH_ */ +#endif /* !_ISA_ISAVAR_H_ */ diff --git a/freebsd/sys/isa/pnpvar.h b/freebsd/sys/isa/pnpvar.h index 8636ee5e..291c8130 100644 --- a/freebsd/sys/isa/pnpvar.h +++ b/freebsd/sys/isa/pnpvar.h @@ -26,8 +26,8 @@ * $FreeBSD$ */ -#ifndef _ISA_PNPVAR_HH_ -#define _ISA_PNPVAR_HH_ +#ifndef _ISA_PNPVAR_H_ +#define _ISA_PNPVAR_H_ #ifdef _KERNEL @@ -63,4 +63,4 @@ void pnp_check_quirks(uint32_t vendor_id, uint32_t logical_id, int ldn, #endif /* _KERNEL */ -#endif /* !_ISA_PNPVAR_HH_ */ +#endif /* !_ISA_PNPVAR_H_ */ |