From mboxrd@z Thu Jan 1 00:00:00 1970 From: ron minnich To: 9fans@cse.psu.edu Subject: Re: [9fans] loading plan 9 directly from linuxbios In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed, 29 Oct 2003 16:17:44 -0700 Topicbox-Message-UUID: 7b24b710-eacc-11e9-9e20-41e7f4b1d025 On Wed, 29 Oct 2003, C H Forsyth wrote: > >>that the gdt is not Plan9-compatible. I think it is probably good hygiene > > what is incompatible about the gdt? > to what is it initialised? linuxbios follows the linux gdt setup. offset 10 is code, offset 18 is data. ds, es, etc. are set to 18, cs is set to 10. Plan 9 sets GDT SEL 8 to data; and ds, etc. need to be set to 8. Currently I am exploding in Plan 9 after linuxbios loads it and I am almost certain it is due to this incompatibility. ron