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

Re: [Minios-devel] [PATCH 00/40] MINI-OS: enable the arm64 support





On 09/11/17 09:54, Huang Shijie wrote:
On Wed, Nov 08, 2017 at 09:40:38AM +0000, Julien Grall wrote:
Hi Julien,


On 08/11/17 06:01, Huang Shijie wrote:
Also may I suggest the new port follow $arch/$subarch hierarchy? Just
like what we do in Xen.
+1 here.
Do you mean we should place all the arm64 code in arch/arm64, not in
arch/arm/arm64?
No, by $arch/$subarch Wei meant that any arm64 code should be under
arch/arm/arm64. You can substitute $arch with arm and $subarch with arm64.

I make an example the arch/arm folder:

#tree arch/arm/

  -----------------------------------------------------------
├── arm32
│   ├── arm32.S
│   ├── hypercalls32.S
│   └── minios-arm32.lds
├── arm64
│   ├── arm64.S
│   ├── hypercalls64.S
│   └── minios-arm64.lds

If you have a common port, then the lds should be the same for both.

├── balloon.c
├── events.c
├── gic.c
├── mm.c
├── panic.c
├── sched.c
├── setup.c
└── time.c
  -----------------------------------------------------------

  Is the above okay?

The idea is there. I would need to see the full port before confirming whether it might be necessary to have more file in arm32/arm64 specific directory.

Cheers,

--
Julien Grall

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

 


Rackspace

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