From: Stefano Stabellini Subject: Re: [PATCH v7 1/5] xen: introduce a generic framebuffer driver Date: Fri, 15 Feb 2013 14:09:00 +0000 Message-ID: References: <1360863042-19845-1-git-send-email-stefano.stabellini@eu.citrix.com> <1360937223.31407.77.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1342847746-1842853698-1360937340=:8231" Return-path: In-Reply-To: <1360937223.31407.77.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xensource.com" , "Tim (Xen.org)" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org --1342847746-1842853698-1360937340=:8231 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: QUOTED-PRINTABLE On Fri, 15 Feb 2013, Ian Campbell wrote: > On Thu, 2013-02-14 at 17:30 +0000, Stefano Stabellini wrote: > > xen/drivers/video/Makefile | 1 + > > xen/drivers/video/lfb.c | 183 ++++++++++++++++++++++++++++++++++++= ++++++++ > > xen/drivers/video/lfb.h | 46 +++++++++++ > > xen/drivers/video/vesa.c | 177 ++++++------------------------------= ------ >=20 > On x86_64; >=20 > vesa.c: In function =E2=80=98vesa_init=E2=80=99: > vesa.c:126: error: =E2=80=98fbp=E2=80=99 undeclared (first use in this fu= nction) > vesa.c:126: error: (Each undeclared identifier is reported only once > vesa.c:126: error: for each function it appears in.) >=20 > I think this fixes it, if it does then I'm happy to role in as I apply. Acked-by: Stefano Stabellini > diff --git a/xen/drivers/video/vesa.c b/xen/drivers/video/vesa.c > index 1fbe959..575db62 100644 > --- a/xen/drivers/video/vesa.c > +++ b/xen/drivers/video/vesa.c > @@ -123,7 +123,7 @@ void __init vesa_init(void) > { > /* Light grey in truecolor. */ > unsigned int grey =3D 0xaaaaaaaa; > - fbp.pixel_on =3D > + lfbp.pixel_on =3D > ((grey >> (32 - vlfb_info. red_size)) << vlfb_info. red_po= s) | > ((grey >> (32 - vlfb_info.green_size)) << vlfb_info.green_po= s) | > ((grey >> (32 - vlfb_info. blue_size)) << vlfb_info. blue_po= s); > @@ -131,7 +131,7 @@ void __init vesa_init(void) > else > { > /* White(ish) in default pseudocolor palette. */ > - fbp.pixel_on =3D 7; > + lfbp.pixel_on =3D 7; > } > =20 > if ( lfb_init(&lfbp) < 0 ) >=20 >=20 >=20 --1342847746-1842853698-1360937340=:8231 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --1342847746-1842853698-1360937340=:8231--