This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Far pointers
- From: "Eddy Ilg" <eddy at fericom dot net>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 27 Nov 2001 19:49:52 +0100
- Subject: Far pointers
Hi,
I am planning to do some development with a cross-gcc compiler for a
microcontroller. For it I want to write a little Kernel and I want to leave
open the option to port it to 80x386 and newer architectures.
The kernel will have to access data from userspace processes on the user
stack or user data segment. These accesses should occur via far pointers.
How do I implement a far pointer to another segment in gcc? I have heard
there is no keyword like far or FAR...
Thanks
Eddy