WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] [PATCH] Port of mini-os to ia64

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] Port of mini-os to ia64
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 13 Feb 2007 10:06:18 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 13 Feb 2007 01:09:47 -0800
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; b=cDcF8p5XYOUz79u5E4AAO+hfP2ygPxbIoZt7akEm6BdWZ/jQXHyEtBXYoKDcljAiYesSHTJdgUEU+FG5L2eA4MoqJl3/ATj7x3mkJK2nQZNp91e7/ZIjNdOLsoViANBE;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1171294104.5373.6.camel@bling>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200702060817.28339.dietmar.hahn@xxxxxxxxxxxxxxxxxxx> <200702121158.52893.dietmar.hahn@xxxxxxxxxxxxxxxxxxx> <1171294104.5373.6.camel@bling>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Hi Alex,

Am Montag, 12. Februar 2007 16:28 schrieb Alex Williamson:
>...
> Hi Dietmar,
>
>    Yes, I think we would want a mini-os port in the source.  Skimming
> through the patch, my first impression is that this seems more like a PV
> port of FreeBSD than a truly "minimal" OS.  If we're designing an OS to
> run only in PV mode on Xen/ia64, can we remove some of the ia64 bare
> metal components?  Perhaps ripping out some PAL/SAL/EFI/ACPI specific
> layers?  And if we do need those components in a mini-os, would it make
> more sense to leverage them from Linux than FreeBSD?  Maybe some
> discussion of your design decisions would help me understand better.
> Thanks,
>
>       Alex

my main goal at the beginning  was to fit in the existing x86-mini-os 
structure with as few changes as possible.
The PAL/SAL/EFI comes in when I tried the timer stuff. I found, that xen-ia64 
doesn't support the wallclock time stuff, so I had a look at  PAL/SAL/EFI to 
get the entrypoints to the SAL and PAL functions (for processor and board 
clock ticks, ratios and efi time). If there is another way to handle the 
timing stuff, we can remove this.
The ACPI  stuff was only a try to use more than one vcpu and to see how the 
firmware emulation works. This can be removed for a mono-cpu mini-os.
I used parts from FreeBSD because I had some experience with ia64-FreeBSD.
The other side is that mini-os maybe the base for a proof of concept, 
including the big endian stuff (I wrote earlier about this on the list), so 
there is a legal reason (no usage of GPL code).
As you can see, there are no special design decisions, it's mostly driven by 
practical considerations.
Thanks.

Dietmar.

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