Ah, I was thinking wrong. The segment limit field is only 20 bits, so for segments larger than that you set the SZ_G bit and the granularity of the limit is 4kb (fill_descriptor in oskit/x86/seg.h does this). So try making ldt.c use VM_MAX_ADDRESS-VM_MIN_ADDRESS-PAGE_SIZE, because the fencepost error is at 4k granularity.
_______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd