[parisc-linux-cvs] linux-2.6 jejb

James Bottomley parisc-linux@lists.parisc-linux.org
Sun, 21 Sep 2003 08:33:58 -0600 (MDT)


CVSROOT:	/var/cvs
Module name:	linux-2.6
Changes by:	jejb	03/09/21 08:33:58

Modified files:
	.              : Makefile 
	arch/parisc/kernel: entry.S sys_parisc.c syscall.S 
	include/asm-parisc: processor.h 
Added files:
	arch/parisc/kernel: syscall_table.S 

Log message:
Add support for ELF64 user applications

- Add a new 64 bit system call table
- Set the PSW_W bit for ELF64 so they actually execute in wide mode

Still todo:

- Decide on the memory model for ELF64 (it currently uses the ELF32 limits)
- Actually get working 64 bit user land support...

Notes:

The changes to syscall.S stuff the PSW_W bit into the bottom of the
user stack, and use this as an indication of which syscall table to
use as well as whether to restore PSW_W.  This is necessary because
the syscall_exit return path to user space doesn't restore the flags
from regs->gr[0] in the task structure.