Thread (1 message) 1 message, 1 author, 1999-05-11

Re: Mac-on-linux is now working...

From: Samuel Rydh <hidden>
Date: 1999-05-11 20:53:54

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 [off-list ref]  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.   ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help