From owner-freebsd-questions Mon Jan 16 19:33:38 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id TAA26536 for questions-outgoing; Mon, 16 Jan 1995 19:33:38 -0800 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id TAA26530 for ; Mon, 16 Jan 1995 19:33:34 -0800 Received: by halloran-eldar.lcs.mit.edu; id AA23618; Mon, 16 Jan 1995 22:33:15 -0500 Date: Mon, 16 Jan 1995 22:33:15 -0500 From: Garrett Wollman Message-Id: <9501170333.AA23618@halloran-eldar.lcs.mit.edu> To: "Ugen J.S.Antsilevich" Cc: freebsd-questions@freefall.cdrom.com Subject: Lists back?And load-prog question In-Reply-To: References: Sender: questions-owner@FreeBSD.org Precedence: bulk < said: > 2) Question: when i run programm to which adresses loaded it's > data? Text? Where is stack? (I mean VM adresses of corse) > How user VM looks like? To which parts it divided? (PO,P1 and so on..) User VM space runs from VA 0 to VA 0xefffffff minus a little bit. The first page is left unmapped to help diagnose null-pointer-dereference bugs in both the user and the kernel. The program text begins with the second page, and data and BSS are immediately after that. The break area comes next, followed by the (grow-down) user stack, program arguments, and some per-process user data structures. David once promised to write something that goes into more detail and also described the kernel memory layout. I don't know if he ever got started on it, though. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant