You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(11) |
Jun
(66) |
Jul
(16) |
Aug
(2) |
Sep
(7) |
Oct
(17) |
Nov
(1) |
Dec
(220) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(154) |
Feb
(167) |
Mar
(159) |
Apr
(172) |
May
(35) |
Jun
(58) |
Jul
(97) |
Aug
(285) |
Sep
(139) |
Oct
(252) |
Nov
(8) |
Dec
(3) |
2004 |
Jan
(13) |
Feb
(159) |
Mar
(136) |
Apr
(33) |
May
(50) |
Jun
(42) |
Jul
(140) |
Aug
(42) |
Sep
(199) |
Oct
(31) |
Nov
(55) |
Dec
|
2005 |
Jan
|
Feb
(12) |
Mar
(214) |
Apr
(119) |
May
(21) |
Jun
(2) |
Jul
(127) |
Aug
(10) |
Sep
(3) |
Oct
(24) |
Nov
(1) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(45) |
May
(13) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(5) |
Nov
(26) |
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(35) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Jan-Benedict G. <jb...@us...> - 2005-11-30 14:26:47
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3501/include/asm-vax Modified Files: unistd.h Log Message: - Unbreak _syscallX() macros. They were clobbering AP. Index: unistd.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/unistd.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- unistd.h 31 Oct 2005 13:27:18 -0000 1.13 +++ unistd.h 30 Nov 2005 14:26:37 -0000 1.14 @@ -290,9 +290,12 @@ long _sc_ret; \ \ __asm__ __volatile__ ( \ - " pushl $0x0 \n" \ - " movl %%sp, %%ap \n" \ - " chmk %%r0 \n" \ + " pushl %%ap \n" \ + " pushl $0 \n" \ + " movl %%sp, %%ap \n" \ + " chmk %%r0 \n" \ + " addl2 $4, %%sp \n" \ + " movl (%%sp)+, %ap \n" \ : "=r"(_sc_0) \ : "0"(_sc_0) \ : _syscall_clobbers); \ @@ -308,10 +311,13 @@ long _sc_ret; \ \ __asm__ __volatile__ ( \ - " pushl %2 \n" \ - " pushl $0x1 \n" \ - " movl %%sp, %%ap \n" \ - " chmk %%r0 \n" \ + " pushl %%ap \n" \ + " pushl %2 \n" \ + " pushl $1 \n" \ + " movl %%sp, %%ap \n" \ + " chmk %%r0 \n" \ + " addl2 $8, %%sp \n" \ + " movl (%%sp)+, %%ap \n" \ : "=r"(_sc_0) \ : "0"(_sc_0), "m"(arg1) \ : _syscall_clobbers); \ @@ -327,11 +333,14 @@ long _sc_ret; \ \ __asm__ __volatile__ ( \ - " pushl %3 \n" \ - " pushl %2 \n" \ - " pushl $0x2 \n" \ - " movl %%sp, %%ap \n" \ - " chmk %%r0 \n" \ + " pushl %%ap \n" \ + " pushl %3 \n" \ + " pushl %2 \n" \ + " pushl $2 \n" \ + " movl %%sp, %%ap \n" \ + " chmk %%r0 \n" \ + " addl2 $12, %%sp \n" \ + " movl (%%sp)+, %%ap \n" \ : "=r"(_sc_0) \ : "0"(_sc_0), "m"(arg1), "m"(arg2) \ : _syscall_clobbers); \ @@ -347,12 +356,15 @@ long _sc_ret; \ \ __asm__ __volatile__ ( \ - " pushl %4 \n" \ - " pushl %3 \n" \ - " pushl %2 \n" \ - " pushl $0x3 \n" \ - " movl %%sp, %%ap \n" \ - " chmk %0 \n" \ + " pushl %%ap \n" \ + " pushl %4 \n" \ + " pushl %3 \n" \ + " pushl %2 \n" \ + " pushl $3 \n" \ + " movl %%sp, %%ap \n" \ + " chmk %%r0 \n" \ + " addl2 $16, %%sp \n" \ + " movl (%%sp)+, %%ap \n" \ : "=r"(_sc_0) \ : "0"(_sc_0), "m"(arg1), "m"(arg2), "m"(arg3) \ : _syscall_clobbers); \ @@ -369,13 +381,16 @@ long _sc_ret; \ \ __asm__ __volatile__ ( \ - " pushl %5 \n" \ - " pushl %4 \n" \ - " pushl %3 \n" \ - " pushl %2 \n" \ - " pushl $0x4 \n" \ - " movl %%sp, %%ap \n" \ - " chmk %%r0 \n" \ + " pushl %%ap \n" \ + " pushl %5 \n" \ + " pushl %4 \n" \ + " pushl %3 \n" \ + " pushl %2 \n" \ + " pushl $4 \n" \ + " movl %%sp, %%ap \n" \ + " chmk %%r0 \n" \ + " addl2 $20, %%sp \n" \ + " movl (%%sp)+, %%ap \n" \ : "=r"(_sc_0) \ : "0"(_sc_0), "m"(arg1), "m"(arg2), "m"(arg3), \ "m"( arg4) \ @@ -393,14 +408,17 @@ long _sc_ret; \ \ __asm__ __volatile__ ( \ - " pushl %6 \n" \ - " pushl %5 \n" \ - " pushl %4 \n" \ - " pushl %3 \n" \ - " pushl %2 \n" \ - " pushl $0x5 \n" \ - " movl %%sp, %%ap \n" \ - " chmk %%r0 \n" \ + " pushl %%ap \n" \ + " pushl %6 \n" \ + " pushl %5 \n" \ + " pushl %4 \n" \ + " pushl %3 \n" \ + " pushl %2 \n" \ + " pushl $5 \n" \ + " movl %%sp, %%ap \n" \ + " chmk %%r0 \n" \ + " addl2 $24, %%sp \n" \ + " movl (%%sp)+, %%ap \n" \ : "=r"(_sc_0) \ : "0"(_sc_0), "m"(arg1), "m"(arg2), "m"(arg3), \ "m"(arg4), "m"(arg5) \ @@ -419,15 +437,18 @@ long _sc_ret; \ \ __asm__ __volatile__ ( \ - " pushl %7 \n" \ - " pushl %6 \n" \ - " pushl %5 \n" \ - " pushl %4 \n" \ - " pushl %3 \n" \ - " pushl %2 \n" \ - " pushl $0x6 \n" \ - " movl %%sp, %%ap \n" \ - " chmk %%r0 \n" \ + " pushl %%ap \n" \ + " pushl %7 \n" \ + " pushl %6 \n" \ + " pushl %5 \n" \ + " pushl %4 \n" \ + " pushl %3 \n" \ + " pushl %2 \n" \ + " pushl $6 \n" \ + " movl %%sp, %%ap \n" \ + " chmk %%r0 \n" \ + " addl2 $28, %%sp \n" \ + " movl (%%sp)+, %%ap \n" \ : "=r"(_sc_0) \ : "0"(_sc_0), "m"(arg1), "m"(arg2), "m"(arg3), \ "m"(arg4), "m"(arg5), "m"(arg6) \ |
From: Jan-Benedict G. <jb...@us...> - 2005-10-31 14:10:35
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25219 Modified Files: syscall.c ptrace.c Log Message: - int -> long for sys_ptrace(), like all other archs have it... Index: syscall.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/syscall.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- syscall.c 31 Oct 2005 13:27:18 -0000 1.19 +++ syscall.c 31 Oct 2005 14:10:21 -0000 1.20 @@ -42,7 +42,7 @@ extern int sys_clone(unsigned long clone_flags, unsigned long newsp, struct pt_regs *regs); /* ./arch/vax/kernel/ptrace.c */ -extern asmlinkage int sys_ptrace(long request, long pid, long addr, long data); +extern asmlinkage long sys_ptrace(long request, long pid, long addr, long data); /* ./arch/vax/kernel/signal.c */ extern int sys_sigaction(int sig, const struct old_sigaction *act, struct old_sigaction *oact); Index: ptrace.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/ptrace.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- ptrace.c 25 Apr 2005 22:25:05 -0000 1.14 +++ ptrace.c 31 Oct 2005 14:10:21 -0000 1.15 @@ -140,7 +140,7 @@ /* FIXME: */ } -asmlinkage int sys_ptrace(long request, long pid, long addr, long data) +asmlinkage long sys_ptrace(long request, long pid, long addr, long data) { struct task_struct *child; int res; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-31 13:27:56
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15773/arch/vax/kernel Modified Files: entry.S syscall.c Log Message: - Removal of sys_call_table. - Content is merged into our number_of_arguments table. - Initialized by macro (to allow some extra hacks :-) Index: entry.S =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/entry.S,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- entry.S 23 Sep 2005 09:51:12 -0000 1.19 +++ entry.S 31 Oct 2005 13:27:18 -0000 1.20 @@ -284,234 +284,3 @@ movl probe_resume_addr, (%sp) rei /* Return to the handler address */ - -.data -.globl sys_call_table -sys_call_table: - .long sys_ni_syscall /* 0 old setup system call*/ - .long sys_exit - .long sys_fork - .long sys_read - .long sys_write - .long sys_open /* 5 */ - .long sys_close - .long sys_waitpid - .long sys_creat - .long sys_link - .long sys_unlink /* 10 */ - .long sys_execve - .long sys_chdir - .long sys_time - .long sys_mknod - .long sys_chmod /* 15 */ - .long sys_lchown16 - .long sys_ni_syscall /* old break syscall holder */ - .long sys_ni_syscall /* old stat syscall */ - .long sys_lseek - .long sys_getpid /* 20 */ - .long sys_mount - .long sys_oldumount /* old umount syscall holder */ - .long sys_setuid16 - .long sys_getuid16 - .long sys_stime /* 25 */ - .long sys_ptrace - .long sys_alarm - .long sys_ni_syscall /* old fstat */ - .long sys_pause - .long sys_utime /* 30 */ - .long sys_ni_syscall /* old stty syscall holder */ - .long sys_ni_syscall /* old gtty syscall holder */ - .long sys_access - .long sys_nice - .long sys_ni_syscall /* 35 old ftime syscall holder */ - .long sys_sync - .long sys_kill - .long sys_rename - .long sys_mkdir - .long sys_rmdir /* 40 */ - .long sys_dup - .long sys_pipe - .long sys_times - .long sys_ni_syscall /* old prof syscall holder */ - .long sys_brk /* 45 */ - .long sys_setgid16 - .long sys_getgid16 - .long sys_signal - .long sys_geteuid16 - .long sys_getegid16 /* 50 */ - .long sys_acct - .long sys_oldumount /* recycled never used phys() */ - .long sys_ni_syscall /* old lock syscall holder */ - .long sys_ioctl - .long sys_fcntl /* 55 */ - .long sys_ni_syscall /* old mpx syscall holder */ - .long sys_setpgid - .long sys_ni_syscall /* old ulimit syscall holder */ - .long sys_ni_syscall /* old uname syscall holder */ - .long sys_umask /* 60 */ - .long sys_chroot - .long sys_ustat - .long sys_dup2 - .long sys_getppid - .long sys_getpgrp /* 65 */ - .long sys_setsid - .long sys_sigaction - .long sys_sgetmask - .long sys_ssetmask - .long sys_setreuid16 /* 70 */ - .long sys_setregid16 - .long sys_sigsuspend - .long sys_sigpending - .long sys_sethostname - .long sys_setrlimit /* 75 */ - .long sys_old_getrlimit - .long sys_getrusage - .long sys_gettimeofday - .long sys_settimeofday - .long sys_getgroups16 /* 80 */ - .long sys_setgroups16 - .long sys_ni_syscall /* old_select */ - .long sys_symlink - .long sys_ni_syscall /* was sys_lstat */ - .long sys_readlink /* 85 */ - .long sys_uselib - .long sys_swapon - .long sys_reboot - .long sys_ni_syscall /* old readdir syscall holder */ - .long sys_mmap /* 90 */ - .long sys_munmap - .long sys_truncate - .long sys_ftruncate - .long sys_fchmod - .long sys_fchown16 /* 95 */ - .long sys_getpriority - .long sys_setpriority - .long sys_ni_syscall /* old profil syscall holder */ - .long sys_statfs - .long sys_fstatfs /* 100 */ - .long sys_ni_syscall /* ioperm in i386 */ - .long sys_socketcall - .long sys_syslog - .long sys_setitimer - .long sys_getitimer /* 105 */ - .long sys_newstat - .long sys_newlstat - .long sys_newfstat - .long sys_ni_syscall /* old uname syscall */ - .long sys_ni_syscall /* 110 iopl in i386 */ - .long sys_vhangup - .long sys_ni_syscall /* old idle syscall */ - .long sys_ni_syscall /* vm86old on i386 */ - .long sys_wait4 - .long sys_swapoff /* 115 */ - .long sys_sysinfo - .long sys_ipc - .long sys_fsync - .long sys_sigreturn - .long sys_clone /* 120 */ - .long sys_setdomainname - .long sys_newuname - .long sys_ni_syscall /* modify_ldt in i386 */ - .long sys_adjtimex - .long sys_mprotect /* 125 */ - .long sys_sigprocmask - .long sys_ni_syscall /* was sys_create_module */ - .long sys_init_module - .long sys_delete_module - .long sys_ni_syscall /* 130 - was sys_get_kernel_syms*/ - .long sys_quotactl - .long sys_getpgid - .long sys_fchdir - .long sys_bdflush - .long sys_sysfs /* 135 */ - .long sys_personality - .long sys_ni_syscall /* afs_syscall */ - .long sys_setfsuid16 - .long sys_setfsgid16 - .long sys_llseek /* 140 */ - .long sys_getdents - .long sys_select - .long sys_flock - .long sys_msync - .long sys_readv /* 145 */ - .long sys_writev - .long sys_getsid - .long sys_fdatasync - .long sys_sysctl - .long sys_mlock /* 150 */ - .long sys_munlock - .long sys_mlockall - .long sys_munlockall - .long sys_sched_setparam - .long sys_sched_getparam /* 155 */ - .long sys_sched_setscheduler - .long sys_sched_getscheduler - .long sys_sched_yield - .long sys_sched_get_priority_max - .long sys_sched_get_priority_min /* 160 */ - .long sys_sched_rr_get_interval - .long sys_nanosleep - .long sys_mremap - .long sys_setresuid16 - .long sys_getresuid16 /* 165 */ - .long sys_ni_syscall /* vm86 on i386 */ - .long sys_ni_syscall /* was sys_query_module */ - .long sys_poll - .long sys_nfsservctl - .long sys_setresgid16 /* 170 */ - .long sys_getresgid16 - .long sys_prctl - .long sys_rt_sigreturn - .long sys_rt_sigaction - .long sys_rt_sigprocmask /* 175 */ - .long sys_rt_sigpending - .long sys_rt_sigtimedwait - .long sys_rt_sigqueueinfo - .long sys_rt_sigsuspend - .long sys_pread64 /* 180 */ - .long sys_pwrite64 - .long sys_chown16 - .long sys_getcwd - .long sys_capget - .long sys_capset /* 185 */ - .long sys_sigaltstack - .long sys_sendfile - .long sys_ni_syscall /* streams1 */ - .long sys_ni_syscall /* streams2 * - .long sys_vfork /* 190 */ - .long sys_getrlimit - .long sys_mmap2 - .long sys_truncate64 - .long sys_ftruncate64 - .long sys_stat64 /* 195 */ - .long sys_lstat64 - .long sys_fstat64 - .long sys_lchown - .long sys_getuid - .long sys_getgid /* 200 */ - .long sys_geteuid - .long sys_getegid - .long sys_setreuid - .long sys_setregid - .long sys_getgroups /* 205 */ - .long sys_setgroups - .long sys_fchown - .long sys_setresuid - .long sys_getresuid - .long sys_setresgid /* 210 */ - .long sys_getresgid - .long sys_chown - .long sys_setuid - .long sys_setgid - .long sys_setfsuid /* 215 */ - .long sys_setfsgid - .long sys_pivot_root - .long sys_mincore - .long sys_madvise - .long sys_getdents64 /* 220 */ - .long sys_fcntl64 - .long sys_tkill - .long sys_statfs64 - .long sys_fstatfs64 - .long sys_ni_syscall /* 225 sys_vserver */ - Index: syscall.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/syscall.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- syscall.c 22 Oct 2005 18:22:54 -0000 1.18 +++ syscall.c 31 Oct 2005 13:27:18 -0000 1.19 @@ -25,240 +25,248 @@ #include "interrupt.h" /* Local, private definitions */ +/* ./arch/vax/kernel/syscall.c */ +extern int sys_pipe(unsigned long *fildes); +extern unsigned long sys_mmap(unsigned long addr, size_t len, int prot, + int flags, int fd, off_t offset); +extern int sys_ipc (uint call, int first, int second, int third, void *ptr, + long fifth); +extern asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, + unsigned long prot, unsigned long flags, unsigned long fd, + unsigned long pgoff); +/* ./arch/vax/kernel/process.c */ +extern int sys_fork(struct pt_regs regs); +extern int sys_vfork(struct pt_regs *regs); +extern int sys_execve(char *filename, char **argv, char **envp, + struct pt_regs *regs); +extern int sys_clone(unsigned long clone_flags, unsigned long newsp, + struct pt_regs *regs); +/* ./arch/vax/kernel/ptrace.c */ +extern asmlinkage int sys_ptrace(long request, long pid, long addr, long data); +/* ./arch/vax/kernel/signal.c */ +extern int sys_sigaction(int sig, const struct old_sigaction *act, + struct old_sigaction *oact); +extern int sys_sigsuspend(struct pt_regs *regs, old_sigset_t mask); +extern asmlinkage int sys_sigreturn(struct pt_regs *regs); +extern asmlinkage int sys_rt_sigreturn(struct pt_regs *regs); +extern int sys_rt_sigsuspend(struct pt_regs *regs,sigset_t *unewset, + size_t sigsetsize); +extern int sys_sigaltstack(const stack_t *uss, stack_t *uoss); +/* ./kernel/signal.c */ +extern asmlinkage long sys_rt_sigaction(int sig, + const struct sigaction __user *act, + struct sigaction __user *oact, size_t sigsetsize); -extern unsigned long *sys_call_table[__NR_last_syscall + 1]; -static int syscall_num_args[__NR_last_syscall + 1] = { - [0] = -1, /* setup */ - [__NR_exit] = 1, /* 1 */ - [__NR_fork] = 0, /* 2 */ - [__NR_read] = 3, /* 3 */ - [__NR_write] = 3, /* 4 */ - [__NR_open] = 3, /* 5 */ - [__NR_close] = 1, /* 6 */ - [__NR_waitpid] = 3, /* 7 */ - [__NR_creat] = 2, /* 8 */ - [__NR_link] = 2, /* 9 */ - [__NR_unlink] = 1, /* 10 */ - [__NR_execve] = 3, /* 11 */ - [__NR_chdir] = 1, /* 12 */ - [__NR_time] = 1, /* 13 */ - [__NR_mknod] = 3, /* 14 */ - [__NR_chmod] = 2, /* 15 */ - [__NR_lchown] = 3, /* 16 */ - [17] = -1, /* break */ - [18] = -1, /* oldstat */ - [__NR_lseek] = 3, /* 19 */ - [__NR_getpid] = 0, /* 20 */ - [__NR_mount] = 5, /* 21 */ - [__NR_umount] = 2, /* 22 */ - [__NR_setuid] = 1, /* 23 */ - [__NR_getuid] = 0, /* 24 */ - [__NR_stime] = 1, /* 25 */ - [__NR_ptrace] = 4, /* 26 */ - [__NR_alarm] = 1, /* 27 */ - [28] =-1, /* oldfstat */ - [__NR_pause] = 0, /* 29 */ - [__NR_utime] = 2, /* 30 */ - [31] = -1, /* stty */ - [32] = -1, /* gtty */ - [__NR_access] = 2, /* 33 */ - [__NR_nice] = 1, /* 34 */ - [__NR_ftime] = 1, /* 35 */ - [__NR_sync] = 0, /* 36 */ - [__NR_kill] = 2, /* 37 */ - [__NR_rename] = 2, /* 38 */ - [__NR_mkdir] = 2, /* 39 */ - [__NR_rmdir] = 1, /* 40 */ - [__NR_dup] = 1, /* 41 */ - [__NR_pipe] = 1, /* 42 */ - [__NR_times] = 1, /* 43 */ - [44] = -1, /* prof(ile) */ - [__NR_brk] = 1, /* 45 */ - [__NR_setgid] = 1, /* 46 */ - [__NR_getgid] = 0, /* 47 */ - [__NR_signal] = 2, /* 48 */ - [__NR_geteuid] = 0, /* 49 */ - [__NR_getegid] = 0, /* 50 */ - [__NR_acct] = 1, /* 51 */ - [__NR_umount2] = 2, /* 52 */ - [53] = -1, /* lock */ - [__NR_ioctl] = 3, /* 54 */ - [__NR_fcntl] = 3, /* 55 */ - [56] = -1, /* mpx */ - [__NR_setpgid] = 2, /* 57 */ - [__NR_ulimit] = 2, /* 58 */ - [59] = -1, /* oldolduname */ - [__NR_umask] = 1, /* 60 */ - [__NR_chroot] = 1, /* 61 */ - [__NR_ustat] = 2, /* 62 */ - [__NR_dup2] = 2, /* 63 */ - [__NR_getppid] = 0, /* 64 */ - [__NR_getpgrp] = 0, /* 65 */ - [__NR_setsid] = 0, /* 66 */ - [__NR_sigaction] = 3, /* 67 */ - [__NR_sgetmask] = 0, /* 68 */ - [__NR_ssetmask] = 1, /* 69 */ - [__NR_setreuid] = 2, /* 70 */ - [__NR_setregid] = 2, /* 71 */ - [__NR_sigsuspend] = 1, /* 72 */ - [__NR_sigpending] = 1, /* 73 */ - [__NR_sethostname] = 2, /* 74 */ - [__NR_setrlimit] = 2, /* 75 */ - [76] = -1, /* old_getrlimit */ - [__NR_getrusage] = 2, /* 77 */ - [__NR_gettimeofday] = 2, /* 78 */ - [__NR_settimeofday] = 2, /* 79 */ - [__NR_getgroups] = 2, /* 80 */ - [__NR_setgroups] = 2, /* 81 */ - [82] = -1, /* select */ - [__NR_symlink] = 2, /* 83 */ - [84] = -1, /* old_lstat */ - [__NR_readlink] = 3, /* 85 */ - [__NR_uselib] = 1, /* 86 */ - [__NR_swapon] = 2, /* 87 */ - [__NR_reboot] = 4, /* 88 */ - [__NR_readdir] = 3, /* 89 */ - [__NR_mmap] = 6, /* 90 */ - [__NR_munmap] = 2, /* 91 */ - [__NR_truncate] = 2, /* 92 */ - [__NR_ftruncate] = 2, /* 93 */ - [__NR_fchmod] = 2, /* 94 */ - [__NR_fchown] = 3, /* 95 */ - [__NR_getpriority] = 2, /* 96 */ - [__NR_setpriority] = 3, /* 97 */ - [98] = -1, /* profil */ - [__NR_statfs] = 2, /* 99 */ - [__NR_fstatfs] = 2, /* 100 */ - [101] = -1, /* ioperm */ - [__NR_socketcall] = 2, /* 102 */ - [__NR_syslog] = 3, /* 103 */ - [__NR_setitimer] = 3, /* 104 */ - [__NR_getitimer] = 2, /* 105 */ - [__NR_stat] = 2, /* 106 */ - [__NR_lstat] = 2, /* 107 */ - [__NR_fstat] = 2, /* 108 */ - [109] = -1, /* olduname */ - [110] = -1, /* iopl */ - [__NR_vhangup] = 0, /* 111 */ - [112] = -1, /* idle */ - [113] = -1, /* vm86old */ - [__NR_wait4] = 4, /* 114 */ - [__NR_swapoff] = 2, /* 115 */ - [__NR_sysinfo] = 1, /* 116 */ - [__NR_ipc] = 6, /* 117 */ - [__NR_fsync] = 1, /* 118 */ - [__NR_sigreturn] = 0, /* 119 */ - [__NR_clone] = 2, /* 120 */ - [__NR_setdomainname] = 2, /* 121 */ - [__NR_uname] = 1, /* 122 */ - [123] = -1, /* modify_ldt */ - [__NR_adjtimex] = 1, /* 124 */ - [__NR_mprotect] = 3, /* 125 */ - [__NR_sigprocmask] = 3, /* 126 */ - [127] = -1, /* create_module */ - [__NR_init_module] = 5, /* 128 */ - [__NR_delete_module] = 3, /* 129 */ - [130] = -1, /* get_kernel_syms */ - [__NR_quotactl] = 4, /* 131 */ - [__NR_getpgid] = 1, /* 132 */ - [__NR_fchdir] = 1, /* 133 */ - [__NR_bdflush] = 2, /* 134 */ - [__NR_sysfs] = 3, /* 135 */ - [__NR_personality] = 1, /* 136 */ - [137] = -1, /* afs_syscall */ - [__NR_setfsuid] = 1, /* 138 */ - [__NR_setfsgid] = 1, /* 139 */ - [__NR__llseek] = 5, /* 140 */ - [__NR_getdents] = 3, /* 141 */ - [__NR__newselect] = 5, /* 142 */ - [__NR_flock] = 2, /* 143 */ - [__NR_msync] = 3, /* 144 */ - [__NR_readv] = 3, /* 145 */ - [__NR_writev] = 3, /* 146 */ - [__NR_getsid] = 1, /* 147 */ - [__NR_fdatasync] = 1, /* 148 */ - [__NR__sysctl] = 1, /* 149 */ - [__NR_mlock] = 2, /* 150 */ - [__NR_munlock] = 2, /* 151 */ - [__NR_mlockall] = 1, /* 152 */ - [__NR_munlockall] = 0, /* 153 */ - [__NR_sched_setparam] = 2, /* 154 */ - [__NR_sched_getparam] = 2, /* 155 */ - [__NR_sched_setscheduler] = 3, /* 156 */ - [__NR_sched_getscheduler] = 1, /* 157 */ - [__NR_sched_yield] = 0, /* 158 */ - [__NR_sched_get_priority_max] = 1, /* 159 */ - [__NR_sched_get_priority_min] = 1, /* 160 */ - [__NR_sched_rr_get_interval] = 2, /* 161 */ - [__NR_nanosleep] = 2, /* 162 */ - [__NR_mremap] = 4, /* 163 */ - [__NR_setresuid] = 3, /* 164 */ - [__NR_getresuid] = 3, /* 165 */ - [166] = -1, /* vm86 */ - [167] = -1, /* query_module */ - [__NR_poll] = 3, /* 168 */ - [__NR_nfsservctl] = 3, /* 169 */ - [__NR_setresgid] = 3, /* 170 */ - [__NR_getresgid] = 3, /* 171 */ - [__NR_prctl] = 5, /* 172 */ - [__NR_rt_sigreturn] = 0, /* 173 */ - [__NR_rt_sigaction] = 4, /* 174 */ - [__NR_rt_sigprocmask] = 4, /* 175 */ - [__NR_rt_sigpending] = 2, /* 176 */ - [__NR_rt_sigtimedwait] = 4, /* 177 */ - [__NR_rt_sigqueueinfo] = 3, /* 178 */ - [__NR_rt_sigsuspend] = 2, /* 179 */ - [__NR_pread64] = 4, /* 180 */ - [__NR_pwrite64] = 4, /* 181 */ - [__NR_chown] = 3, /* 182 */ - [__NR_getcwd] = 2, /* 183 */ - [__NR_capget] = 2, /* 184 */ - [__NR_capset] = 2, /* 185 */ - [__NR_sigaltstack] = 2, /* 186 */ - [__NR_sendfile] = 4, /* 187 */ - [188] = -1, /* streams1 / getpmesg */ - [189] = -1, /* streams2 / putpmesg */ - [__NR_vfork] = 0, /* 190 */ - [__NR_getrlimit] = 2, /* 191 */ - [__NR_mmap2] = 6, /* 192 */ - [__NR_truncate64] = 2, /* 193 */ - [__NR_ftruncate64] = 2, /* 194 */ - [__NR_stat64] = 2, /* 195 */ - [__NR_lstat64] = 2, /* 196 */ - [__NR_fstat64] = 2, /* 197 */ - [__NR_lchown32] = 3, /* 198 */ - [__NR_getuid32] = 0, /* 199 */ - [__NR_getgid32] = 0, /* 200 */ - [__NR_geteuid32] = 0, /* 201 */ - [__NR_getegid32] = 0, /* 202 */ - [__NR_setreuid32] = 2, /* 203 */ - [__NR_setregid32] = 2, /* 204 */ - [__NR_getgroups32] = 2, /* 205 */ - [__NR_setgroups32] = 2, /* 206 */ - [__NR_fchown32] = 3, /* 207 */ - [__NR_setresuid32] = 3, /* 208 */ - [__NR_getresuid32] = 3, /* 209 */ - [__NR_setresgid32] = 3, /* 210 */ - [__NR_getresgid32] = 3, /* 211 */ - [__NR_chown32] = 3, /* 212 */ - [__NR_setuid32] = 1, /* 213 */ - [__NR_setgid32] = 1, /* 214 */ - [__NR_setfsuid32] = 1, /* 215 */ - [__NR_setfsgid32] = 1, /* 216 */ - [__NR_pivot_root] = 2, /* 217 */ - [__NR_mincore] = 3, /* 218 */ - [__NR_madvise] = 3, /* 219 */ - [__NR_getdents64] = 3, /* 220 */ - [__NR_fcntl64] = 3, /* 221 */ - [__NR_tkill] = 3, /* 222 */ - [__NR_statfs64] = 2, /* 223 */ - [__NR_fstatfs64] = 2, /* 224 */ - [__NR_vserver] = 3, /* 225 */ +static struct { + unsigned long *sc_func; + unsigned int nr_args; +} syscall[] = { +#define SC(num, func, args) \ + [num] = { \ + .sc_func = (unsigned long *) &func, \ + .nr_args = args, \ + } + SC (__NR_exit, sys_exit, 1), + SC (__NR_fork, sys_fork, 0), + SC (__NR_read, sys_read, 3), + SC (__NR_write, sys_write, 3), + SC (__NR_open, sys_open, 3), + SC (__NR_close, sys_close, 1), + SC (__NR_waitpid, sys_waitpid, 3), + SC (__NR_creat, sys_creat, 2), + SC (__NR_link, sys_link, 2), + SC (__NR_unlink, sys_unlink, 1), + SC (__NR_execve, sys_execve, 3), + SC (__NR_chdir, sys_chdir, 1), + SC (__NR_time, sys_time, 1), + SC (__NR_mknod, sys_mknod, 3), + SC (__NR_chmod, sys_chmod, 2), + SC (__NR_lchown, sys_lchown16, 3), + SC (__NR_lseek, sys_lseek, 3), + SC (__NR_getpid, sys_getpid, 0), + SC (__NR_mount, sys_mount, 5), + SC (__NR_umount, sys_oldumount, 2), + SC (__NR_setuid, sys_setuid16, 1), + SC (__NR_getuid, sys_getuid16, 0), + SC (__NR_stime, sys_stime, 1), + SC (__NR_ptrace, sys_ptrace, 4), + SC (__NR_alarm, sys_alarm, 1), + SC (__NR_pause, sys_pause, 0), + SC (__NR_utime, sys_utime, 2), + SC (__NR_access, sys_access, 2), + SC (__NR_nice, sys_nice, 1), + SC (__NR_sync, sys_sync, 0), + SC (__NR_kill, sys_kill, 2), + SC (__NR_rename, sys_rename, 2), + SC (__NR_mkdir, sys_mkdir, 2), + SC (__NR_mkdir, sys_mkdir, 2), + SC (__NR_rmdir, sys_rmdir, 1), + SC (__NR_dup, sys_dup, 1), + SC (__NR_pipe, sys_pipe, 1), + SC (__NR_times, sys_times, 1), + SC (__NR_brk, sys_brk, 1), + SC (__NR_setgid, sys_setgid16, 1), + SC (__NR_getgid, sys_getgid16, 0), + SC (__NR_signal, sys_signal, 2), + SC (__NR_geteuid, sys_geteuid16, 0), + SC (__NR_getegid, sys_getegid16, 0), + SC (__NR_acct, sys_acct, 1), + SC (__NR_umount2, sys_oldumount, 2), + SC (__NR_ioctl, sys_ioctl, 3), + SC (__NR_fcntl, sys_fcntl, 3), + SC (__NR_setpgid, sys_setpgid, 2), + SC (__NR_umask, sys_umask, 1), + SC (__NR_chroot, sys_chroot, 1), + SC (__NR_ustat, sys_ustat, 2), + SC (__NR_dup2, sys_dup2, 2), + SC (__NR_getppid, sys_getppid, 0), + SC (__NR_getpgrp, sys_getpgrp, 0), + SC (__NR_setsid, sys_setsid, 0), + SC (__NR_sigaction, sys_sigaction, 3), + SC (__NR_sgetmask, sys_sgetmask, 0), + SC (__NR_ssetmask, sys_ssetmask, 1), + SC (__NR_setreuid, sys_setreuid16, 2), + SC (__NR_setregid, sys_setregid16, 2), + SC (__NR_sigsuspend, sys_sigsuspend, 1), + SC (__NR_sigpending, sys_sigpending, 1), + SC (__NR_sethostname, sys_sethostname, 2), + SC (__NR_setrlimit, sys_setrlimit, 2), + SC (__NR_old_getrlimit, sys_old_getrlimit, 2), + SC (__NR_getrusage, sys_getrusage, 2), + SC (__NR_gettimeofday, sys_gettimeofday, 2), + SC (__NR_settimeofday, sys_settimeofday, 2), + SC (__NR_getgroups, sys_getgroups16, 2), + SC (__NR_setgroups, sys_setgroups16, 2), + SC (__NR_symlink, sys_symlink, 2), + SC (__NR_readlink, sys_readlink, 3), + SC (__NR_uselib, sys_uselib, 1), + SC (__NR_swapon, sys_swapon, 2), + SC (__NR_reboot, sys_reboot, 4), + SC (__NR_mmap, sys_mmap, 6), + SC (__NR_munmap, sys_munmap, 2), + SC (__NR_truncate, sys_truncate, 2), + SC (__NR_ftruncate, sys_ftruncate, 2), + SC (__NR_fchmod, sys_fchmod, 2), + SC (__NR_fchown, sys_fchown16, 3), + SC (__NR_getpriority, sys_getpriority, 2), + SC (__NR_setpriority, sys_setpriority, 3), + SC (__NR_statfs, sys_statfs, 2), + SC (__NR_fstatfs, sys_fstatfs, 2), + SC (__NR_socketcall, sys_socketcall, 2), + SC (__NR_syslog, sys_syslog, 3), + SC (__NR_setitimer, sys_setitimer, 3), + SC (__NR_getitimer, sys_getitimer, 2), + SC (__NR_stat, sys_newstat, 2), + SC (__NR_lstat, sys_newlstat, 2), + SC (__NR_fstat, sys_newfstat, 2), + SC (__NR_vhangup, sys_vhangup, 0), + SC (__NR_wait4, sys_wait4, 4), + SC (__NR_swapoff, sys_swapoff, 2), + SC (__NR_sysinfo, sys_sysinfo, 1), + SC (__NR_ipc, sys_ipc, 6), + SC (__NR_fsync, sys_fsync, 1), + SC (__NR_sigreturn, sys_sigreturn, 0), + SC (__NR_clone, sys_clone, 2), + SC (__NR_setdomainname, sys_setdomainname, 2), + SC (__NR_uname, sys_newuname, 1), + SC (__NR_adjtimex, sys_adjtimex, 1), + SC (__NR_mprotect, sys_mprotect, 3), + SC (__NR_sigprocmask, sys_sigprocmask, 3), + SC (__NR_init_module, sys_init_module, 5), + SC (__NR_delete_module, sys_delete_module, 3), + SC (__NR_quotactl, sys_quotactl, 4), + SC (__NR_getpgid, sys_getpgid, 1), + SC (__NR_fchdir, sys_fchdir, 1), + SC (__NR_bdflush, sys_bdflush, 2), + SC (__NR_sysfs, sys_sysfs, 3), + SC (__NR_personality, sys_personality, 1), + SC (__NR_setfsuid, sys_setfsuid16, 1), + SC (__NR_setfsgid, sys_setfsgid16, 1), + SC (__NR__llseek, sys_llseek, 5), + SC (__NR_getdents, sys_getdents, 3), + SC (__NR__newselect, sys_select, 5), + SC (__NR_flock, sys_flock, 2), + SC (__NR_msync, sys_msync, 3), + SC (__NR_readv, sys_readv, 3), + SC (__NR_writev, sys_writev, 3), + SC (__NR_getsid, sys_getsid, 1), + SC (__NR_fdatasync, sys_fdatasync, 1), + SC (__NR__sysctl, sys_sysctl, 1), + SC (__NR_mlock, sys_mlock, 2), + SC (__NR_munlock, sys_munlock, 2), + SC (__NR_mlockall, sys_mlockall, 1), + SC (__NR_munlockall, sys_munlockall, 0), + SC (__NR_nanosleep, sys_nanosleep, 2), + SC (__NR_mremap, sys_mremap, 4), + SC (__NR_setresuid, sys_setresuid16, 3), + SC (__NR_getresuid, sys_getresuid16, 3), + SC (__NR_poll, sys_poll, 3), + SC (__NR_nfsservctl, sys_nfsservctl, 3), + SC (__NR_setresgid, sys_setresgid16, 3), + SC (__NR_getresgid, sys_getresgid16, 3), + SC (__NR_prctl, sys_prctl, 5), + SC (__NR_sched_setparam, sys_sched_setparam, 2), + SC (__NR_sched_getparam, sys_sched_getparam, 2), + SC (__NR_sched_setscheduler, sys_sched_setscheduler, 3), + SC (__NR_sched_getscheduler, sys_sched_getscheduler, 1), + SC (__NR_sched_yield, sys_sched_yield, 0), + SC (__NR_sched_get_priority_max,sys_sched_get_priority_max, 1), + SC (__NR_sched_get_priority_min,sys_sched_get_priority_min, 1), + SC (__NR_sched_rr_get_interval, sys_sched_rr_get_interval, 2), + SC (__NR_rt_sigreturn, sys_rt_sigreturn, 0), + SC (__NR_rt_sigaction, sys_rt_sigaction, 4), + SC (__NR_rt_sigprocmask, sys_rt_sigprocmask, 4), + SC (__NR_rt_sigpending, sys_rt_sigpending, 2), + SC (__NR_rt_sigtimedwait, sys_rt_sigtimedwait, 4), + SC (__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo, 3), + SC (__NR_rt_sigsuspend, sys_rt_sigsuspend, 2), + SC (__NR_pread64, sys_pread64, 4), + SC (__NR_pwrite64, sys_pwrite64, 4), + SC (__NR_chown, sys_chown16, 3), + SC (__NR_getcwd, sys_getcwd, 2), + SC (__NR_capget, sys_capget, 2), + SC (__NR_capset, sys_capset, 2), + SC (__NR_sigaltstack, sys_sigaltstack, 2), + SC (__NR_sendfile, sys_sendfile, 4), + SC (__NR_vfork, sys_vfork, 0), + SC (__NR_getrlimit, sys_getrlimit, 2), + SC (__NR_mmap2, sys_mmap2, 6), + SC (__NR_truncate64, sys_truncate64, 2), + SC (__NR_ftruncate64, sys_ftruncate64, 2), + SC (__NR_stat64, sys_stat64, 2), + SC (__NR_lstat64, sys_lstat64, 2), + SC (__NR_fstat64, sys_fstat64, 2), + SC (__NR_lchown32, sys_lchown, 3), + SC (__NR_getuid32, sys_getuid, 0), + SC (__NR_getgid32, sys_getgid, 0), + SC (__NR_geteuid32, sys_geteuid, 0), + SC (__NR_getegid32, sys_getegid, 0), + SC (__NR_setreuid32, sys_setreuid, 2), + SC (__NR_setregid32, sys_setregid, 2), + SC (__NR_getgroups32, sys_getgroups, 2), + SC (__NR_setgroups32, sys_setgroups, 2), + SC (__NR_fchown32, sys_fchown, 3), + SC (__NR_setresuid32, sys_setresuid, 3), + SC (__NR_getresuid32, sys_getresuid, 3), + SC (__NR_setresgid32, sys_setresgid, 3), + SC (__NR_getresgid32, sys_getresgid, 3), + SC (__NR_chown32, sys_chown, 3), + SC (__NR_setuid32, sys_setuid, 1), + SC (__NR_setgid32, sys_setgid, 1), + SC (__NR_setfsuid32, sys_setfsuid, 1), + SC (__NR_setfsgid32, sys_setfsgid, 1), + SC (__NR_pivot_root, sys_pivot_root, 2), + SC (__NR_mincore, sys_mincore, 3), + SC (__NR_madvise, sys_madvise, 3), + SC (__NR_getdents64, sys_getdents64, 3), + SC (__NR_fcntl64, sys_fcntl64, 3), + SC (__NR_tkill, sys_tkill, 3), + SC (__NR_statfs64, sys_statfs64, 2), + SC (__NR_fstatfs64, sys_fstatfs64, 2), +#undef SC }; - - void syscall_handler(struct pt_regs *regs, void *excep_info) { unsigned int sc_number; @@ -271,8 +279,8 @@ * Check if the called syscall is known at all and that it isn't * a no-longer supported legacy syscall. */ - if (unlikely (sc_number > __NR_last_syscall || - syscall_num_args[sc_number] == -1)) { + if (unlikely (sc_number >= ARRAY_SIZE (syscall) || + !syscall[sc_number].sc_func)) { printk (KERN_DEBUG "%s(%d): syscall %d out of range or not " "implemented.\n", current->comm, current->pid, sc_number); @@ -322,10 +330,10 @@ /* * Check number of syscall arguments */ - if (unlikely (syscall_num_args[sc_number] != nr_args)) { + if (unlikely (syscall[sc_number].nr_args != nr_args)) { printk (KERN_DEBUG "%s(%d): stack mismatch (should=%d, caller=%d) on syscall %d\n", current->comm, current->pid, - syscall_num_args[sc_number], nr_args, sc_number); + syscall[sc_number].nr_args, nr_args, sc_number); printk (KERN_DEBUG "Please report to " "<lin...@pe...>.\n"); #ifdef CONFIG_DEBUG_VAX_CHECK_CHMx_ARGS_ABORT @@ -358,16 +366,13 @@ "g"(nr_args * 4), /* 2 - number of syscall argument bytes to copy */ "g"(nr_args + 1), /* 3 - number of syscall arguments + explicit "regs" ptr*/ "r"(user_ap), /* 4 - source for syscall arguments */ - "g"(*sys_call_table[sc_number]), /* 5 - syscall function ptr */ + "g"(*syscall[sc_number].sc_func), /* 5 - syscall function ptr */ "g"(-EFAULT) /* 6 - Return -EFAULT if calling the syscall failed */ : "r0", "r1", "r2", "r3", "r4", "r5"); -// printk("syscall %d returned %ld (0x%08lx)\n", sc_number, regs->r0, regs->r0); - return; } - int sys_pipe(unsigned long *fildes) { int fd[2]; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-31 13:27:56
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15773/include/asm-vax Modified Files: unistd.h Log Message: - Removal of sys_call_table. - Content is merged into our number_of_arguments table. - Initialized by macro (to allow some extra hacks :-) Index: unistd.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/unistd.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- unistd.h 29 Jul 2004 12:23:43 -0000 1.12 +++ unistd.h 31 Oct 2005 13:27:18 -0000 1.13 @@ -97,7 +97,7 @@ #define __NR_sigpending 73 #define __NR_sethostname 74 #define __NR_setrlimit 75 -//#define __NR_old_getrlimit 76 /* 2GB constrained rlimit */ +#define __NR_old_getrlimit 76 /* 2GB constrained rlimit */ #define __NR_getrusage 77 #define __NR_gettimeofday 78 #define __NR_settimeofday 79 |
From: Jan-Benedict G. <jb...@us...> - 2005-10-22 18:23:02
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14931 Modified Files: syscall.c Log Message: - When we found out that the number of args doesn't match what we expected, also print out the name of the process as well as it's PID. Index: syscall.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/syscall.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- syscall.c 3 Oct 2005 12:30:59 -0000 1.17 +++ syscall.c 22 Oct 2005 18:22:54 -0000 1.18 @@ -323,8 +323,11 @@ * Check number of syscall arguments */ if (unlikely (syscall_num_args[sc_number] != nr_args)) { - printk (KERN_DEBUG "Stack mismatch (should=%d, caller=%d) on syscall %d\n", + printk (KERN_DEBUG "%s(%d): stack mismatch (should=%d, caller=%d) on syscall %d\n", + current->comm, current->pid, syscall_num_args[sc_number], nr_args, sc_number); + printk (KERN_DEBUG "Please report to " + "<lin...@pe...>.\n"); #ifdef CONFIG_DEBUG_VAX_CHECK_CHMx_ARGS_ABORT regs->r0 = -EFAULT; return; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-22 16:31:13
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19311/arch/vax/kernel Modified Files: cpu_ka660.c Log Message: - IPR console for KA660. - Patch by James W. Laferriere. Index: cpu_ka660.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/cpu_ka660.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- cpu_ka660.c 21 Oct 2005 07:22:38 -0000 1.12 +++ cpu_ka660.c 22 Oct 2005 16:31:04 -0000 1.13 @@ -60,7 +60,7 @@ return -ENODEV; platform_device_register(&ka660_cqbic_device); -/* platform_device_register(&ka660_iprcons_device); */ + platform_device_register(&ka660_iprcons_device); return 0; } |
From: Jan-Benedict G. <jb...@us...> - 2005-10-21 07:45:29
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/vax/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24307/drivers/vax/net Modified Files: delqa.c Log Message: Fix some printk()s in the DELQA driver. Index: delqa.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/vax/net/delqa.c,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- delqa.c 14 Oct 2005 11:18:24 -0000 1.13 +++ delqa.c 21 Oct 2005 07:45:22 -0000 1.14 @@ -231,24 +231,26 @@ priv->stats.tx_errors++; if (desc->status1 & DELQA_TXSTS1_LOSS) { - printk("%s: carrier lost on transmit - " - "ethernet cable problem?", - dev->name); + printk(KERN_WARNING "%s: carrier lost on " + "transmit - ethernet cable " + "problem?\n", dev->name); } if (desc->status1 & DELQA_TXSTS1_NOCARRIER) { - printk("%s: no carrier on transmit - " - "transceiver or transceiver cable problem?", - dev->name); + printk(KERN_WARNING "%s: no carrier on transmit" + " - transceiver or transceiver " + "cable problem?\n", dev->name); } if (desc->status1 & DELQA_TXSTS1_ABORT) { - if (tdr == priv->last_tdr) { - printk("%s: excessive collisions on transmit", - dev->name); + printk(KERN_WARNING "%s: excessive " + "collisions on transmit\n", + dev->name); } else { - printk("%s: excessive collisions on transmit - " - "cable fault at TDR=%d\n", - dev->name, tdr); + printk(KERN_WARNING"%s: excessive " + "collisions on transmit" + " - cable fault at " + "TDR=%d\n", dev->name, + tdr); } if (collisions == 0) { /* Collision counter overflowed */ |
From: Jan-Benedict G. <jb...@us...> - 2005-10-21 07:22:46
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20814/arch/vax/kernel Modified Files: cpu_ka660.c Log Message: - CQBIC support for ka660. - By James W. Laferriere Index: cpu_ka660.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/cpu_ka660.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- cpu_ka660.c 2 Oct 2004 11:42:47 -0000 1.11 +++ cpu_ka660.c 21 Oct 2005 07:22:38 -0000 1.12 @@ -12,6 +12,9 @@ #include <linux/types.h> /* For NULL */ #include <linux/kernel.h> /* For printk */ +#include <linux/init.h> +#include <linux/device.h> + #include <asm/mtpr.h> #include <asm/mv.h> #include <asm/vaxcpu.h> @@ -43,3 +46,24 @@ (SOC_Q22_SUBTYPE_KA660 << SOC_Q22_SUBTYPE_SHIFT), }; +static struct platform_device ka660_cqbic_device = { + .name = "cqbic" +}; + +static struct platform_device ka660_iprcons_device = { + .name = "iprcons" +}; + +static int __init ka660_platform_device_init(void) +{ + if (!is_ka660()) + return -ENODEV; + + platform_device_register(&ka660_cqbic_device); +/* platform_device_register(&ka660_iprcons_device); */ + + return 0; +} + +arch_initcall(ka660_platform_device_init); + |
From: Jan-Benedict G. <jb...@us...> - 2005-10-21 07:22:46
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20814/include/asm-vax Modified Files: mv.h Log Message: - CQBIC support for ka660. - By James W. Laferriere Index: mv.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mv.h,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- mv.h 3 Oct 2005 12:05:15 -0000 1.34 +++ mv.h 21 Oct 2005 07:22:38 -0000 1.35 @@ -188,6 +188,14 @@ #endif } +static inline int is_ka660(void) { +#ifdef CONFIG_CPU_KA660 + return mv == &mv_ka660; +#else + return 0; +#endif +} + static inline int is_vxt(void) { #ifdef CONFIG_CPU_VXT return mv == &mv_vxt; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-18 06:02:01
|
Update of /cvsroot/linux-vax/kernel-2.5/Documentation/vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6749 Modified Files: keep_an_eye_on.txt Log Message: - Document need for fixing vaxlance vs. SGEC. Index: keep_an_eye_on.txt =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/Documentation/vax/keep_an_eye_on.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- keep_an_eye_on.txt 24 Aug 2005 22:30:45 -0000 1.6 +++ keep_an_eye_on.txt 18 Oct 2005 06:01:47 -0000 1.7 @@ -24,3 +24,6 @@ - schedule_timeout(30*HZ/100); + msleep(300); +- Oct 18, 2005: Debundle SGEC and vaxlance. + They share a struct net_dev last_dev (defined in lance). This seems to be + a relict from stoneage and needs to be removed. |
From: Jan-Benedict G. <jb...@us...> - 2005-10-18 05:44:58
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4060 Modified Files: Kconfig Log Message: - Make Lance and SGEC select VSBus support. - SGEC also selects Lance support because they share a struct net_dev last_dev that's defined in the Lance driver. - This needs to be fixed... Index: Kconfig =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/Kconfig,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- Kconfig 31 Jul 2005 17:27:44 -0000 1.24 +++ Kconfig 18 Oct 2005 05:44:44 -0000 1.25 @@ -88,6 +88,10 @@ bool "Support for KA410" default n +config CPU_KA41 + bool "Support for KA41 (MicroVAX 3100 Model 10)" + default n + config CPU_KA42 bool "Support for KA42 (VAXstation 3100 Model 38)" default n @@ -104,18 +108,31 @@ bool "Support for KA48 (VAXstation 4000 VLC)" default n -config CPU_KA49 - bool "Support for KA49 (VAXstation 4000/90)" +config CPU_KA52 + bool "Support for KA52 (VAXstation 4000 Model 100A)" + select CONS_PREVM_KA52 default n config CPU_KA55 bool "Support for KA55" default n +config CPU_KA49 + bool "Support for KA49 (VAXstation 4000/90)" + default n + +config CPU_KA62 + bool "Support for KA62 (VAXstation 6000/3x0)" + select SERIAL_IPR + default n + config CPU_VXT bool "Support for VXT" default n +config CONS_PREVM_KA52 + bool + default n endmenu source "init/Kconfig" @@ -152,15 +169,18 @@ config VAX_LANCE bool "LANCE ethernet controller support" + select VSBUS default n config VAX_SGEC bool "SGEC ethernet controller support (EXPERIMENTAL)" + select VSBUS + select VAX_LANCE default n config DELQA bool "DELQA/DEQNA Q-bus ethernet controller support" - depends QBUS + select QBUS default n endmenu |
From: Jan-Benedict G. <jb...@us...> - 2005-10-14 11:18:33
|
Update of /cvsroot/linux-vax/kernel-2.5/drivers/vax/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6288/drivers/vax/net Modified Files: delqa.c Log Message: - kfree() can handle NULL arguments, so no checking needed here. Index: delqa.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/drivers/vax/net/delqa.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- delqa.c 25 Apr 2005 22:25:06 -0000 1.12 +++ delqa.c 14 Oct 2005 11:18:24 -0000 1.13 @@ -956,9 +956,7 @@ if (priv->qbus_vector) { qbus_free_vector(qbus_dev->dev.parent, priv->qbus_vector); } - if (priv->descs) { - kfree(priv->descs); - } + kfree(priv->descs); if (priv->base) { qbus_iounmap(priv->base); } |
From: Kenn H. <ke...@us...> - 2005-10-13 22:52:09
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20540/arch/vax Modified Files: Makefile Log Message: Don't generate a kernel image if there are undefined symbols during the link stage Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/Makefile,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- Makefile 2 Aug 2005 20:58:22 -0000 1.39 +++ Makefile 13 Oct 2005 22:52:00 -0000 1.40 @@ -26,7 +26,7 @@ # These flags are used by the top-level makefile when linking # the kernel -LDFLAGS_vmlinux=-N -nostartfiles -nostdlib -noinhibit-exec -warn-once \ +LDFLAGS_vmlinux=-N -nostartfiles -nostdlib -warn-once \ -Map vmlinux.map -cref # Tell the top-level makefile about the addition arch-specific |
From: Kenn H. <ke...@us...> - 2005-10-11 07:46:11
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5711/arch/vax/lib Modified Files: udiv.S urem.S Log Message: Sometimes GCC calls them __urem and __udiv, and sometimes it's __umodsi3 and __udivsi3. Support both. Index: urem.S =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/lib/urem.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- urem.S 26 Sep 2005 20:42:41 -0000 1.3 +++ urem.S 11 Oct 2005 07:46:17 -0000 1.4 @@ -49,6 +49,7 @@ #define DIVISOR 8(%ap) ENTRY(__urem) +ENTRY(__umodsi3) .word 0x0004 # save R2 movl DIVISOR,%r2 jlss Leasy # big divisor: settle by comparison Index: udiv.S =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/lib/udiv.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- udiv.S 26 Sep 2005 20:42:41 -0000 1.3 +++ udiv.S 11 Oct 2005 07:46:17 -0000 1.4 @@ -50,6 +50,7 @@ #define DIVISOR 8(%ap) ENTRY(__udiv) +ENTRY(__udivsi3) .word 0x0004 # save R2 movl DIVISOR,%r2 jlss Leasy # big divisor: settle by comparison |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 13:43:36
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2789 Added Files: cpu_ka41.c cpu_ka52.c cpu_ka62.c Log Message: - Experimental "support", not yet anything fancy... --- NEW FILE: cpu_ka41.c --- /* * Copyright (C) 2005 by Jan-Benedict Glaw <jb...@lu...> * * This file contains generic machine vector handlers for the * KA41 CPU of the MicroVAX 3100. */ #include <linux/types.h> #include <linux/kernel.h> #include <linux/init.h> #include <linux/device.h> #include <linux/config.h> #include <asm/mtpr.h> #include <asm/mv.h> #include <asm/vaxcpu.h> #include <asm/clock.h> #include <asm/bus/vsbus.h> static void ka41_post_vm_init(void) { #ifdef CONFIG_DZ init_dz11_console(0x200A0000, 3); dz_serial_console_init(); #endif } static const char *ka41_cpu_type_str(void) { return "KA41"; } struct vax_mv mv_ka41 = { .post_vm_init = ka41_post_vm_init, .pre_vm_putchar = ka4x_prom_putchar, .pre_vm_getchar = ka4x_prom_getchar, .post_vm_putchar = dz11_putchar, .post_vm_getchar = dz11_getchar, .cpu_type_str = ka41_cpu_type_str, .clock_init = ka4x_clock_init, }; static struct cpu_match __CPU_MATCH cpu_match_ka41 = { .mv = &mv_ka41, .sid_mask = VAX_SID_FAMILY_MASK, .sid_match = VAX_CVAX << VAX_SID_FAMILY_SHIFT, .sidex_addr = CVAX_SIDEX_ADDR, .sidex_mask = CVAX_SIDEX_TYPE_MASK, .sidex_match = CVAX_SIDEX_TYPE_VS3100 << CVAX_SIDEX_TYPE_SHIFT, }; static struct platform_device ka41_vsbus_device = { .name = "ka4x-vsbus" }; static struct platform_device ka41_diag_led_device = { .name = "diag_led" }; static int __init ka41_platform_device_init (void) { int retval; if (!is_ka41 ()) return -ENODEV; platform_device_register (&ka41_diag_led_device); retval = platform_device_register (&ka41_vsbus_device); if (!retval) { #ifdef CONFIG_VSBUS vsbus_add_fixed_device (&ka41_vsbus_device.dev, "lance", 0x200e0000, 5); vsbus_add_fixed_device (&ka41_vsbus_device.dev, "dz", 0x200a0000, 6); /* Register internal SCSI bus */ vsbus_add_fixed_device (&ka41_vsbus_device.dev, "vax-5380-int", 0x200c0080, 1); /* Register external SCSI bus */ vsbus_add_fixed_device (&ka41_vsbus_device.dev, "vax-5380-ext", 0x200c0180, 0); #endif } return retval; } arch_initcall (ka41_platform_device_init); --- NEW FILE: cpu_ka62.c --- /* * Experimental CPU vector for my 6000/320 */ #include <linux/types.h> /* For NULL */ #include <linux/kernel.h> /* For printk */ #include <asm/mtpr.h> #include <asm/mv.h> #include <asm/vaxcpu.h> #include <asm/clock.h> /* For clock_init routines */ static const char *ka62_cpu_type_str(void) { return "KA62"; } struct vax_mv mv_ka62 = { .pre_vm_putchar = mtpr_putchar, .pre_vm_getchar = mtpr_getchar, .post_vm_putchar = mtpr_putchar, .post_vm_getchar = mtpr_getchar, .cpu_type_str = ka62_cpu_type_str, .clock_init = generic_clock_init, }; static struct cpu_match __CPU_MATCH cpumatch_ka62 = { .mv = &mv_ka62, .sid_mask = 0xffffffff, .sid_match = 0x0a000005, .sidex_addr = 0, }; --- NEW FILE: cpu_ka52.c --- /* * Copyright (C) 2005 by Jan-Benedict Glaw <jb...@lu...> * * This file contains generic machine vector handler for the * KA52 CPU (used in VAXstations 4000 Model 100A) */ #include <linux/types.h> /* For NULL */ #include <linux/kernel.h> /* For printk */ #include <linux/mm.h> #include <linux/config.h> #include <linux/init.h> #include <linux/device.h> #include <asm/mtpr.h> #include <asm/mv.h> #include <asm/vaxcpu.h> #include <asm/ka46.h> #include <asm/clock.h> /* for clock_init routines */ #include <asm/bus/vsbus.h> /* From bootcons/ */ extern void ka52_prevm_putchar (unsigned char c); extern void ka52_console_init (unsigned long address); extern void ka52_postvm_putchar (unsigned char c); static void ka52_post_vm_init(void) { #if 0 //ka52_console_init (0x20140080); ka52_console_init (0x25000000); #endif #ifdef CONFIG_DZ init_dz11_console(0x25000000, 3); dz_serial_console_init(); #endif } static const char *ka52_cpu_type_str(void) { return "KA52"; } static void ka52_pre_vm_init(void) { //__mtpr(PR_ACCS, 2); /* Enable floating points */ } static void ka52_mcheck (void *stkframe) { return; } struct vax_mv mv_ka52 = { .pre_vm_init = ka52_pre_vm_init, .post_vm_init = ka52_post_vm_init, .pre_vm_putchar = ka52_prevm_putchar, .pre_vm_getchar = ka46_48_49_prom_getchar, .post_vm_putchar = ka46_48_49_prom_putchar /*ka52_postvm_putchar*/, .post_vm_getchar = dz11_getchar, .cpu_type_str = ka52_cpu_type_str, //.clock_init = ka4x_clock_init, .mcheck = ka52_mcheck, .nicr_required = 1, }; static struct cpu_match __CPU_MATCH cpumatch_ka52 = { .mv = &mv_ka52, .sid_mask = VAX_SID_FAMILY_MASK, .sid_match = VAX_NVAX << VAX_SID_FAMILY_SHIFT, .sidex_addr = NVAX_SIDEX_ADDR, .sidex_mask = 0x00000000, .sidex_match = 0x00000000, }; static struct platform_device ka52_vsbus_device = { .name = "ka4x-vsbus" }; static struct platform_device ka52_diag_led_device = { .name = "diag_led" }; static int __init ka52_platform_device_init(void) { int retval; if (!is_ka52 ()) return -ENODEV; platform_device_register (&ka52_diag_led_device); retval = platform_device_register (&ka52_vsbus_device); if (!retval) { #ifdef CONFIG_VSBUS vsbus_add_fixed_device (&ka52_vsbus_device.dev, "lance", 0x200e0000, 1); vsbus_add_fixed_device (&ka52_vsbus_device.dev, "dz", 0x200a0000, 4); #endif } return retval; } arch_initcall (ka52_platform_device_init); |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:42:03
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21099 Modified Files: time.c Log Message: - Call mv->clock_init only if we have one. Index: time.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/time.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- time.c 9 May 2005 20:09:53 -0000 1.22 +++ time.c 3 Oct 2005 12:41:51 -0000 1.23 @@ -48,10 +48,14 @@ void __init time_init(void) { - /* initialise the hardware clock */ - mv->clock_init(); + /* Initialise the hardware clock */ + if (mv->clock_init) { + printk (KERN_DEBUG "Calling mv->clock_init()\n"); + mv->clock_init(); + } else + printk (KERN_DEBUG "No mv->clock_init(), so not calling it...\n"); - /* read cmos time */ + /* Read CMOS time */ xtime.tv_nsec = 0; xtime.tv_sec = get_cmos_time(); wall_to_monotonic.tv_sec = -xtime.tv_sec; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:36:07
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19989 Modified Files: process.c Log Message: - Print out a nicer message during process debugging (which is per default switched off). Helped to de-confuze me during toolchain hacking (and continues to do so...). Index: process.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/process.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- process.c 29 May 2005 12:10:54 -0000 1.30 +++ process.c 3 Oct 2005 12:35:54 -0000 1.31 @@ -269,8 +269,8 @@ unsigned long new_sp) { #ifdef VAX_PROCESS_DEBUG - printk("PID %d: starting thread %8lX %8lX %8lX\n", current->pid, new_pc, - new_sp, regs->sp); + printk("PID %d: starting thread pc=0x%08lx new_sp=0x%08lx regs->sp=" + "0x%08lx\n", current->pid, new_pc, new_sp, regs->sp); #endif set_fs(USER_DS); regs->pc = new_pc + 2; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:31:08
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19099 Modified Files: syscall.c Log Message: - Print out a nicer message for unsupported syscalls including program name, PID and syscall number. Index: syscall.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/syscall.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- syscall.c 2 Aug 2005 21:11:35 -0000 1.16 +++ syscall.c 3 Oct 2005 12:30:59 -0000 1.17 @@ -273,8 +273,9 @@ */ if (unlikely (sc_number > __NR_last_syscall || syscall_num_args[sc_number] == -1)) { - printk (KERN_DEBUG "Syscall %d out of range or not " - "implemented.\n", sc_number); + printk (KERN_DEBUG "%s(%d): syscall %d out of range or not " + "implemented.\n", current->comm, current->pid, + sc_number); printk (KERN_DEBUG "Please report to " "<lin...@pe...>.\n"); regs->r0 = -ENOSYS; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:28:41
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/bootcons In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18527/bootcons Added Files: cons_prevm_ka52.c Makefile Log Message: - A small start of putting boot console code into one common directory. --- NEW FILE: cons_prevm_ka52.c --- #include <asm/io.h> static volatile unsigned long *ka52_console = NULL; /* * FIXME: This function gets "unsigned char" instead of "int". All other * console I/O functions get int, but that looks a bit * non-intuitive for byte I/O ... * FIXME: 0x2004aaa8 isn't an official address. I wasn't ad hoc able to * use the official string-printing function (see * http://computer-refuge.org/classiccmp/dec94mds/473aamga.pdf, * pp. B-4 ff.). This address (0x2004aaa8) is internally * called for the purpose of printing out one byte to the * console. Also, I was too lazy to properly check register * usage of the subroutine, so I invalidate them all... */ void ka52_prevm_putchar (unsigned char c) { asm ( " movzbl %0, %%r0 \n" " jsb 0x2004aaa8 \n" : /* nothing */ : "g"(c) : "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11" /* As it seems in theory, R2, R3 and R11 are PUSHRed by this * subroutine, so (in theory) this shouldn't needed... */ ); return; } void ka52_console_init (unsigned long address) { ka52_console = ioremap (address, 8 * sizeof (unsigned long)); } void ka52_postvm_putchar (unsigned char c) { unsigned long temp = c; #if 0 if (ka52_console) ka52_console[3] = temp; #endif return; } unsigned char ka52_prevm_getchar (void) { asm ("halt"); return 0; } --- NEW FILE: Makefile --- # # This Makefile handles boot console code, with either VM switched # on or off. # obj-$(CONFIG_CONS_PREVM_KA52) += cons_prevm_ka52.o |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:28:37
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18527 Modified Files: Makefile Log Message: - A small start of putting boot console code into one common directory. Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/Makefile,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- Makefile 18 Nov 2004 09:27:44 -0000 1.18 +++ Makefile 3 Oct 2005 12:28:17 -0000 1.19 @@ -11,12 +11,16 @@ ioprobe.o syscall.o signal.o semaphore.o vax_dev_init.o \ init_task.o reboot.o cpu_generic.o clock.o \ +obj-y += bootcons/ + obj-$(CONFIG_CPU_KA42) += cpu_ka42.o obj-$(CONFIG_CPU_KA43) += cpu_ka43.o obj-$(CONFIG_CPU_KA46) += cpu_ka46.o obj-$(CONFIG_CPU_KA48) += cpu_ka48.o obj-$(CONFIG_CPU_KA49) += cpu_ka49.o +obj-$(CONFIG_CPU_KA52) += cpu_ka52.o obj-$(CONFIG_CPU_KA55) += cpu_ka55.o +obj-$(CONFIG_CPU_KA62) += cpu_ka62.o obj-$(CONFIG_CPU_KA410) += cpu_ka410.o obj-$(CONFIG_CPU_KA630) += cpu_ka630.o obj-$(CONFIG_CPU_KA640) += cpu_ka640.o |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:27:22
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/bootcons In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18381/bootcons Log Message: Directory /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/bootcons added to the repository |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:17:09
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16360/arch/vax/kernel Modified Files: diag_led.c Log Message: - KA52 support. Index: diag_led.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/diag_led.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- diag_led.c 25 Apr 2005 08:14:15 -0000 1.11 +++ diag_led.c 3 Oct 2005 12:16:47 -0000 1.12 @@ -50,6 +50,9 @@ } else if (is_ka49 ()) { inverted = 1; return DIAG_LED_KA49_BASE; + } else if (is_ka52 ()) { + inverted = 1; + return DIAG_LED_KA52_BASE; } else if (is_vxt ()) { inverted = 1; return DIAG_LED_VXT_BASE; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:05:23
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12905 Modified Files: mv.h Log Message: - Experimental machine vectors. Don't yet build on them... - I'm currently cleaning up my tree to go the GIT way later on :-) Index: mv.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mv.h,v retrieving revision 1.33 retrieving revision 1.34 diff -u -d -r1.33 -r1.34 --- mv.h 4 May 2005 22:22:50 -0000 1.33 +++ mv.h 3 Oct 2005 12:05:15 -0000 1.34 @@ -58,11 +58,13 @@ #ifndef __ASSEMBLY__ extern struct vax_mv *mv; /* Points to the applicable MV */ -extern struct vax_mv mv_ka42; /* All others may be available, or not */ +extern struct vax_mv mv_ka41; /* All others may be available, or not */ +extern struct vax_mv mv_ka42; extern struct vax_mv mv_ka43; extern struct vax_mv mv_ka46; extern struct vax_mv mv_ka48; extern struct vax_mv mv_ka49; +extern struct vax_mv mv_ka52; extern struct vax_mv mv_ka55; extern struct vax_mv mv_ka410; extern struct vax_mv mv_ka630; @@ -114,6 +116,14 @@ * FIXME: These should be removed eventually after there's no more code * which needs to know exact CPU type. */ +static inline int is_ka41(void) { +#ifdef CONFIG_CPU_KA41 + return mv == &mv_ka41; +#else + return 0; +#endif +} + static inline int is_ka42(void) { #ifdef CONFIG_CPU_KA42 return mv == &mv_ka42; @@ -138,6 +148,14 @@ #endif } +static inline int is_ka52(void) { +#ifdef CONFIG_CPU_KA52 + return mv == &mv_ka52; +#else + return 0; +#endif +} + static inline int is_ka55(void) { #ifdef CONFIG_CPU_KA55 return mv == &mv_ka55; |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:02:33
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12522 Modified Files: resource.h Log Message: - Resource cleanup. Index: resource.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/resource.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- resource.h 31 Jul 2005 18:17:40 -0000 1.5 +++ resource.h 3 Oct 2005 12:02:20 -0000 1.6 @@ -1,6 +1,7 @@ #ifndef _ASM_VAX_RESOURCE_H #define _ASM_VAX_RESOURCE_H +#include <asm/mm/task.h> #include <asm-generic/resource.h> -#endif +#endif /* _ASM_VAX_RESOURCE_H */ |
From: Jan-Benedict G. <jb...@us...> - 2005-10-03 12:02:10
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12038 Modified Files: task.h Log Message: - This is the stuff needed to work after the resource unification that took place in the 2.6.11 -> 2.6.12 timeline. Index: task.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/mm/task.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- task.h 20 May 2002 00:33:39 -0000 1.3 +++ task.h 3 Oct 2005 12:01:29 -0000 1.4 @@ -41,7 +41,7 @@ #define TASK_MMAPMAX (58*1024*1024) /* TASK_STKMAX is the max space for the stack in P1 */ -#define TASK_STKMAX (4*1024*1024) +#define TASK_STKMAX (8*1024*1024) #define TASK_WSMAX (TASK_TXTMAX+TASK_MMAPMAX) |