All of lore.kernel.org
 help / color / mirror / Atom feed
* Darwin OS (Newbie)
@ 2005-06-21 21:47 David Brusowankin
  2005-06-21 22:45 ` Mark Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: David Brusowankin @ 2005-06-21 21:47 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/html, Size: 467 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Darwin OS (Newbie)
  2005-06-21 21:47 Darwin OS (Newbie) David Brusowankin
@ 2005-06-21 22:45 ` Mark Williamson
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Williamson @ 2005-06-21 22:45 UTC (permalink / raw)
  To: xen-devel; +Cc: David Brusowankin

> Can anyone give me any pointers on modifying Darwin OS  so that it runs on
> top of Xen? My initial assumption is that is would be very much like BSD
> and that I could use BSD as a template.

Bits of it are taken from FreeBSD 5, other bits come from elsewhere: in 
particular you'd certainly also need to make Mach aware of Xen.  There's some 
other stuff in there (e.g. IOKit - Apple's driver framework) - Darwin is 
rather a mutant.

I don't know if Darwin can support BSD-style device drivers (in which case you 
could pretty closely follow the existing BSD drivers) or if you'd have to 
port to IOKit straight away.

One of the first steps in an OS port is obviously to get the initialisation 
code working.  You'll find it helpful to look at the MiniOS code (and the 
initialisation code in the existing ports), that'll give you a good idea of 
the changes that need to be made (e.g. guest starts in protected mode with 
paging enabled and a set of bootstrap page tables).  (side note: the MiniOS 
occasionally breaks due to Xen API changes - I don't know if it works on 
unstable at the moment)

There's also an interface manual in the docs directory but we're awful about 
keeping it up to date ;-)

Cheers,
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-21 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-21 21:47 Darwin OS (Newbie) David Brusowankin
2005-06-21 22:45 ` Mark Williamson

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.