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

[Xen-ia64-devel] Re: GFW and startup

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Re: GFW and startup
From: tgingold@xxxxxxx
Date: Fri, 26 Sep 2008 09:53:26 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 26 Sep 2008 00:53:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080926024738.GC12164%yamahata@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080926024738.GC12164%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) 3.2.8
Quoting Isaku Yamahata <yamahata@xxxxxxxxxxxxx>:

> Hi.
>
> I have a question about GFW startup procedure.
>
> Although I don't fully understand tianocore liking mechanism,
> efi-vfirmware.hg/edk2-sparse/EdkXenPkg/SecMain/Ipf/startup.s
> is compiled into startup.bin and is symbolic linked as ResetVect.cat.
> Finally it is placed in ROM area and _start is executed in place.
>
> Is the above correct?

Yes, this is correct.

> If so, Is using [_stack_start, _stack_end) as stack correct?

Why not!  The ROM area is in RAM.
We of course need a stack to execute C code.  On iron-board, we could use
CAR (Cache As Ram).  But this is not possible with Xen.
However, the ROM area is not write-only.  So we could use it.

Tristan.



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

<Prev in Thread] Current Thread [Next in Thread>