[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: 64bit port
From:       Jakub Jelinek <jj () sunsite ! ms ! mff ! cuni ! cz>
Date:       1999-04-30 19:31:55
[Download RAW message or body]

> 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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic