Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2019 17:28:50 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355615 - head/sys/arm/linux
Message-ID:  <201912111728.xBBHSoJd062511@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Dec 11 17:28:49 2019
New Revision: 355615
URL: https://svnweb.freebsd.org/changeset/base/355615

Log:
  arm linuxulator: add syscalls.conf and Makefile for "make sysent"
  
  Differential Revision:	https://reviews.freebsd.org/D7973

Added:
  head/sys/arm/linux/Makefile   (contents, props changed)
  head/sys/arm/linux/syscalls.conf   (contents, props changed)

Added: head/sys/arm/linux/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/arm/linux/Makefile	Wed Dec 11 17:28:49 2019	(r355615)
@@ -0,0 +1,25 @@
+# Makefile for syscall tables
+#
+# $FreeBSD$
+
+# Don't use an OBJDIR
+.OBJDIR: ${.CURDIR}
+
+.include <src.lua.mk>
+
+MAKESYSCALLS=	../../tools/makesyscalls.lua
+SRCS=		syscalls.conf		\
+		syscalls.master
+GENERATED=	linux_proto.h		\
+		linux_syscall.h		\
+		linux_syscalls.c	\
+		linux_sysent.c		\
+		linux_systrace_args.c
+
+all:
+	@echo "make sysent only"
+
+sysent: ${GENERATED}
+
+${GENERATED}: ${MAKESYSCALLS} ${SRCS}
+	${LUA} ${MAKESYSCALLS} syscalls.master syscalls.conf

Added: head/sys/arm/linux/syscalls.conf
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/arm/linux/syscalls.conf	Wed Dec 11 17:28:49 2019	(r355615)
@@ -0,0 +1,11 @@
+# $FreeBSD$
+sysnames="linux_syscalls.c"
+sysproto="linux_proto.h"
+sysproto_h=_LINUX_SYSPROTO_H_
+syshdr="linux_syscall.h"
+syssw="linux_sysent.c"
+sysmk="/dev/null"
+syscallprefix="LINUX_SYS_"
+switchname="linux_sysent"
+namesname="linux_syscallnames"
+systrace="linux_systrace_args.c"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912111728.xBBHSoJd062511>