bug-hurd
[Top][All Lists]
Advanced

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

Re: %gs:0 thread pseudoregister in oskit-mach


From: Roland McGrath
Subject: Re: %gs:0 thread pseudoregister in oskit-mach
Date: Tue, 23 Apr 2002 17:00:35 -0400 (EDT)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]