Skip to contentSkip to conversation

app_main in the mini-os problem

DISCUSSION kim.jin 2 participants 2 messages Jan 5, 2011

lore
Share & tools
lore

kim.jin

author
#0 lore raw

Hi,
Is there bug in mini-OS? I make
while (1) printf("hello world.");
in int app_main(start_info_t *si) of main.c, but there is nothing printed!

Is it one bug in mini-OS?

Best Regards!

Kim King

2011-01-05

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 4 lines · kim.jin, le Wed 05 Jan 2011 18:24:59 +0800, a écrit :

Is there bug in mini-OS? I make
while (1) printf("hello world.");
in int app_main(start_info_t *si) of main.c, but there is nothing printed!

How do you build it? main.c is only compiled-in in the stubdom case, in other kinds of builds app_main is provided by kernel.c or daytime.c.

Samuel