All of lore.kernel.org
 help / color / mirror / Atom feed
* Enable virtual memory for Mini-os on ARM
@ 2013-12-23 10:23 karim.allah.ahmed
  2013-12-23 10:38 ` Samuel Thibault
  2013-12-23 16:01 ` Dario Faggioli
  0 siblings, 2 replies; 12+ messages in thread
From: karim.allah.ahmed @ 2013-12-23 10:23 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1221 bytes --]

Hi,

I'm currently working on porting mini-os to ARM.

The work I've done so far was related:
* Changes to build system to build mini-os as zImage
* adding a linker script for arm target
* Splitting some source files between common and arch specific bits
* adding some hypercalls for arm ( mainly used at the moment for console_io
and getting shared_info page ).
* some assembly code for early startup ( stack setup, mmu stuff etc )
before jumping to c code.
* , etc

Now, it compiles and boots ( as zImage ). Obviously at the moment most of
the ARM specific bits are only stubs and I've a while(1){} in the
initialization code because it's not complete yet. So, it's still useless
for now :)

My question is the following:
Why do I need to create pagetables and fill them for mini-os ? as far as I
can see, mini-os is always statically built with another app ( or the dummy
app_main ) .. Is there an actual reason for needing virtual memory in that
setup ? Can't we just run on physical memory ?

At the moment I've some crude assembly code that was creating initial
pagetables, but I honestly don't know why I even need that!


-- 
Karim Allah Ahmed.
LinkedIn <http://eg.linkedin.com/pub/karim-allah-ahmed/13/829/550/>

[-- Attachment #1.2: Type: text/html, Size: 1620 bytes --]

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

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

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

end of thread, other threads:[~2014-01-06 10:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-23 10:23 Enable virtual memory for Mini-os on ARM karim.allah.ahmed
2013-12-23 10:38 ` Samuel Thibault
2013-12-23 12:07   ` Andrew Cooper
2013-12-23 12:21     ` Samuel Thibault
2013-12-23 12:52   ` karim.allah.ahmed
2013-12-23 13:21     ` Samuel Thibault
2013-12-23 14:59       ` karim.allah.ahmed
2014-01-06 10:52     ` Ian Campbell
2013-12-23 16:01 ` Dario Faggioli
2013-12-23 16:21   ` Chen Baozi
2013-12-24  1:44   ` karim.allah.ahmed
     [not found]   ` <CAOTdubvCQyZ4PbOp2bZw0RM16x0Lb=jezUu=usO6_4FWQ6KOpw@mail.gmail.com>
2013-12-24 13:21     ` Dario Faggioli

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.