From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10708221602l51238c48x2e4d6999891fc158@mail.gmail.com> Date: Wed, 22 Aug 2007 19:02:08 -0400 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] double-mapping KZERO in l.s In-Reply-To: <0e977e85c6ff64d54bac0b0301754f40@coraid.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <0e977e85c6ff64d54bac0b0301754f40@coraid.com> Topicbox-Message-UUID: b015b6ee-ead2-11e9-9d60-3106f5b1d025 On 8/22/07, erik quanstrom wrote: > perhaps this is completely obvious, but why are the first > 4 mb double-mapped in l.s at virtual address 0 and KZERO? > you start out executing with real memory addresses, i.e. you are executing code at 0x100000 not at KZERO+0x100000. There is a period of time where you are executing at those low addresses, then you pop up to KZERO space and you blow away the low mappings by clearing PDO(KZERO). ron