Far pointers

Eddy Ilg eddy@fericom.net
Tue Nov 20 08:37:00 GMT 2001


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...



More information about the Gcc-help mailing list