Commit 78fee052 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

evl: rename evenless/ paths to evl/


Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 62904743
......@@ -265,7 +265,7 @@ endif
endif
ifeq ($(CONFIG_EVL),y)
KBUILD_CFLAGS += -Iarch/$(SRCARCH)/evenless/include -Iinclude/evenless
KBUILD_CFLAGS += -Iarch/$(SRCARCH)/evl/include -Iinclude/evl
endif
export TEXT_OFFSET GZFLAGS MMUEXT
......
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EVENLESS_ARM_ASM_FPTEST_H
#define _EVENLESS_ARM_ASM_FPTEST_H
#ifndef _EVL_ARM_ASM_FPTEST_H
#define _EVL_ARM_ASM_FPTEST_H
#include <linux/cpufeature.h>
#include <uapi/asm/evenless/fptest.h>
#include <uapi/asm/evl/fptest.h>
static inline bool evl_begin_fpu(void)
{
......@@ -22,4 +22,4 @@ static inline u32 evl_detect_fpu(void)
return features;
}
#endif /* _EVENLESS_ARM_ASM_FPTEST_H */
#endif /* _EVL_ARM_ASM_FPTEST_H */
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _EVENLESS_ARM_ASM_SYSCALL_H
#define _EVENLESS_ARM_ASM_SYSCALL_H
#ifndef _EVL_ARM_ASM_SYSCALL_H
#define _EVL_ARM_ASM_SYSCALL_H
#include <linux/uaccess.h>
#include <asm/unistd.h>
......@@ -43,4 +43,4 @@ void set_oob_retval(struct pt_regs *regs, long ret)
oob_retval(regs) = ret;
}
#endif /* !_EVENLESS_ARM_ASM_SYSCALL_H */
#endif /* !_EVL_ARM_ASM_SYSCALL_H */
......@@ -2,8 +2,8 @@
* Derived from Xenomai Cobalt, https://xenomai.org/
* Copyright (C) 2005 Stelian Pop
*/
#ifndef _EVENLESS_ARM_ASM_THREAD_H
#define _EVENLESS_ARM_ASM_THREAD_H
#ifndef _EVL_ARM_ASM_THREAD_H
#define _EVL_ARM_ASM_THREAD_H
#define xnarch_fault_pf_p(__trapnr) ((__trapnr) == ARM_TRAP_ACCESS)
#define xnarch_fault_bp_p(__trapnr) ((current->ptrace & PT_PTRACED) && \
......@@ -12,4 +12,4 @@
#define xnarch_fault_notify(__trapnr) (!xnarch_fault_bp_p(__trapnr))
#endif /* !_EVENLESS_ARM_ASM_THREAD_H */
#endif /* !_EVL_ARM_ASM_THREAD_H */
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EVENLESS_DOVETAIL_THREAD_INFO_H
#define _EVENLESS_DOVETAIL_THREAD_INFO_H
#ifndef _EVL_DOVETAIL_THREAD_INFO_H
#define _EVL_DOVETAIL_THREAD_INFO_H
#include <asm-generic/evenless/thread_info.h>
#include <asm-generic/evl/thread_info.h>
#endif /* !_EVENLESS_DOVETAIL_THREAD_INFO_H */
#endif /* !_EVL_DOVETAIL_THREAD_INFO_H */
......@@ -4,8 +4,8 @@
* Derived from Xenomai Cobalt, https://xenomai.org/
* Copyright (C) 2006 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>.
*/
#ifndef _EVENLESS_ARM_ASM_UAPI_FPTEST_H
#define _EVENLESS_ARM_ASM_UAPI_FPTEST_H
#ifndef _EVL_ARM_ASM_UAPI_FPTEST_H
#define _EVL_ARM_ASM_UAPI_FPTEST_H
#define evl_arm_vfp 0x1
......@@ -44,4 +44,4 @@
__result; \
})
#endif /* !_EVENLESS_ARM_ASM_UAPI_FPTEST_H */
#endif /* !_EVL_ARM_ASM_UAPI_FPTEST_H */
......@@ -127,7 +127,7 @@ endif
CHECKFLAGS += -D__aarch64__
ifeq ($(CONFIG_EVL),y)
KBUILD_CFLAGS += -Iarch/$(SRCARCH)/evenless/include -Iinclude/evenless
KBUILD_CFLAGS += -Iarch/$(SRCARCH)/evl/include -Iinclude/evl
endif
ifeq ($(CONFIG_DYNAMIC_FTRACE_WITH_REGS),y)
......
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EVENLESS_ARM64_ASM_FPTEST_H
#define _EVENLESS_ARM64_ASM_FPTEST_H
#ifndef _EVL_ARM64_ASM_FPTEST_H
#define _EVL_ARM64_ASM_FPTEST_H
#include <linux/cpufeature.h>
#include <uapi/asm/evenless/fptest.h>
#include <uapi/asm/evl/fptest.h>
static inline bool evl_begin_fpu(void)
{
......@@ -25,4 +25,4 @@ static inline u32 evl_detect_fpu(void)
return features;
}
#endif /* _EVENLESS_ARM64_ASM_FPTEST_H */
#endif /* _EVL_ARM64_ASM_FPTEST_H */
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EVENLESS_ARM64_ASM_SYSCALL_H
#define _EVENLESS_ARM64_ASM_SYSCALL_H
#ifndef _EVL_ARM64_ASM_SYSCALL_H
#define _EVL_ARM64_ASM_SYSCALL_H
#include <linux/uaccess.h>
#include <asm/unistd.h>
#include <asm/ptrace.h>
#include <uapi/asm/evenless/syscall.h>
#include <uapi/asm/evl/syscall.h>
#define raw_put_user(src, dst) __put_user(src, dst)
#define raw_get_user(dst, src) __get_user(dst, src)
#define is_oob_syscall(__regs) ((__regs)->syscallno & __EVENLESS_SYSCALL_BIT)
#define oob_syscall_nr(__regs) ((__regs)->syscallno & ~__EVENLESS_SYSCALL_BIT)
#define is_oob_syscall(__regs) ((__regs)->syscallno & __EVL_SYSCALL_BIT)
#define oob_syscall_nr(__regs) ((__regs)->syscallno & ~__EVL_SYSCALL_BIT)
#define oob_retval(__regs) ((__regs)->regs[0])
#define oob_arg1(__regs) ((__regs)->regs[0])
......@@ -42,4 +42,4 @@ void set_oob_retval(struct pt_regs *regs, long ret)
oob_retval(regs) = ret;
}
#endif /* !_EVENLESS_ARM64_ASM_SYSCALL_H */
#endif /* !_EVL_ARM64_ASM_SYSCALL_H */
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EVENLESS_ARM64_ASM_THREAD_H
#define _EVENLESS_ARM64_ASM_THREAD_H
#ifndef _EVL_ARM64_ASM_THREAD_H
#define _EVL_ARM64_ASM_THREAD_H
#define xnarch_fault_pf_p(__trapnr) ((__trapnr) == ARM64_TRAP_ACCESS)
#define xnarch_fault_bp_p(__trapnr) ((current->ptrace & PT_PTRACED) && \
......@@ -9,4 +9,4 @@
#define xnarch_fault_notify(__trapnr) (!xnarch_fault_bp_p(__trapnr))
#endif /* !_EVENLESS_ARM64_ASM_THREAD_H */
#endif /* !_EVL_ARM64_ASM_THREAD_H */
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _EVENLESS_DOVETAIL_THREAD_INFO_H
#define _EVENLESS_DOVETAIL_THREAD_INFO_H
#ifndef _EVL_DOVETAIL_THREAD_INFO_H
#define _EVL_DOVETAIL_THREAD_INFO_H
#include <asm-generic/evenless/thread_info.h>
#include <asm-generic/evl/thread_info.h>
#endif /* !_EVENLESS_DOVETAIL_THREAD_INFO_H */
#endif /* !_EVL_DOVETAIL_THREAD_INFO_H */
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _EVENLESS_ARM64_ASM_UAPI_SYSCALL_H
#define _EVENLESS_ARM64_ASM_UAPI_SYSCALL_H
#define __EVENLESS_SYSCALL_BIT 0x10000000
#endif /* !_EVENLESS_ARM64_ASM_UAPI_SYSCALL_H */
......@@ -4,8 +4,8 @@
* Derived from Xenomai Cobalt, https://xenomai.org/
* Copyright (C) 2006 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>.
*/
#ifndef _EVENLESS_ARM64_ASM_UAPI_FPTEST_H
#define _EVENLESS_ARM64_ASM_UAPI_FPTEST_H
#ifndef _EVL_ARM64_ASM_UAPI_FPTEST_H
#define _EVL_ARM64_ASM_UAPI_FPTEST_H
#define evl_arm64_fpsimd 0x1
#define evl_arm64_sve 0x2
......@@ -89,4 +89,4 @@
__result; \
})
#endif /* !_EVENLESS_ARM64_ASM_UAPI_FPTEST_H */
#endif /* !_EVL_ARM64_ASM_UAPI_FPTEST_H */
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _EVL_ARM64_ASM_UAPI_SYSCALL_H
#define _EVL_ARM64_ASM_UAPI_SYSCALL_H
#define __EVL_SYSCALL_BIT 0x10000000
#endif /* !_EVL_ARM64_ASM_UAPI_SYSCALL_H */
......@@ -30,7 +30,7 @@ source "drivers/block/Kconfig"
source "drivers/nvme/Kconfig"
source "drivers/evenless/Kconfig"
source "drivers/evl/Kconfig"
source "drivers/misc/Kconfig"
......
......@@ -158,7 +158,7 @@ obj-$(CONFIG_REMOTEPROC) += remoteproc/
obj-$(CONFIG_RPMSG) += rpmsg/
obj-$(CONFIG_SOUNDWIRE) += soundwire/
obj-$(CONFIG_EVL) += evenless/
obj-$(CONFIG_EVL) += evl/
# Virtualization drivers
obj-$(CONFIG_VIRT_DRIVERS) += virt/
......
......@@ -13,11 +13,11 @@
#include <linux/uaccess.h>
#include <linux/semaphore.h>
#include <linux/irq_work.h>
#include <evenless/thread.h>
#include <evenless/flag.h>
#include <evenless/file.h>
#include <asm/evenless/fptest.h>
#include <uapi/evenless/devices/hectic.h>
#include <evl/thread.h>
#include <evl/flag.h>
#include <evl/file.h>
#include <asm/evl/fptest.h>
#include <uapi/evl/devices/hectic.h>
#define RTSWITCH_RT 0x10000
#define RTSWITCH_NRT 0
......
......@@ -14,13 +14,13 @@
#include <linux/fs.h>
#include <linux/fcntl.h>
#include <linux/uaccess.h>
#include <evenless/file.h>
#include <evenless/flag.h>
#include <evenless/clock.h>
#include <evenless/thread.h>
#include <evenless/xbuf.h>
#include <uapi/evenless/devices/latmus.h>
#include <trace/events/evenless.h>
#include <evl/file.h>
#include <evl/flag.h>
#include <evl/clock.h>
#include <evl/thread.h>
#include <evl/xbuf.h>
#include <uapi/evl/devices/latmus.h>
#include <trace/events/evl.h>
#define TUNER_SAMPLING_TIME 500000000UL
#define TUNER_WARMUP_STEPS 10
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment