Re: Mac-on-Linux
From: Samuel Rydh <hidden>
Date: 1999-05-22 17:37:19
On Fri, May 21, 1999 at 09:35:21PM -0500, David A. Gatwood wrote:
Quick question: what is the nature of the kernel support for mac-on-linux? Some folks in the MkLinux camp have been discussing writing equivalent 2.0.xx kernel code that works through mach. I know that it will likely need to be able to map the ROMs into user space. I also suspect that handling code (which could be very messy, but we'll cross that bridge when we get to it) and possibly the memory management code. Beyond that, what other hurdles are there?
The Mac-on-Linux kernel support code has in principle the following tasks: - Emulate privileged instructions. - Handle the MMU (maps ROM, RAM etc.) The implementation is primarily based upon hooks in the low-level exception handlers. Besides this, the interaction with the kernel has been kept at a minimum. I believe the exception hooks must be put into the mach kernel - possibly it is easiest to put all code there. /Samuel ---------------------------------------------------------- E-mail [off-list ref] WWW: <http://www.ibrium.se> Phone/fax: (home) +46 8 4418431, (work) +46 8 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. ]]