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

Re: [Xen-devel] [Help] How to build mini-OS with libc support, like Newlib?



Lele MA, le Fri 05 Sep 2014 16:40:11 +0800, a écrit :
> Does the stubdomain allow only one app_main to run?

Well, yes, sure, just like you can't have several main function in a C
program. This is apparently a spurious change, I have submitted a patch
removing it, thanks for the report.

> Another question confuses me a lot. The c-stub domain exit immediately after 
> prints the "Hello world" defined in /stubdom/c/main.c.

Yes, that's just a hello world example.

> And the console functions defined in /extras/mini-os/console/console.c has no 
> effect at all. So, how can I enable the console functions? 

Which function, precisely?

The C stubdom is supposed to provide you with a C environment, so you
should just use printf.

Samuel

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


 


Rackspace

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