Remove rtems/ from includes of RTEMS specific files

This commit is contained in:
Joel Sherrill 2012-03-08 10:31:56 -06:00
parent a803d120b6
commit 6ad03bf517
57 changed files with 316 additions and 316 deletions

View File

@ -6,7 +6,7 @@ include $(PROJECT_ROOT)/make/leaf.cfg
CFLAGS += -ffreestanding CFLAGS += -ffreestanding
CFLAGS += -I . CFLAGS += -I .
CFLAGS += -I rtemsbsd # CFLAGS += -I rtemsbsd
CFLAGS += -I rtemsbsd/rtems CFLAGS += -I rtemsbsd/rtems
CFLAGS += -I contrib/altq CFLAGS += -I contrib/altq
CFLAGS += -I contrib/pf CFLAGS += -I contrib/pf

View File

@ -1,6 +1,6 @@
#include <freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <bsp.h> #include <bsp.h>
@ -8,38 +8,38 @@
#include <bsp/irq.h> #include <bsp/irq.h>
#include <rtems/freebsd/sys/cdefs.h> #include <freebsd/sys/cdefs.h>
#include <rtems/freebsd/sys/stdint.h> #include <freebsd/sys/stdint.h>
#include <rtems/freebsd/sys/stddef.h> #include <freebsd/sys/stddef.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/queue.h> #include <freebsd/sys/queue.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/bus.h> #include <freebsd/sys/bus.h>
#include <rtems/freebsd/sys/linker_set.h> #include <freebsd/sys/linker_set.h>
#include <rtems/freebsd/sys/module.h> #include <freebsd/sys/module.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/condvar.h> #include <freebsd/sys/condvar.h>
#include <rtems/freebsd/sys/sysctl.h> #include <freebsd/sys/sysctl.h>
#include <rtems/freebsd/sys/sx.h> #include <freebsd/sys/sx.h>
#include <rtems/freebsd/sys/unistd.h> #include <freebsd/sys/unistd.h>
#include <rtems/freebsd/sys/callout.h> #include <freebsd/sys/callout.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/priv.h> #include <freebsd/sys/priv.h>
#include <rtems/freebsd/dev/usb/usb.h> #include <freebsd/dev/usb/usb.h>
#include <rtems/freebsd/dev/usb/usbdi.h> #include <freebsd/dev/usb/usbdi.h>
#include <rtems/freebsd/dev/usb/usb_core.h> #include <freebsd/dev/usb/usb_core.h>
#include <rtems/freebsd/dev/usb/usb_busdma.h> #include <freebsd/dev/usb/usb_busdma.h>
#include <rtems/freebsd/dev/usb/usb_process.h> #include <freebsd/dev/usb/usb_process.h>
#include <rtems/freebsd/dev/usb/usb_util.h> #include <freebsd/dev/usb/usb_util.h>
#include <rtems/freebsd/dev/usb/usb_controller.h> #include <freebsd/dev/usb/usb_controller.h>
#include <rtems/freebsd/dev/usb/usb_bus.h> #include <freebsd/dev/usb/usb_bus.h>
#include <rtems/freebsd/dev/usb/controller/ohci.h> #include <freebsd/dev/usb/controller/ohci.h>
typedef struct typedef struct
{ {

View File

@ -27,8 +27,8 @@
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/machine/rtems-bsd-select.h> #include <freebsd/machine/rtems-bsd-select.h>
rtems_status_code rtems_bsd_initialize(void); rtems_status_code rtems_bsd_initialize(void);

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE__ALIGN_H_ #define _RTEMS_BSD_MACHINE__ALIGN_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#define _ALIGNBYTES ((uintptr_t) (CPU_ALIGNMENT - 1)) #define _ALIGNBYTES ((uintptr_t) (CPU_ALIGNMENT - 1))

View File

@ -1 +1 @@
#include <rtems/freebsd/machine/bus.h> #include <freebsd/machine/bus.h>

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE__LIMITS_H_ #define _RTEMS_BSD_MACHINE__LIMITS_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE__LIMITS_H_ */ #endif /* _RTEMS_BSD_MACHINE__LIMITS_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE__STDINT_H_ #define _RTEMS_BSD_MACHINE__STDINT_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE__STDINT_H_ */ #endif /* _RTEMS_BSD_MACHINE__STDINT_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE__TYPES_H_ #define _RTEMS_BSD_MACHINE__TYPES_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE__TYPES_H_ */ #endif /* _RTEMS_BSD_MACHINE__TYPES_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_ATOMIC_H_ #define _RTEMS_BSD_MACHINE_ATOMIC_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#define mb() RTEMS_COMPILER_MEMORY_BARRIER() #define mb() RTEMS_COMPILER_MEMORY_BARRIER()

View File

@ -119,7 +119,7 @@
#define _RTEMS_BSD_MACHINE_BUS_H_ #define _RTEMS_BSD_MACHINE_BUS_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
/* /*
@ -776,6 +776,6 @@ bus_space_copy_region_8(bus_space_tag_t bst __unused, bus_space_handle_t bsh1,
#define bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c) \ #define bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c) \
bus_space_copy_region_8(t, h1, o1, h2, o2, c) bus_space_copy_region_8(t, h1, o1, h2, o2, c)
#include <rtems/freebsd/machine/bus_dma.h> #include <freebsd/machine/bus_dma.h>
#endif /* _RTEMS_BSD_MACHINE_BUS_H_ */ #endif /* _RTEMS_BSD_MACHINE_BUS_H_ */

View File

@ -24,9 +24,9 @@
#define _RTEMS_BSD_MACHINE_BUS_DMA_H_ #define _RTEMS_BSD_MACHINE_BUS_DMA_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#include <rtems/freebsd/sys/bus_dma.h> #include <freebsd/sys/bus_dma.h>
#endif /* _RTEMS_BSD_MACHINE_BUS_DMA_H_ */ #endif /* _RTEMS_BSD_MACHINE_BUS_DMA_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_CLOCK_H_ #define _RTEMS_BSD_MACHINE_CLOCK_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#ifdef _KERNEL #ifdef _KERNEL

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_CPUFUNC_H_ #define _RTEMS_BSD_MACHINE_CPUFUNC_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE_CPUFUNC_H_ */ #endif /* _RTEMS_BSD_MACHINE_CPUFUNC_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_ENDIAN_H #define _RTEMS_BSD_MACHINE_ENDIAN_H
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#include <rtems/endian.h> #include <rtems/endian.h>

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_MUTEX_H_ #define _RTEMS_BSD_MACHINE_MUTEX_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE_MUTEX_H_ */ #endif /* _RTEMS_BSD_MACHINE_MUTEX_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_PARAM_H_ #define _RTEMS_BSD_MACHINE_PARAM_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#include <machine/param.h> #include <machine/param.h>

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_PCPU_H_ #define _RTEMS_BSD_MACHINE_PCPU_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#define curthread (( struct thread * )(( RTEMS_API_Control * )_Thread_Executing->API_Extensions[THREAD_API_RTEMS] )->Notepads[RTEMS_NOTEPAD_0] ) #define curthread (( struct thread * )(( RTEMS_API_Control * )_Thread_Executing->API_Extensions[THREAD_API_RTEMS] )->Notepads[RTEMS_NOTEPAD_0] )

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_PROC_H_ #define _RTEMS_BSD_MACHINE_PROC_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
struct mdthread { struct mdthread {

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_RESOURCE_H_ #define _RTEMS_BSD_MACHINE_RESOURCE_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE_RESOURCE_H_ */ #endif /* _RTEMS_BSD_MACHINE_RESOURCE_H_ */

View File

@ -187,7 +187,7 @@
#ifndef _RTEMS_BSD_BSD_HH_ #ifndef _RTEMS_BSD_BSD_HH_
/* Symbol rename */ /* Symbol rename */
#include <rtems/freebsd/machine/rtems-bsd-symbols.h> #include <freebsd/machine/rtems-bsd-symbols.h>
#define gets _bsd_gets #define gets _bsd_gets
#define realloc _bsd_realloc #define realloc _bsd_realloc

View File

@ -23,9 +23,9 @@
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_ #define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
#include <rtems/freebsd/sys/cdefs.h> #include <freebsd/sys/cdefs.h>
#include <rtems/freebsd/sys/queue.h> #include <freebsd/sys/queue.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#define SYSINIT_NEED_FREEBSD_CORE \ #define SYSINIT_NEED_FREEBSD_CORE \
SYSINIT_REFERENCE(configure1); \ SYSINIT_REFERENCE(configure1); \

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_RUNQ_H_ #define _RTEMS_BSD_MACHINE_RUNQ_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#define RQB_LEN 0 #define RQB_LEN 0

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_SIGNAL_H_ #define _RTEMS_BSD_MACHINE_SIGNAL_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE_SIGNAL_H_ */ #endif /* _RTEMS_BSD_MACHINE_SIGNAL_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_STDARG_H_ #define _RTEMS_BSD_MACHINE_STDARG_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
#endif /* _RTEMS_BSD_MACHINE_STDARG_H_ */ #endif /* _RTEMS_BSD_MACHINE_STDARG_H_ */

View File

@ -24,7 +24,7 @@
#define _RTEMS_BSD_MACHINE_UCONTEXT_H_ #define _RTEMS_BSD_MACHINE_UCONTEXT_H_
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
#error "the header file <rtems/freebsd/machine/rtems-bsd-config.h> must be included first" #error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
#endif #endif
typedef int mcontext_t; typedef int mcontext_t;

View File

@ -20,10 +20,10 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
void void
rtems_bsd_assert_func(const char *file, int line, const char *func, const char *expr) rtems_bsd_assert_func(const char *file, int line, const char *func, const char *expr)

View File

@ -20,13 +20,13 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/bus.h> #include <freebsd/sys/bus.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
static void static void
configure_first(void *dummy) configure_first(void *dummy)

View File

@ -44,18 +44,18 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/machine/rtems-bsd-cache.h> #include <freebsd/machine/rtems-bsd-cache.h>
#include <rtems/malloc.h> #include <rtems/malloc.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/machine/atomic.h> #include <freebsd/machine/atomic.h>
#include <rtems/freebsd/machine/bus.h> #include <freebsd/machine/bus.h>
#ifdef CPU_DATA_CACHE_ALIGNMENT #ifdef CPU_DATA_CACHE_ALIGNMENT
#define CLSZ ((uintptr_t) CPU_DATA_CACHE_ALIGNMENT) #define CLSZ ((uintptr_t) CPU_DATA_CACHE_ALIGNMENT)

View File

@ -20,14 +20,14 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/callout.h> #include <freebsd/sys/callout.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
RTEMS_CHAIN_DEFINE_EMPTY(rtems_bsd_callout_chain); RTEMS_CHAIN_DEFINE_EMPTY(rtems_bsd_callout_chain);

View File

@ -20,24 +20,24 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/condvar.h> #include <freebsd/sys/condvar.h>
#include <rtems/freebsd/cam/cam.h> #include <freebsd/cam/cam.h>
#include <rtems/freebsd/cam/cam_ccb.h> #include <freebsd/cam/cam_ccb.h>
#include <rtems/freebsd/cam/cam_sim.h> #include <freebsd/cam/cam_sim.h>
#include <rtems/freebsd/cam/cam_xpt.h> #include <freebsd/cam/cam_xpt.h>
#include <rtems/freebsd/cam/cam_xpt_sim.h> #include <freebsd/cam/cam_xpt_sim.h>
#include <rtems/freebsd/cam/cam_debug.h> #include <freebsd/cam/cam_debug.h>
#include <rtems/freebsd/cam/scsi/scsi_all.h> #include <freebsd/cam/scsi/scsi_all.h>
#include <rtems/media.h> #include <rtems/media.h>
#include <rtems/libio.h> #include <rtems/libio.h>

View File

@ -23,16 +23,16 @@
/* Necessary to obtain some internal functions */ /* Necessary to obtain some internal functions */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/posix/cond.h> #include <rtems/posix/cond.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/condvar.h> #include <freebsd/sys/condvar.h>
RTEMS_CHAIN_DEFINE_EMPTY(rtems_bsd_condvar_chain); RTEMS_CHAIN_DEFINE_EMPTY(rtems_bsd_condvar_chain);

View File

@ -20,12 +20,12 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
void void
DELAY(int usec) DELAY(int usec)

View File

@ -21,20 +21,20 @@
*/ */
#include <sys/types.h> //needed for fd_mask and such #include <sys/types.h> //needed for fd_mask and such
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/selinfo.h> #include <freebsd/sys/selinfo.h>
#include <rtems/freebsd/sys/fcntl.h> #include <freebsd/sys/fcntl.h>
#include <rtems/freebsd/sys/socket.h> #include <freebsd/sys/socket.h>
#include <rtems/freebsd/sys/socketvar.h> #include <freebsd/sys/socketvar.h>
#include <rtems/freebsd/sys/protosw.h> #include <freebsd/sys/protosw.h>
#include <rtems/freebsd/sys/select.h> #include <freebsd/sys/select.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
MALLOC_DEFINE(M_IOV, "iov", "large iov's"); MALLOC_DEFINE(M_IOV, "iov", "large iov's");

View File

@ -20,11 +20,11 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/irq-extension.h> #include <rtems/irq-extension.h>
#include <rtems/freebsd/bsd.h> #include <freebsd/bsd.h>
rtems_status_code rtems_status_code
rtems_bsd_initialize_with_interrupt_server(void) rtems_bsd_initialize_with_interrupt_server(void)

View File

@ -20,17 +20,17 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
#include <rtems/freebsd/bsd.h> #include <freebsd/bsd.h>
/* In FreeBSD this is a local function */ /* In FreeBSD this is a local function */
void mi_startup(void); void mi_startup(void);

View File

@ -20,38 +20,38 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
/*#include <rtems/freebsd/sys/types.h> /*#include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/jail.h> #include <freebsd/sys/jail.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h>*/ #include <freebsd/sys/mutex.h>*/
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/errno.h> #include <freebsd/sys/errno.h>
#include <rtems/freebsd/sys/sysproto.h> #include <freebsd/sys/sysproto.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/osd.h> #include <freebsd/sys/osd.h>
#include <rtems/freebsd/sys/priv.h> #include <freebsd/sys/priv.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
#include <rtems/freebsd/sys/taskqueue.h> #include <freebsd/sys/taskqueue.h>
#include <rtems/freebsd/sys/fcntl.h> #include <freebsd/sys/fcntl.h>
#include <rtems/freebsd/sys/jail.h> #include <freebsd/sys/jail.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/sx.h> #include <freebsd/sys/sx.h>
#include <rtems/freebsd/sys/sysent.h> #include <freebsd/sys/sysent.h>
#include <rtems/freebsd/sys/namei.h> #include <freebsd/sys/namei.h>
#include <rtems/freebsd/sys/mount.h> #include <freebsd/sys/mount.h>
#include <rtems/freebsd/sys/queue.h> #include <freebsd/sys/queue.h>
#include <rtems/freebsd/sys/socket.h> #include <freebsd/sys/socket.h>
#include <rtems/freebsd/sys/syscallsubr.h> #include <freebsd/sys/syscallsubr.h>
#include <rtems/freebsd/sys/sysctl.h> #include <freebsd/sys/sysctl.h>
#define DEFAULT_HOSTUUID "00000000-0000-0000-0000-000000000000" #define DEFAULT_HOSTUUID "00000000-0000-0000-0000-000000000000"

View File

@ -23,17 +23,17 @@
/* Necessary to obtain some internal functions */ /* Necessary to obtain some internal functions */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/ktr.h> #include <freebsd/sys/ktr.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/sx.h> #include <freebsd/sys/sx.h>
#include <rtems/freebsd/sys/rwlock.h> #include <freebsd/sys/rwlock.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
struct lock_class *lock_classes[LOCK_CLASS_MAX + 1] = { struct lock_class *lock_classes[LOCK_CLASS_MAX + 1] = {
&lock_class_mtx_spin, &lock_class_mtx_spin,

View File

@ -20,13 +20,13 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
MALLOC_DEFINE(M_DEVBUF, "devbuf", "device driver memory"); MALLOC_DEFINE(M_DEVBUF, "devbuf", "device driver memory");

View File

@ -23,14 +23,14 @@
/* Necessary to obtain some internal functions */ /* Necessary to obtain some internal functions */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
static void assert_mtx(struct lock_object *lock, int what); static void assert_mtx(struct lock_object *lock, int what);
static void lock_mtx(struct lock_object *lock, int how); static void lock_mtx(struct lock_object *lock, int how);

View File

@ -20,15 +20,15 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/machine/rtems-bsd-sysinit.h> #include <freebsd/machine/rtems-bsd-sysinit.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/bus.h> #include <freebsd/sys/bus.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/module.h> #include <freebsd/sys/module.h>
static int static int
nexus_probe(device_t dev) nexus_probe(device_t dev)

View File

@ -20,15 +20,15 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
static void static void
suspend_all_threads(void) suspend_all_threads(void)

View File

@ -20,14 +20,14 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/vm/uma.h> #include <freebsd/vm/uma.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/ucred.h> #include <freebsd/sys/ucred.h>
#include <rtems/freebsd/sys/refcount.h> #include <freebsd/sys/refcount.h>
static MALLOC_DEFINE(M_CRED, "cred", "credentials"); static MALLOC_DEFINE(M_CRED, "cred", "credentials");

View File

@ -20,16 +20,16 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
#include <rtems/freebsd/sys/resourcevar.h> #include <freebsd/sys/resourcevar.h>
#include <rtems/freebsd/sys/rwlock.h> #include <freebsd/sys/rwlock.h>
static MALLOC_DEFINE(M_UIDINFO, "uidinfo", "uidinfo structures"); static MALLOC_DEFINE(M_UIDINFO, "uidinfo", "uidinfo structures");

View File

@ -15,14 +15,14 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <sys/types.h> #include <sys/types.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/rmlock.h> #include <freebsd/sys/rmlock.h>
#include <pthread.h> #include <pthread.h>
#define RMPF_ONQUEUE 1 #define RMPF_ONQUEUE 1

View File

@ -23,14 +23,14 @@
/* Necessary to obtain some internal functions */ /* Necessary to obtain some internal functions */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <sys/types.h> #include <sys/types.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/rwlock.h> #include <freebsd/sys/rwlock.h>
#include <pthread.h> #include <pthread.h>
#ifndef INVARIANTS #ifndef INVARIANTS

View File

@ -20,18 +20,18 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/callout.h> #include <freebsd/sys/callout.h>
#include <rtems/freebsd/sys/condvar.h> #include <freebsd/sys/condvar.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
#include <rtems/freebsd/bsd.h> #include <freebsd/bsd.h>
#include <rtems/shell.h> #include <rtems/shell.h>
static void static void

View File

@ -20,11 +20,11 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/signalvar.h> #include <freebsd/sys/signalvar.h>
void void
psignal(struct proc *p, int sig) psignal(struct proc *p, int sig)

View File

@ -20,15 +20,15 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/score/states.h> #include <rtems/score/states.h>
#include <rtems/score/thread.h> #include <rtems/score/thread.h>
#include <rtems/score/threadq.h> #include <rtems/score/threadq.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/uio.h> #include <freebsd/sys/uio.h>
int int
copyout(const void *kaddr, void *udaddr, size_t len) copyout(const void *kaddr, void *udaddr, size_t len)

View File

@ -23,13 +23,13 @@
/* Necessary to obtain some internal functions */ /* Necessary to obtain some internal functions */
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ #define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/sx.h> #include <freebsd/sys/sx.h>
#ifndef INVARIANTS #ifndef INVARIANTS
#define _sx_assert(sx, what, file, line) #define _sx_assert(sx, what, file, line)

View File

@ -20,20 +20,20 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/score/states.h> #include <rtems/score/states.h>
#include <rtems/score/thread.h> #include <rtems/score/thread.h>
#include <rtems/score/threadq.h> #include <rtems/score/threadq.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/ktr.h> #include <freebsd/sys/ktr.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
#include <rtems/freebsd/machine/pcpu.h> #include <freebsd/machine/pcpu.h>
#define STATES_WAITING_FOR_SLEEP 0x40000 #define STATES_WAITING_FOR_SLEEP 0x40000

View File

@ -19,24 +19,24 @@
* found in the file LICENSE in this distribution or at * found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
#include <rtems/freebsd/sys/fcntl.h> #include <freebsd/sys/fcntl.h>
#include <rtems/freebsd/sys/protosw.h> #include <freebsd/sys/protosw.h>
#include <rtems/freebsd/sys/mbuf.h> #include <freebsd/sys/mbuf.h>
#include <rtems/freebsd/sys/socket.h> #include <freebsd/sys/socket.h>
#include <rtems/freebsd/sys/socketvar.h> #include <freebsd/sys/socketvar.h>
#include <rtems/freebsd/sys/uio.h> #include <freebsd/sys/uio.h>
#include <rtems/freebsd/machine/pcpu.h> #include <freebsd/machine/pcpu.h>
#include <rtems/freebsd/net/vnet.h> #include <freebsd/net/vnet.h>
#include <rtems/libio_.h> #include <rtems/libio_.h>
#include <rtems/seterr.h> #include <rtems/seterr.h>

View File

@ -20,10 +20,10 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/sysctl.h> #include <freebsd/sys/sysctl.h>
int sysctl( int sysctl(
int *name, int *name,

View File

@ -18,13 +18,13 @@
* *
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/cdefs.h> #include <freebsd/sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/sysctl.h> #include <freebsd/sys/sysctl.h>
int int
sysctlbyname(const char *name, void *oldp, size_t *oldlenp, sysctlbyname(const char *name, void *oldp, size_t *oldlenp,

View File

@ -34,13 +34,13 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/cdefs.h> #include <freebsd/sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/sysctl.h> #include <freebsd/sys/sysctl.h>
#include <string.h> #include <string.h>
/* /*

View File

@ -20,14 +20,14 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/proc.h> #include <freebsd/sys/proc.h>
#include <rtems/freebsd/sys/kthread.h> #include <freebsd/sys/kthread.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
RTEMS_CHAIN_DEFINE_EMPTY(rtems_bsd_thread_chain); RTEMS_CHAIN_DEFINE_EMPTY(rtems_bsd_thread_chain);

View File

@ -20,19 +20,19 @@
* http://www.rtems.com/license/LICENSE. * http://www.rtems.com/license/LICENSE.
*/ */
#include <rtems/freebsd/machine/rtems-bsd-config.h> #include <freebsd/machine/rtems-bsd-config.h>
#include <rtems/freebsd/sys/param.h> #include <freebsd/sys/param.h>
#include <rtems/freebsd/sys/types.h> #include <freebsd/sys/types.h>
#include <rtems/freebsd/sys/systm.h> #include <freebsd/sys/systm.h>
#include <rtems/freebsd/sys/malloc.h> #include <freebsd/sys/malloc.h>
#include <rtems/freebsd/sys/kernel.h> #include <freebsd/sys/kernel.h>
#include <rtems/freebsd/sys/lock.h> #include <freebsd/sys/lock.h>
#include <rtems/freebsd/sys/mutex.h> #include <freebsd/sys/mutex.h>
#include <rtems/freebsd/sys/ktr.h> #include <freebsd/sys/ktr.h>
#include <rtems/freebsd/vm/uma.h> #include <freebsd/vm/uma.h>
#include <rtems/freebsd/vm/uma_int.h> #include <freebsd/vm/uma_int.h>
#include <rtems/freebsd/vm/uma_dbg.h> #include <freebsd/vm/uma_dbg.h>
/* /*
* This is the zone and keg from which all zones are spawned. The idea is that * This is the zone and keg from which all zones are spawned. The idea is that

View File

@ -7,7 +7,7 @@
#include <bsp.h> #include <bsp.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <rtems/freebsd/bsd.h> #include <freebsd/bsd.h>
/* needed by rtems-bsd-resource.c */ /* needed by rtems-bsd-resource.c */
int maxproc; int maxproc;