Hi Axel,
Maybe he just wan’t to port Wine!
i’m sure you know it well, but this Address Space Layout makes the porting of
Wine harder if not impossible:
https://wiki.winehq.org/Haiku ;<https://wiki.winehq.org/Haiku>
Best Regards,
miqlas
2016. dec. 6. dátummal, 21:33 időpontban Axel Dörfler
<axeld@xxxxxxxxxxxxxxxx> írta:
Am 06/12/2016 um 20:11 schrieb Dario Casalinuovo:
we are using this address layout :
kernel land: 0x80000000-0xFFFFFFFFF
user land: 0x00000000-0x7FFF0000
Almost every main OS (linux, windows) is using this layout :
kernel land: 0xC0000000-0xFFFFFFFFF
user land: 0x00000000-0xBFFFFFFFF
This isn't really correct, see for example
https://msdn.microsoft.com/de-de/library/windows/desktop/aa366912(v=vs.85).aspx
Having Windows only use 1 GB for the kernel was optional, not the default,
and not all versions did support it.
I have two questions :
* Is there some specific reason for using this layout?
* Any objection if I change it to conform the mainstream?
Yes to both: our block cache needs mapped memory to work correctly, and less
address space could harm the system.
Is there any specific reason why you need more than 2 GB in userspace?
If you can make it an option, your patch might be acceptable, but since we
already do have a 64 bit Haiku, why not just use that one?
Bye,
Axel.