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

[Xen-devel] Re: POC: ncurses in stubdom (now with hg patch set)



Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:

> Ferenc Wagner, le Wed 13 May 2009 21:07:27 +0200, a Ãcrit :
>> Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:
>>> Ferenc Wagner, le Tue 28 Apr 2009 20:22:11 +0200, a Ãcrit :
>>>>  * fpathconf() is stubbed in main.c, because I don't understand the
>>>>  issue yet.
>>>
>>> Just use the implementation from the linux/ part of newlib, it should be
>>> fine.
>> 
>> After respinning this stuff against unstable, I couldn't find and easy
>> way to compile fpathconf() from the linux part of newlib
>
> Err, I was probably not clear: I meant to just copy the code, not try to
> do Makefile contorsions to manage to compile linux files.

I didn't try that.  I copied fpathconf.c into stubdom/c and tried to
compile it alongside main.c.  It wanted to #include everything in the
world and more, so I called it a day.

>> Anyway, if it's linux specific, it should be stubdom specific as well,
>> as I understand it.
>
> Actually the linux implementation is not.

Fine, then.

>> columns is #defined
>> in ncurses-x86_32/include/term.h, which breaks line 590 in
>> stubdom/include/xen/xen.h,
>
> Damn.  ncurses sucks :)
> The inversion of headers should be not so ugly, though.

I feel it isn't as it is, don't you think?  Two simple changes in two
files, to get the static library compiled, as the patches show.

Anyway, maybe this stuff loses relevance.  I asked the Grub
developers, and they were more interested in porting Grub natively to
Xen PV than piggybacking Mini-OS.  But I couldn't find the Xen ABI
documentation (or whatever it's called).  blkif-drivers-explained.txt
sounds somewhat aged.  Can you recommend something definitive?  Also,
the roadmap suggests that some changes are expected.  That would mean
4 different new architectures for Grub (32 vs 64 bit and current vs
new ABI)...
-- 
Feri.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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