lkml.org 
[lkml]   [1999]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 64bit port
Date
> This is what i was looking for. So does this mean, if i have a 32bit linux
> application, would it work in the 64bit linux alpha environment?

Linux on sparc64 does exactly that. Currently we just run 32bit userland
common between 32bit and 64bit SPARC CPUs, but the 64bit kernel is able to
run 64bit applications as well (first distributions with 64bit apps should
be coming soon though). Internally the kernel is 64bit, and for
32bit applications it translates the system calls arguments and structures
as appropriate. Take a look at how is it done in
arch/sparc64/kernel/{sys_sparc,ioctl}32.c

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.2.7 on a sparc64 machine (3958.37 BogoMips)
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.060 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site