Am Freitag, 24. Dezember 2021, 23:02:03 CET schrieb Sven Barth via fpc-pascal:
> Rainer Stratmann via fpc-pascal schrieb
>
> am Fr., 24. Dez. 2021, 15:04:
> > Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc
> > programm?
>
> No, because your program is running as a 32-bit process and thus only has
> access to the 32-bit space of syscalls.
>
> Why, what do you want to do?
My Kernel Mode Setting Program is not working on the latest Debian Linux 64
Bit Kernel.
Debian 10 - 32 Bit Linux - it works
Debian 10 - 64 Bit Linux - it works
Debian 11 - 32 Bit Linux - it works
Debian 11 - 64 Bit Linux - it does not work
It has something to do with mmap2 and may be the vtconsole.
I guess mmap2 is not working correctly in Debian 11 - 64 Bit Linux.
Or the vtconsole takes over the framebuffer.
> Regards,
> Sven
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal