home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mips
- Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!sdd.hp.com!think.com!paperboy.osf.org!paperboy.osf.org!boot
- From: boot@donald.osf.org (Bruce Bauman)
- Subject: Re: OSF/1 related question
- In-Reply-To: jet@win30.nas.nasa.gov's message of 12 Aug 92 10:21:06
- Message-ID: <BOOT.92Aug17104437@donald.osf.org>
- Sender: news@osf.org (USENET News System)
- Reply-To: boot@osf.org
- Organization: Open Software Foundation
- References: <JET.92Aug12102106@win30.nas.nasa.gov>
- Date: 17 Aug 92 10:44:37
- Lines: 41
-
- There are at least 2 places that I know of where you could have gotten
- OSF/1 for a MIPS platform - one is via a source license directly from OSF,
- and the other is from DEC.
-
- Our (OSF's) intention was to make this somewhat portable by adding a
- new call (getaddressconf) which programs could use to figure out
- address space layouts without hardwiring constants. You can see the
- man page for getaddressconf(2) for more info.
-
- Here's an excerpt from <sys/addrconf.h> which applies to the OSF/1
- reference port - I'm not sure if DEC's implementation is identical:
-
- #define USRTEXT 0x400000 /* user text starts at 4 MB */
- #define USRDATA 0x10000000 /* user data starts at 256 MB */
- #define EA_SIZE 32 /* EMULATE_AREA size */
- #define USRSTACK (0x80000000-NBPG)/* Top of user stack */
- #define EMULATE_AREA USRSTACK-EA_SIZE/* area for bp emulation */
-
-
- struct addressconf addressconf[AC_N_AREAS] = {
-
- { (caddr_t)USRTEXT, AC_UPWARD|AC_FIXED }, /* AC_TEXT */
- { (caddr_t)USRDATA, AC_UPWARD|AC_FIXED }, /* AC_DATA */
- { (caddr_t)USRDATA, AC_UPWARD|AC_FLOAT }, /* AC_BSS */
- { (caddr_t)USRSTACK, AC_DOWNWARD|AC_FIXED }, /* AC_STACK */
- { (caddr_t)0x70000000, AC_UPWARD|AC_FIXED }, /* AC_LDR_TEXT */
- { (caddr_t)0x70000000, AC_UPWARD|AC_FLOAT }, /* AC_LDR_DATA */
- { (caddr_t)0x70000000, AC_UPWARD|AC_FLOAT }, /* AC_LDR_BSS */
- { (caddr_t)0x71000000, AC_UPWARD|AC_FIXED }, /* AC_LDR_PRIV */
- { (caddr_t)0x72000000, AC_UPWARD|AC_FIXED }, /* AC_LDR_GLB */
- { (caddr_t)0x73000000, AC_UPWARD|AC_FIXED }, /* AC_LDR_PRELOAD
- */
- { (caddr_t)USRTEXT, AC_UPWARD|AC_FLOAT }, /* AC_MMAP_TEXT */
- { (caddr_t)0x40000000, AC_UPWARD|AC_FLOAT }, /* AC_MMAP_DATA
- */
- { (caddr_t)0x40000000, AC_UPWARD|AC_FLOAT }, /* AC_MMAP_BSS */
- };
- --
- Bruce Bauman email: boot@osf.org phone: 617-621-7205
- Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142
-
-