All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Rydh <samuel@ibrium.se>
To: jenschrr@uni-bielefeld.de
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: Mac-on-linux is now working...
Date: Tue, 11 May 1999 22:53:54 +0200	[thread overview]
Message-ID: <19990511225354.65466@ibrium.se> (raw)
In-Reply-To: <3737E133.164A@post.uni-bielefeld.de>; from Jens Ch. Restemeier on Tue, May 11, 1999 at 09:50:12AM +0200


On Tue, May 11, 1999 at 09:50:12AM +0200, Jens Ch. Restemeier wrote:
> Hi !
> 
> I'm currently downloading the source. Do you have any suggestions for
> starting 603 support? What are the differences that need to be fixed?
> 
> Jens

I think it is only the MMU code which needs to be fixed. 
All processors except the 603 uses a TLB hash table for
page table entries. Mac-on-linux accesses this table
directly in a few places.

If the line

  #define NO_RELOAD_HTAB 1

is changed to

  #define NO_RELOAD_HTAB 0

in 'arch/ppc/kernel/head.S' and 'arch/ppc/mm/init.c',
then the kernel emulates a TLB hash table. Possibly
this will do the trick. (I would also suggest careful 
examination of the register contents for the faked 
"DSI/ISI" exception).

Some more modifications are necessary if one want
the 603 to behave as a 603 (and not as a 604).
I can't see why one should want that though.

/Samuel

-- 

----------------------------------------------------------
  E-mail <samuel@ibrium.se>  WWW: <http://www.ibrium.se>
    Phone/fax: (home) +46 4418431, (work) +46 7908470   
----------------------------------------------------------

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

  reply	other threads:[~1999-05-11 20:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-10 19:33 Mac-on-linux is now working Samuel Rydh
1999-05-11  7:50 ` Jens Ch. Restemeier
1999-05-11 20:53   ` Samuel Rydh [this message]
1999-05-12 21:47 ` Kolbjørn Barmen
1999-06-03 17:28 ` Brad Midgley
1999-06-03 18:05   ` Benjamin Herrenschmidt
1999-06-05 17:27     ` control-c [Re: Mac-on-linux is now working...] Brad Midgley
1999-06-05 18:00     ` Mac-on-linux is now working Brad Midgley

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=19990511225354.65466@ibrium.se \
    --to=samuel@ibrium.se \
    --cc=jenschrr@uni-bielefeld.de \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.