Messages in this thread | | | From | Jakub Jelinek <> | Subject | Re: 64bit port | Date | Fri, 30 Apr 1999 21:31:55 +0200 (CEST) |
| |
> 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/
| |