9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@lanl.gov>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] loading plan 9 directly from linuxbios
Date: Wed, 29 Oct 2003 16:17:44 -0700	[thread overview]
Message-ID: <Pine.LNX.4.44.0310291615360.30710-100000@maxroach.lanl.gov> (raw)
In-Reply-To: <f3eca563c9ccdebc4c8c39ac9f9131b1@vitanuova.com>

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



  reply	other threads:[~2003-10-29 23:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29  6:42 ron minnich
2003-10-29  8:08 ` Charles Forsyth
2003-10-29  9:37   ` C H Forsyth
2003-10-29 16:16   ` ron minnich
2003-10-29 16:39     ` David Presotto
2003-10-29 16:46       ` ron minnich
2003-10-29 16:54         ` ron minnich
2003-10-29 20:58     ` C H Forsyth
2003-10-29 23:17       ` ron minnich [this message]
2003-10-29  7:42 Tiit Lankots
2003-10-29 16:12 ` ron minnich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0310291615360.30710-100000@maxroach.lanl.gov \
    --to=rminnich@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).