9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: forsyth@vitanuova.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Stack initialisation
Date: Tue, 29 Aug 2000 23:08:51 +0100	[thread overview]
Message-ID: <200008292210.SAA09540@cse.psu.edu> (raw)

>>	Ptab    = 0xbfff5000,    /* Private stack */
>>	Execstk = 0xbf001000,    /* Exec stack linkage area */

the values are related to those of USTKTOP and USTKSIZE
in the  2nd edition kernel, both of which differ in the 3rd edition
kernel, since the arrangement of virtual memory has changed slightly
(on the PC at least).
the exec stack grabs addresses at the low end of the virtual memory
region reserved for the stack, presumably on the grounds that most
Alef processes haven't used the full 16 megabytes.  it is
space that will be reclaimed automatically after the exec.
that's from memory of doing the Alef port to the powerpc
and looking at the various definitions.


             reply	other threads:[~2000-08-29 22:08 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-29 22:08 forsyth [this message]
2000-08-30  5:19 ` Lucio De Re
  -- strict thread matches above, loose matches on Subject: below --
2000-08-31 10:25 lucio
2000-08-31  0:25 okamoto
2000-08-30 16:45 forsyth
2000-08-30 16:55 ` Boyd Roberts
2000-08-30 15:26 lucio
2000-08-30 14:35 forsyth
2000-08-30 14:17 lucio
2000-08-30 15:36 ` ozan s. yigit
2000-08-30 16:12   ` Lucio De Re
2000-08-30 16:32     ` Boyd Roberts
2000-08-30 16:44       ` Lucio De Re
2000-08-30 16:59         ` Boyd Roberts
2000-08-30 17:06           ` Lucio De Re
2000-08-31  9:26         ` Elliott Hughes
2000-08-30 13:45 rob pike
2000-08-30 13:44 rob pike
2000-08-30  6:14 okamoto
2000-08-30  6:23 ` Lucio De Re
2000-08-30  5:44 okamoto
2000-08-30  6:00 ` Lucio De Re
2000-08-29 16:45 rob pike
2000-08-29 16:45 rob pike
2000-08-29 16:58 ` Lucio De Re
2000-08-29 14:30 Lucio De Re

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=200008292210.SAA09540@cse.psu.edu \
    --to=forsyth@vitanuova.com \
    --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).