Sven Barth wrote 10 lines
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