[parisc-linux] depi?

Alan Cox alan@lxorguk.ukuu.org.uk
Tue, 16 Nov 1999 12:20:32 +0000 (GMT)


> If I understood correctly, the kernel is located there because it is where it
> is on PC.

Thats why someone pulled that number out of a hat. You can pull any other
page aligned number out of a hat and that will be fine too.

> Sounds like linux is not more portable than any other propriaitary OS since
> confined to PC architecture, a port beeing a mimic of PC if the target arch
> can do it.

Check the mm code. We don't care where you put the kernel. The rules we go
by are simple

1.	The kernel must be able to access all of the current tasks user space
	efficiently. This is done via macros/functions/inlines

2.	The kernel must be able to access all physical ram and also
	mappings of MMIO space. The mappings can be 1:1 - for example on the
	ultrasparc we use the override bits for this. I/O space maps are
	accessed via macros/functions. If those functions resolve to no
	actual extra code this is good.

3.	Access to other tasks virtual address space has to be possible. It can
	be slow and suck however as its main use is ptrace().

The mappings we use vary. M68K for example maps the kernel about 3.5Gig up
and uses space registers to access user space. The x86 because of the weak
page table flipping facilities keeps both user and kernel in a single map. That
makes for nice fast x86 code. That is x86 specific.

Alan

X-From-Line: hppa-linux@thepuffingroup.com  Wed Mar 10 14:48:43 1999
Return-Path: <hppa-linux@thepuffingroup.com>
Received: from merlin.pcj.primenet.com (pcj@merlin.pcj.primenet.com [192.168.111.10])
	by merlin.pcj.primenet.com (8.8.7/8.8.7) with ESMTP id OAA03111
	for <pcj@merlin.pcj.primenet.com>; Wed, 10 Mar 1999 14:48:43 -0800
Resent-From: hppa-linux@thepuffingroup.com
Received: from pop.primenet.com
	by merlin.pcj.primenet.com (fetchmail-4.4.7 POP3)
	for <pcj/merlin.pcj.primenet.com> (single-drop); Wed, 10 Mar 1999 14:48:43 PST
Received: from smtp04.primenet.com (daemon@smtp04.primenet.com [206.165.6.134])
	by primenet.com (8.8.8/8.8.5) with ESMTP id OAA21137
	for <pcj@smtp-local.primenet.com>; Mon, 8 Mar 1999 14:04:30 -0700 (MST)
Received: (from daemon@localhost)
	by smtp04.primenet.com (8.8.8/8.8.8) id OAA16596
	for <pcj@primenet.com>; Mon, 8 Mar 1999 14:44:19 -0700 (MST)
Received: from SOD.RES.CMU.EDU(128.2.91.30)
 via SMTP by smtp04.primenet.com, id smtpd016565; Mon Mar  8 14:44:17 1999
Received: (from listserv@localhost)
	by sod.res.cmu.edu (8.8.7/8.8.7) id PAA11599;
	Mon, 8 Mar 1999 15:17:11 -0500
Resent-Date: Mon, 8 Mar 1999 15:17:11 -0500
Delivered-To: thepuffi-hppa-linux@thepuffingroup.com
X-Authentication-Warning: devserv.devel.redhat.com: adevries owned process doing -bs
Date: Mon, 8 Mar 1999 15:16:55 -0500 (EST)
From: Alex deVries <adevries@redhat.com>
X-Sender: adevries@devserv.devel.redhat.com
To: hppa-linux@thepuffingroup.com
Subject: Re: [hppa-linux] source for the boot loader?
In-Reply-To: <199903081934.NAA07421@dukat.upl.cs.wisc.edu>
Message-ID: <Pine.LNX.3.96.990308151631.5280h-100000@devserv.devel.redhat.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"EAe251.0.5r2.613vs"@sod.res.cmu.edu>
Reply-To: hppa-linux@thepuffingroup.com
X-Mailing-List: <hppa-linux@thepuffingroup.com> archive/latest/148
X-Loop: hppa-linux@thepuffingroup.com
Precedence: list
Resent-Sender: hppa-linux-request@thepuffingroup.com
X-UIDL: 7bb0b272f1b715d6d2e17bb2b158b51a
Status: RO
Lines: 20
Xref: merlin.pcj.primenet.com palinux:119


On Mon, 8 Mar 1999, Erik Paulson wrote:
> 	Maybe I just missed it, but is the source for the bootloader out 
> there anywhere? I'd like to start looking at the code....

I'll be releasing the source for the bootloader today.

- Alex

-- 
Alex deVries <puffin@redhat.com>     
Red Hat Contrib Net maintainer          
Ottawa, Canada  
HPPA/Linux Porting Team


-------------------------------------------------------------------------
To unsubscribe: send e-mail to hppa-linux-request@thepuffingroup.com with
`unsubscribe' as the subject.