mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 22:28:43 +08:00
Remove rtems/ from includes of RTEMS specific files
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#include <rtems/freebsd/machine/rtems-bsd-config.h>
|
||||
#include <rtems/freebsd/machine/rtems-bsd-select.h>
|
||||
#include <freebsd/machine/rtems-bsd-config.h>
|
||||
#include <freebsd/machine/rtems-bsd-select.h>
|
||||
|
||||
rtems_status_code rtems_bsd_initialize(void);
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE__ALIGN_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
|
||||
|
||||
#define _ALIGNBYTES ((uintptr_t) (CPU_ALIGNMENT - 1))
|
||||
|
@@ -1 +1 @@
|
||||
#include <rtems/freebsd/machine/bus.h>
|
||||
#include <freebsd/machine/bus.h>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE__LIMITS_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 /* _RTEMS_BSD_MACHINE__LIMITS_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE__STDINT_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 /* _RTEMS_BSD_MACHINE__STDINT_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE__TYPES_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 /* _RTEMS_BSD_MACHINE__TYPES_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_ATOMIC_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
|
||||
|
||||
#define mb() RTEMS_COMPILER_MEMORY_BARRIER()
|
||||
|
@@ -119,7 +119,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_BUS_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
|
||||
|
||||
/*
|
||||
@@ -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) \
|
||||
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_ */
|
||||
|
@@ -24,9 +24,9 @@
|
||||
#define _RTEMS_BSD_MACHINE_BUS_DMA_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
|
||||
|
||||
#include <rtems/freebsd/sys/bus_dma.h>
|
||||
#include <freebsd/sys/bus_dma.h>
|
||||
|
||||
#endif /* _RTEMS_BSD_MACHINE_BUS_DMA_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_CLOCK_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
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_CPUFUNC_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 /* _RTEMS_BSD_MACHINE_CPUFUNC_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_ENDIAN_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
|
||||
|
||||
#include <rtems/endian.h>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_MUTEX_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 /* _RTEMS_BSD_MACHINE_MUTEX_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_PARAM_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
|
||||
|
||||
#include <machine/param.h>
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_PCPU_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
|
||||
|
||||
#define curthread (( struct thread * )(( RTEMS_API_Control * )_Thread_Executing->API_Extensions[THREAD_API_RTEMS] )->Notepads[RTEMS_NOTEPAD_0] )
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_PROC_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
|
||||
|
||||
struct mdthread {
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_RESOURCE_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 /* _RTEMS_BSD_MACHINE_RESOURCE_H_ */
|
||||
|
@@ -187,7 +187,7 @@
|
||||
#ifndef _RTEMS_BSD_BSD_HH_
|
||||
/* Symbol rename */
|
||||
|
||||
#include <rtems/freebsd/machine/rtems-bsd-symbols.h>
|
||||
#include <freebsd/machine/rtems-bsd-symbols.h>
|
||||
|
||||
#define gets _bsd_gets
|
||||
#define realloc _bsd_realloc
|
||||
|
@@ -23,9 +23,9 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
|
||||
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSINIT_H_
|
||||
|
||||
#include <rtems/freebsd/sys/cdefs.h>
|
||||
#include <rtems/freebsd/sys/queue.h>
|
||||
#include <rtems/freebsd/sys/kernel.h>
|
||||
#include <freebsd/sys/cdefs.h>
|
||||
#include <freebsd/sys/queue.h>
|
||||
#include <freebsd/sys/kernel.h>
|
||||
|
||||
#define SYSINIT_NEED_FREEBSD_CORE \
|
||||
SYSINIT_REFERENCE(configure1); \
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_RUNQ_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
|
||||
|
||||
#define RQB_LEN 0
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_SIGNAL_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 /* _RTEMS_BSD_MACHINE_SIGNAL_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_STDARG_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 /* _RTEMS_BSD_MACHINE_STDARG_H_ */
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_UCONTEXT_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
|
||||
|
||||
typedef int mcontext_t;
|
||||
|
Reference in New Issue
Block a user