[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [PATCH v3 19/43] arm64: add shared_info support



On Wed, Apr 18, 2018 at 09:34:18PM +0100, Julien Grall wrote:
> Hi,
> 
> On 16/04/2018 07:31, Huang Shijie wrote:
> >Add the shared_info page.
> >
> >Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx>
> >---
> >  arch/arm/arm64/arm64.S | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> >diff --git a/arch/arm/arm64/arm64.S b/arch/arm/arm64/arm64.S
> >index 9eb7ea0..fa3406f 100644
> >--- a/arch/arm/arm64/arm64.S
> >+++ b/arch/arm/arm64/arm64.S
> >@@ -25,6 +25,7 @@
> >      .globl boot_l2_pgtable
> >      .globl idmap_l0_pgtable
> >      .globl idmap_l1_pgtable
> >+    .globl shared_info
> >      .align 12
> >  boot_l0_pgtable:
> >@@ -37,6 +38,8 @@ idmap_l0_pgtable:
> >      .fill  PAGE_SIZE,1,0
> >  idmap_l1_pgtable:
> >      .fill  PAGE_SIZE,1,0
> >+shared_info:
> >+    .fill  PAGE_SIZE,1,0
> 
> Why does it have to be defined in assembly? Can't this be done in C? Or even
I think we'd better keep it here.
We used the shared_info at arch_init() which the memory system is not ready yet.

Thanks
Huang Shijie
> better allocated dynamically.

> 
> Cheers,
> 
> -- 
> Julien Grall

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.