[Prev][Next][Index][Thread]

Address space question




Hello,

In sproc_machdep_init.c, it seems that the default user CS and DS segments
are set to span the entire linear address space 0-0xffffffff. Since user
code and data all start from 0x40000000, i thought i could set the start
of user CS and DS at 0x40000000. This causes seg faults, i am not sure
why.

Could it be because the return from user space is via the interrupt call
gate, and the idt descriptors are not mapped in the current user space?

Thanks
--suresh



Follow-Ups: