On Sun, Dec 19, 2010 at 05:18:23PM +0000, Jonathan A. Kollasch wrote: > Module Name: src > Committed By: jakllsch > Date: Sun Dec 19 17:18:23 UTC 2010 > > Modified Files: > src/sys/arch/i386/stand/lib: realprot.S > > Log Message: > Compute real/protected %sp/%esp offset in 'gdt_fixup' using all 32-bits. > Allows the case of %ss being less than %cs to work. > Also, completely save and restore the general-purpose registers we use.
It ought to be possible to initialise the gdt (etc) as compile time. The addresses are always fixed. David -- David Laight: da...@l8s.co.uk