mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-18 01:40:00 +08:00
Rename rtems-bsd-config.h
Rename rtems-bsd-config.h in rtems-bsd-kernel-space.h.
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_ATOMIC_H_
|
||||
#define _RTEMS_BSD_MACHINE_ATOMIC_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
|
@@ -118,8 +118,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_BUS_H_
|
||||
#define _RTEMS_BSD_MACHINE_BUS_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_BUS_DMA_H_
|
||||
#define _RTEMS_BSD_MACHINE_BUS_DMA_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#include <sys/bus_dma.h>
|
||||
|
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_CLOCK_H_
|
||||
#define _RTEMS_BSD_MACHINE_CLOCK_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
@@ -18,8 +18,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_CPU_H_
|
||||
#define _RTEMS_BSD_MACHINE_CPU_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#define cpu_spinwait() do { } while (0)
|
||||
|
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_PROC_H_
|
||||
#define _RTEMS_BSD_MACHINE_PROC_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
struct mdthread {
|
||||
|
@@ -37,8 +37,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
|
||||
/* FIXME: Update Newlib */
|
||||
#define MSIZE 256
|
||||
@@ -80,4 +80,4 @@ void rtems_bsd_assert_func(const char *file, int line, const char *func, const c
|
||||
|
||||
#define BSD_DEFAULT_PRISON (&prison0)
|
||||
|
||||
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_ */
|
||||
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_ */
|
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_RUNQ_H_
|
||||
#define _RTEMS_BSD_MACHINE_RUNQ_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#define RQB_LEN 0
|
||||
|
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_SIGNAL_H_
|
||||
#define _RTEMS_BSD_MACHINE_SIGNAL_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#endif /* _RTEMS_BSD_MACHINE_SIGNAL_H_ */
|
||||
|
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_STDARG_H_
|
||||
#define _RTEMS_BSD_MACHINE_STDARG_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
#endif /* _RTEMS_BSD_MACHINE_STDARG_H_ */
|
||||
|
@@ -23,8 +23,8 @@
|
||||
#ifndef _RTEMS_BSD_MACHINE_UCONTEXT_H_
|
||||
#define _RTEMS_BSD_MACHINE_UCONTEXT_H_
|
||||
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_CONFIG_H_
|
||||
#error "the header file <freebsd/machine/rtems-bsd-config.h> must be included first"
|
||||
#ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_KERNEL_SPACE_H_
|
||||
#error "the header file <machine/rtems-bsd-kernel-space.h> must be included first"
|
||||
#endif
|
||||
|
||||
typedef int mcontext_t;
|
||||
|
Reference in New Issue
Block a user