Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/arch/arm Regen (cacheflush() and remove sys...
details: https://anonhg.NetBSD.org/src/rev/1dfec03c55d1
branches: trunk
changeset: 521091:1dfec03c55d1
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Wed Jan 23 15:55:51 2002 +0000
description:
Regen (cacheflush() and remove syscall 0).
diffstat:
sys/compat/linux/arch/arm/linux_syscall.h | 12 +-
sys/compat/linux/arch/arm/linux_syscallargs.h | 11 ++-
sys/compat/linux/arch/arm/linux_syscalls.c | 47 +++++++++++++-
sys/compat/linux/arch/arm/linux_sysent.c | 88 +++++++++++++-------------
4 files changed, 101 insertions(+), 57 deletions(-)
diffs (298 lines):
diff -r 2521ed4538f6 -r 1dfec03c55d1 sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Wed Jan 23 15:54:34 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Wed Jan 23 15:55:51 2002 +0000
@@ -1,15 +1,12 @@
-/* $NetBSD: linux_syscall.h,v 1.2 2002/01/15 10:23:35 bjh21 Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.3 2002/01/23 15:55:52 bjh21 Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
+ * created from NetBSD: syscalls.master,v 1.4 2002/01/23 15:54:34 bjh21 Exp
*/
-/* syscall: "syscall" ret: "int" args: */
-#define LINUX_SYS_syscall 0
-
/* syscall: "exit" ret: "int" args: "int" */
#define LINUX_SYS_exit 1
@@ -538,5 +535,8 @@
/* syscall: "getfsuid32" ret: "int" args: */
#define LINUX_SYS_getfsuid32 216
-#define LINUX_SYS_MAXSYSCALL 222
+/* syscall: "cacheflush" ret: "int" args: "uintptr_t" "intptr_t" */
+#define LINUX_SYS_cacheflush 258
+
+#define LINUX_SYS_MAXSYSCALL 261
#define LINUX_SYS_NSYSENT 512
diff -r 2521ed4538f6 -r 1dfec03c55d1 sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h Wed Jan 23 15:54:34 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h Wed Jan 23 15:55:51 2002 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.2 2002/01/15 10:23:35 bjh21 Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.3 2002/01/23 15:55:52 bjh21 Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
+ * created from NetBSD: syscalls.master,v 1.4 2002/01/23 15:54:34 bjh21 Exp
*/
#ifndef _LINUX_SYS__SYSCALLARGS_H_
@@ -521,11 +521,15 @@
syscallarg(gid_t) gid;
};
+struct linux_sys_cacheflush_args {
+ syscallarg(uintptr_t) from;
+ syscallarg(intptr_t) to;
+};
+
/*
* System call prototypes.
*/
-int linux_sys_nosys(struct proc *, void *, register_t *);
int sys_exit(struct proc *, void *, register_t *);
int sys_fork(struct proc *, void *, register_t *);
int sys_read(struct proc *, void *, register_t *);
@@ -701,4 +705,5 @@
int sys_setgid(struct proc *, void *, register_t *);
int linux_sys_setfsuid(struct proc *, void *, register_t *);
int linux_sys_getfsuid(struct proc *, void *, register_t *);
+int linux_sys_cacheflush(struct proc *, void *, register_t *);
#endif /* _LINUX_SYS__SYSCALLARGS_H_ */
diff -r 2521ed4538f6 -r 1dfec03c55d1 sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c Wed Jan 23 15:54:34 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c Wed Jan 23 15:55:51 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.3 2002/01/23 15:55:51 bjh21 Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
+ * created from NetBSD: syscalls.master,v 1.4 2002/01/23 15:54:34 bjh21 Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.3 2002/01/23 15:55:51 bjh21 Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -28,7 +28,7 @@
#endif /* _KERNEL_OPT */
const char *const linux_syscallnames[] = {
- "syscall", /* 0 = syscall */
+ "#0 (unimplemented)", /* 0 = unimplemented */
"exit", /* 1 = exit */
"fork", /* 2 = fork */
"read", /* 3 = read */
@@ -254,4 +254,43 @@
"#219 (unimplemented mincore)", /* 219 = unimplemented mincore */
"#220 (unimplemented madvise)", /* 220 = unimplemented madvise */
"#221 (unimplemented fcntl64)", /* 221 = unimplemented fcntl64 */
+ "#222 (unimplemented)", /* 222 = unimplemented */
+ "#223 (unimplemented)", /* 223 = unimplemented */
+ "#224 (unimplemented)", /* 224 = unimplemented */
+ "#225 (unimplemented)", /* 225 = unimplemented */
+ "#226 (unimplemented)", /* 226 = unimplemented */
+ "#227 (unimplemented)", /* 227 = unimplemented */
+ "#228 (unimplemented)", /* 228 = unimplemented */
+ "#229 (unimplemented)", /* 229 = unimplemented */
+ "#230 (unimplemented)", /* 230 = unimplemented */
+ "#231 (unimplemented)", /* 231 = unimplemented */
+ "#232 (unimplemented)", /* 232 = unimplemented */
+ "#233 (unimplemented)", /* 233 = unimplemented */
+ "#234 (unimplemented)", /* 234 = unimplemented */
+ "#235 (unimplemented)", /* 235 = unimplemented */
+ "#236 (unimplemented)", /* 236 = unimplemented */
+ "#237 (unimplemented)", /* 237 = unimplemented */
+ "#238 (unimplemented)", /* 238 = unimplemented */
+ "#239 (unimplemented)", /* 239 = unimplemented */
+ "#240 (unimplemented)", /* 240 = unimplemented */
+ "#241 (unimplemented)", /* 241 = unimplemented */
+ "#242 (unimplemented)", /* 242 = unimplemented */
+ "#243 (unimplemented)", /* 243 = unimplemented */
+ "#244 (unimplemented)", /* 244 = unimplemented */
+ "#245 (unimplemented)", /* 245 = unimplemented */
+ "#246 (unimplemented)", /* 246 = unimplemented */
+ "#247 (unimplemented)", /* 247 = unimplemented */
+ "#248 (unimplemented)", /* 248 = unimplemented */
+ "#249 (unimplemented)", /* 249 = unimplemented */
+ "#250 (unimplemented)", /* 250 = unimplemented */
+ "#251 (unimplemented)", /* 251 = unimplemented */
+ "#252 (unimplemented)", /* 252 = unimplemented */
+ "#253 (unimplemented)", /* 253 = unimplemented */
+ "#254 (unimplemented)", /* 254 = unimplemented */
+ "#255 (unimplemented)", /* 255 = unimplemented */
+ "#256 (unimplemented)", /* 256 = unimplemented */
+ "#257 (unimplemented breakpoint)", /* 257 = unimplemented breakpoint */
+ "cacheflush", /* 258 = cacheflush */
+ "#259 (unimplemented usr26)", /* 259 = unimplemented usr26 */
+ "#260 (unimplemented usr32)", /* 260 = unimplemented usr32 */
};
diff -r 2521ed4538f6 -r 1dfec03c55d1 sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c Wed Jan 23 15:54:34 2002 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c Wed Jan 23 15:55:51 2002 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.3 2002/01/23 15:55:51 bjh21 Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.2 2002/01/15 10:21:46 bjh21 Exp
+ * created from NetBSD: syscalls.master,v 1.4 2002/01/23 15:54:34 bjh21 Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.2 2002/01/15 10:23:36 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.3 2002/01/23 15:55:51 bjh21 Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_43.h"
@@ -29,7 +29,7 @@
struct sysent linux_sysent[] = {
{ 0, 0, 0,
- linux_sys_nosys }, /* 0 = syscall */
+ sys_nosys }, /* 0 = unimplemented */
{ 1, s(struct sys_exit_args), 0,
sys_exit }, /* 1 = exit */
{ 0, 0, 0,
@@ -478,83 +478,83 @@
{ 0, 0, 0,
sys_nosys }, /* 221 = unimplemented fcntl64 */
{ 0, 0, 0,
- sys_nosys }, /* 222 = filler */
+ sys_nosys }, /* 222 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 223 = filler */
+ sys_nosys }, /* 223 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 224 = filler */
+ sys_nosys }, /* 224 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 225 = filler */
+ sys_nosys }, /* 225 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 226 = filler */
+ sys_nosys }, /* 226 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 227 = filler */
+ sys_nosys }, /* 227 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 228 = filler */
+ sys_nosys }, /* 228 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 229 = filler */
+ sys_nosys }, /* 229 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 230 = filler */
+ sys_nosys }, /* 230 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 231 = filler */
+ sys_nosys }, /* 231 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 232 = filler */
+ sys_nosys }, /* 232 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 233 = filler */
+ sys_nosys }, /* 233 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 234 = filler */
+ sys_nosys }, /* 234 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 235 = filler */
+ sys_nosys }, /* 235 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 236 = filler */
+ sys_nosys }, /* 236 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 237 = filler */
+ sys_nosys }, /* 237 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 238 = filler */
+ sys_nosys }, /* 238 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 239 = filler */
+ sys_nosys }, /* 239 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 240 = filler */
+ sys_nosys }, /* 240 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 241 = filler */
+ sys_nosys }, /* 241 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 242 = filler */
+ sys_nosys }, /* 242 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 243 = filler */
+ sys_nosys }, /* 243 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 244 = filler */
+ sys_nosys }, /* 244 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 245 = filler */
+ sys_nosys }, /* 245 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 246 = filler */
+ sys_nosys }, /* 246 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 247 = filler */
+ sys_nosys }, /* 247 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 248 = filler */
+ sys_nosys }, /* 248 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 249 = filler */
+ sys_nosys }, /* 249 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 250 = filler */
+ sys_nosys }, /* 250 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 251 = filler */
+ sys_nosys }, /* 251 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 252 = filler */
+ sys_nosys }, /* 252 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 253 = filler */
+ sys_nosys }, /* 253 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 254 = filler */
+ sys_nosys }, /* 254 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 255 = filler */
+ sys_nosys }, /* 255 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 256 = filler */
- { 0, 0, 0,
- sys_nosys }, /* 257 = filler */
+ sys_nosys }, /* 256 = unimplemented */
{ 0, 0, 0,
- sys_nosys }, /* 258 = filler */
+ sys_nosys }, /* 257 = unimplemented breakpoint */
+ { 2, s(struct linux_sys_cacheflush_args), 0,
+ linux_sys_cacheflush }, /* 258 = cacheflush */
{ 0, 0, 0,
- sys_nosys }, /* 259 = filler */
+ sys_nosys }, /* 259 = unimplemented usr26 */
{ 0, 0, 0,
- sys_nosys }, /* 260 = filler */
+ sys_nosys }, /* 260 = unimplemented usr32 */
{ 0, 0, 0,
sys_nosys }, /* 261 = filler */
{ 0, 0, 0,
Home |
Main Index |
Thread Index |
Old Index