[fpc-pascal] 64 bit Linux syscall from 32 bit fpc program
Rainer Stratmann
rainerstratmann at t-online.de
Fri Dec 24 23:28:19 CET 2021
Am Freitag, 24. Dezember 2021, 23:02:03 CET schrieb Sven Barth via fpc-pascal:
> Rainer Stratmann via fpc-pascal <fpc-pascal at lists.freepascal.org> 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
More information about the fpc-pascal
mailing list