From: Samuel Thibault Subject: Re: POC: ncurses in stubdom (now with hg patch set) Date: Sat, 16 May 2009 23:59:40 +0200 Message-ID: <20090516215940.GB5445@const.famille.thibault.fr> References: <873abt51e5.fsf@tac.ki.iif.hu> <20090427200544.GN5965@const.famille.thibault.fr> <87skjt3koh.fsf@tac.ki.iif.hu> <20090427211132.GR5965@const.famille.thibault.fr> <87eivc7jbg.fsf@tac.ki.iif.hu> <87ab607i5o.fsf_-_@tac.ki.iif.hu> <20090428183702.GF5777@const.famille.thibault.fr> <877i0kstxs.fsf_-_@tac.ki.iif.hu> <20090513220820.GB5673@const.famille.thibault.fr> <87prebncfv.fsf@tac.ki.iif.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <87prebncfv.fsf@tac.ki.iif.hu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ferenc Wagner Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ferenc Wagner, le Thu 14 May 2009 13:36:36 +0200, a =E9crit : > Samuel Thibault writes: > > 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. >=20 > 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. I didn't mean the whole file, just the code that you need,=20 case _PC_VDISABLE: #ifdef>-_POSIX_VDISABLE return _POSIX_VDISABLE; #else return -1; #endif and the fd<0 check case and default: > >> Anyway, if it's linux specific, it should be stubdom specific as wel= l, > >> as I understand it. > > > > Actually the linux implementation is not. >=20 > Fine, then. I mean, the few lines above. > >> 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. >=20 > 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. >=20 > 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). It's all in docs/, interface.tex notably, and xen/include/public/ > Also, the roadmap suggests that some changes are expected. Which roadmap, where? Samuel