ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.29k stars 226 forks source link

[Feature request] add amd64's x32 abi support #903

Open naY9yjoS6ZqhOd35sIFH opened 9 months ago

naY9yjoS6ZqhOd35sIFH commented 9 months ago

i heard news of intel will cut x86 32-bit support on thier chip

intel news x86s on phoronix

so how about port box86 as new 32-bit binary translator for amd64 like wow64 as lol64?

x86s spec x32 on wikipedia debian x32

ptitSeb commented 9 months ago

The base would be more the (still non-existant) box32, instead of box86.

That being said, from my understanding, X86s will still be able to run 32bits software (just not 32bits OS).

DragonSWDev commented 9 months ago

x86s will keep support for running 32 bit applications. It only removes legacy and unused stuff like 16 bit real mode, 16 and 32 bit protected mode, segmentation etc.

naY9yjoS6ZqhOd35sIFH commented 9 months ago

x86s will keep support for running 32 bit applications. It only removes legacy and unused stuff like 16 bit real mode, 16 and 32 bit protected mode, segmentation etc.

x86s only run long mode phronix ia32 emulation disable source from linux repo 0 source from linux repo 1 source from linux repo 2

DragonSWDev commented 9 months ago

x86s will keep support for running 32 bit applications. It only removes legacy and unused stuff like 16 bit real mode, 16 and 32 bit protected mode, segmentation etc.

x86s only run long mode phronix ia32 emulation disable source from linux repo 0 source from linux repo 1 source from linux repo 2

x86s supports only long mode (so no support for 32 bit operating system) but still supports 32 bit compatibility sub mode in ring 3, so 32 bit applications will be still supported. Envisioning a Simplified Intel Architecture

That Linux feature is not related. Linux had ability to disable 32 bit application support in x86_64 bit kernel for years but it could be only disabled during kernel build and you couldn't enable it without another kernel build. Now they added feature that let you disable it with kernel parameter so it could be enabled or disabled by user without the need for kernel rebuild.

naY9yjoS6ZqhOd35sIFH commented 9 months ago

thanks for explain