|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] about mini-os
Hi all ,
I find that it needs some hacks to run mini-os under xen-3.2 ,
followings are what I have done:
1, mini-os/arch/x86/x86_32.S , change the __xen_guest config :
from
.ascii ",VIRT_BASE=0x0" /* &_text from minios_x86_32.lds */
.ascii ",ELF_PADDR_OFFSET=0x0"
to
.ascii ",VIRT_BASE=0x0C0000000" /* &_text from minios_x86_32.lds */
.ascii ",ELF_PADDR_OFFSET=0x0C0000000"
because if I don't change VIRT_BASE xen will report "Initial loading
isn't allowed to lowest 1GB of memory"
2, mini-os/arch/x86/minios-x86_32.lds
from
. = 0x0;
to
. = 0x0C0000000;
so far , I can run mini-os to the banner and got a page fault:
Bootstraping ...
Xen Minimal OS!
Page fault at linear address 15555c08, eip c000cf61, code 0
(XEN) Domain 0 crashed
any idea ? Thank you very much
yushang
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] about mini-os,
余上 <=
|
|
|
|
|