Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UNqdR-00061J-AS for mharc-grub-devel@gnu.org; Thu, 04 Apr 2013 16:19:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNqdF-0005rj-3n for grub-devel@gnu.org; Thu, 04 Apr 2013 16:19:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNqd8-0005N1-Qj for grub-devel@gnu.org; Thu, 04 Apr 2013 16:19:37 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:39648) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNqd8-0005Me-IN for grub-devel@gnu.org; Thu, 04 Apr 2013 16:19:30 -0400 Received: by mail-pd0-f178.google.com with SMTP id w11so1599672pde.23 for ; Thu, 04 Apr 2013 13:19:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:subject:message-id:date:to :mime-version:x-mailer; bh=IMWWGxpeFwVIhw09suLiQaP2nuLT0EM8C1QqiV+oQtE=; b=EnmLL0FuK5CB9pXTBiyQXnyqJs7J+1xT6I12Fa4NBqaGcl6imFHXE9nQque4IpnuC0 cld7hkgbQYt4lYjRXbbfEgv9xQn/yAUV6uYG/z0ClCNRI8W7zn3UZJQycIHf86jULfAv tuqd6f8aaM0dk+rip4W7wEowYQ/SwI6uwRVf4MXC7dUstO2+O4qX+vtLkOU6E+pEwClm eGL/yJGBmXB0sWopycC3iEJnr8UXiA7Pa8TA3UX1CCsRzw0L28AKW6ohBxDZ8cgbWXJa QJDNJL+F7198B4Zd6ab4o5fAnZyqsNGaTxjdAwupjP57ycWvPFusN4dqyh1bsSS3/sFW 5TeA== X-Received: by 10.68.240.10 with SMTP id vw10mr10414022pbc.210.1365106769349; Thu, 04 Apr 2013 13:19:29 -0700 (PDT) Received: from funtasia.pk5001z (174-21-151-40.tukw.qwest.net. [174.21.151.40]) by mx.google.com with ESMTPS id oq3sm12712710pac.16.2013.04.04.13.19.25 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Apr 2013 13:19:27 -0700 (PDT) From: Bryan Hundven Content-Type: multipart/mixed; boundary="Apple-Mail=_12E16C28-415E-4962-93FC-BAAFFE8B72E8" Subject: [PATCH] docs/grub-dev.texi: Fix out of place @itemize and fix makeinfo warnings Message-Id: <95B3256D-334D-45E6-AE41-5A1BD5FDBB02@gmail.com> Date: Thu, 4 Apr 2013 13:19:24 -0700 To: grub-devel@gnu.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.192.178 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 20:19:48 -0000 --Apple-Mail=_12E16C28-415E-4962-93FC-BAAFFE8B72E8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii In @node Bitmap_API, @itemize is not in the @subsection, and causes = makeinfo to return 1. Fix this and move sections in the texi to match the menu order to get = rid of the warnings. I'm new to bzr and contributing to grub. This unified patch applies = against trunk/grub. I've looked around and found a contribution workflow from 2010 in the ML = archives, and followed those directions. If there is a better way, = please advise. Thanks, -Bryan --Apple-Mail=_12E16C28-415E-4962-93FC-BAAFFE8B72E8 Content-Disposition: attachment; filename=cleanup_warnings_grub-dev_texi.patch Content-Type: application/octet-stream; name="cleanup_warnings_grub-dev_texi.patch" Content-Transfer-Encoding: quoted-printable =3D=3D=3D=20modified=20file=20'ChangeLog'=0A---=20ChangeLog=092013-04-04=20= 08:35:50=20+0000=0A+++=20ChangeLog=092013-04-04=2019:39:04=20+0000=0A@@=20= -1,3=20+1,7=20@@=0A+2013-04-04=20=20Bryan=20Hundven=20= =0A+=0A+=09*=20docs/grub-dev.texi:=20fix=20= placement=20of=20itemize=20and=20clean=20up=20warnings.=0A+=0A=20= 2013-04-04=20=20Vladimir=20Serbinenko=20=20=0A=20= 2013-04-04=20=20Peter=20Jones=20=0A=20=0A=0A=3D=3D=3D=20= modified=20file=20'docs/grub-dev.texi'=0A---=20docs/grub-dev.texi=09= 2012-05-22=2007:15:28=20+0000=0A+++=20docs/grub-dev.texi=092013-04-04=20= 19:34:34=20+0000=0A@@=20-112,6=20+112,90=20@@=0A=20can=20use=20@kbd{bzr=20= pull}=20to=20keep=20it=20up=20to=20date.=20=20If=20you=20have=20modified=20= your=0A=20local=20version,=20you=20may=20need=20to=20resolve=20conflicts=20= when=20pulling.=0A=20=0A+@node=20Finding=20your=20way=20around=0A= +@chapter=20Finding=20your=20way=20around=0A+=0A+Here=20is=20a=20brief=20= map=20of=20the=20GRUB=20code=20base.=0A+=0A+GRUB=20uses=20Autoconf=20and=20= Automake,=20with=20most=20of=20the=20Automake=20input=20generated=0A+by=20= AutoGen.=20=20The=20top-level=20build=20rules=20are=20in=20= @file{configure.ac},=0A+@file{grub-core/Makefile.core.def},=20and=20= @file{Makefile.util.def}.=20=20Each=0A+block=20in=20a=20@file{*.def}=20= file=20represents=20a=20build=20target,=20and=20specifies=20the=0A= +source=20files=20used=20to=20build=20it=20on=20various=20platforms.=20=20= The=20@file{*.def}=20files=0A+are=20processed=20into=20AutoGen=20input=20= by=20@file{gentpl.py}=20(which=20you=20only=20need=20to=0A+look=20at=20= if=20you=20are=20extending=20the=20build=20system).=20=20If=20you=20are=20= adding=20a=20new=0A+module=20which=20follows=20an=20existing=20pattern,=20= such=20as=20a=20new=20command=20or=20a=20new=0A+filesystem=20= implementation,=20it=20is=20usually=20easiest=20to=20grep=0A= +@file{grub-core/Makefile.core.def}=20and=20@file{Makefile.util.def}=20= for=20an=0A+existing=20example=20of=20that=20pattern=20to=20find=20out=20= where=20it=20should=20be=20added.=0A+=0A+In=20general,=20code=20that=20= may=20be=20run=20at=20boot=20time=20is=20in=20a=20subdirectory=20of=0A= +@file{grub-core},=20while=20code=20that=20is=20only=20run=20from=20= within=20a=20full=20operating=0A+system=20is=20in=20a=20subdirectory=20= of=20the=20top=20level.=0A+=0A+Low-level=20boot=20code,=20such=20as=20= the=20MBR=20implementation=20on=20PC=20BIOS=20systems,=20is=0A+in=20the=20= @file{grub-core/boot/}=20directory.=0A+=0A+The=20GRUB=20kernel=20is=20in=20= @file{grub-core/kern/}.=20=20This=20contains=20core=20facilities=0A+such=20= as=20the=20device,=20disk,=20and=20file=20frameworks,=20environment=20= variable=0A+handling,=20list=20processing,=20and=20so=20on.=20=20The=20= kernel=20should=20contain=20enough=20to=0A+get=20up=20to=20a=20rescue=20= prompt.=20=20Header=20files=20for=20kernel=20facilities,=20among=0A= +others,=20are=20in=20@file{include/}.=0A+=0A+Terminal=20implementations=20= are=20in=20@file{grub-core/term/}.=0A+=0A+Disk=20access=20code=20is=20= spread=20across=20@file{grub-core/disk/}=20(for=20accessing=20the=0A= +disk=20devices=20themselves),=20@file{grub-core/partmap/}=20(for=20= interpreting=0A+partition=20table=20data),=20and=20@file{grub-core/fs/}=20= (for=20accessing=20filesystems).=0A+Note=20that,=20with=20the=20odd=20= specialised=20exception,=20GRUB=20only=20contains=20code=20to=0A= +@emph{read}=20from=20filesystems=20and=20tries=20to=20avoid=20= containing=20any=20code=20to=0A+@emph{write}=20to=20filesystems;=20this=20= lets=20us=20confidently=20assure=20users=20that=20GRUB=0A+cannot=20be=20= responsible=20for=20filesystem=20corruption.=0A+=0A+PCI=20and=20USB=20= bus=20handling=20is=20in=20@file{grub-core/bus/}.=0A+=0A+Video=20= handling=20code=20is=20in=20@file{grub-core/video/}.=20=20The=20= graphical=20menu=0A+system=20uses=20this=20heavily,=20but=20is=20in=20a=20= separate=20directory,=0A+@file{grub-core/gfxmenu/}.=0A+=0A+Most=20= commands=20are=20implemented=20by=20files=20in=20= @file{grub-core/commands/},=20with=0A+the=20following=20exceptions:=0A+=0A= +@itemize=0A+@item=0A+A=20few=20core=20commands=20live=20in=20= @file{grub-core/kern/corecmd.c}.=0A+=0A+@item=0A+Commands=20related=20to=20= normal=20mode=20live=20under=20@file{grub-core/normal/}.=0A+=0A+@item=0A= +Commands=20that=20load=20and=20boot=20kernels=20live=20under=20= @file{grub-core/loader/}.=0A+=0A+@item=0A+The=20@samp{loopback}=20= command=20is=20really=20a=20disk=20device,=20and=20so=20lives=20in=0A= +@file{grub-core/disk/loopback.c}.=0A+=0A+@item=0A+The=20@samp{gettext}=20= command=20lives=20under=20@file{grub-core/gettext/}.=0A+=0A+@item=0A+The=20= @samp{loadfont}=20and=20@samp{lsfonts}=20commands=20live=20under=0A= +@file{grub-core/font/}.=0A+=0A+@item=0A+The=20@samp{serial},=20= @samp{terminfo},=20and=20@samp{background_image}=20commands=0A+live=20= under=20@file{grub-core/term/}.=0A+=0A+@item=0A+The=20@samp{efiemu_*}=20= commands=20live=20under=20@file{grub-core/efiemu/}.=0A+@end=20itemize=0A= +=0A+There=20are=20a=20few=20other=20special-purpose=20exceptions;=20= grep=20for=20them=20if=20they=0A+matter=20to=20you.=0A+=0A+Utility=20= programs=20meant=20to=20be=20run=20from=20a=20full=20operating=20system=20= are=20in=0A+@file{util/}.=0A+=0A=20@node=20Coding=20style=0A=20@chapter=20= Coding=20style=0A=20@c=20By=20YoshinoriOkuji,=20VesaJ=C3=A4=C3=A4skel=C3=A4= inen=20and=20ColinBennett=0A@@=20-210,90=20+294,6=20@@=0A=20=0A=20The=20= opening=20@samp{/*}=20and=20closing=20@samp{*/}=20should=20be=20placed=20= together=20on=20a=20line=20with=20text.=0A=20=0A-@node=20Finding=20your=20= way=20around=0A-@chapter=20Finding=20your=20way=20around=0A-=0A-Here=20= is=20a=20brief=20map=20of=20the=20GRUB=20code=20base.=0A-=0A-GRUB=20uses=20= Autoconf=20and=20Automake,=20with=20most=20of=20the=20Automake=20input=20= generated=0A-by=20AutoGen.=20=20The=20top-level=20build=20rules=20are=20= in=20@file{configure.ac},=0A-@file{grub-core/Makefile.core.def},=20and=20= @file{Makefile.util.def}.=20=20Each=0A-block=20in=20a=20@file{*.def}=20= file=20represents=20a=20build=20target,=20and=20specifies=20the=0A= -source=20files=20used=20to=20build=20it=20on=20various=20platforms.=20=20= The=20@file{*.def}=20files=0A-are=20processed=20into=20AutoGen=20input=20= by=20@file{gentpl.py}=20(which=20you=20only=20need=20to=0A-look=20at=20= if=20you=20are=20extending=20the=20build=20system).=20=20If=20you=20are=20= adding=20a=20new=0A-module=20which=20follows=20an=20existing=20pattern,=20= such=20as=20a=20new=20command=20or=20a=20new=0A-filesystem=20= implementation,=20it=20is=20usually=20easiest=20to=20grep=0A= -@file{grub-core/Makefile.core.def}=20and=20@file{Makefile.util.def}=20= for=20an=0A-existing=20example=20of=20that=20pattern=20to=20find=20out=20= where=20it=20should=20be=20added.=0A-=0A-In=20general,=20code=20that=20= may=20be=20run=20at=20boot=20time=20is=20in=20a=20subdirectory=20of=0A= -@file{grub-core},=20while=20code=20that=20is=20only=20run=20from=20= within=20a=20full=20operating=0A-system=20is=20in=20a=20subdirectory=20= of=20the=20top=20level.=0A-=0A-Low-level=20boot=20code,=20such=20as=20= the=20MBR=20implementation=20on=20PC=20BIOS=20systems,=20is=0A-in=20the=20= @file{grub-core/boot/}=20directory.=0A-=0A-The=20GRUB=20kernel=20is=20in=20= @file{grub-core/kern/}.=20=20This=20contains=20core=20facilities=0A-such=20= as=20the=20device,=20disk,=20and=20file=20frameworks,=20environment=20= variable=0A-handling,=20list=20processing,=20and=20so=20on.=20=20The=20= kernel=20should=20contain=20enough=20to=0A-get=20up=20to=20a=20rescue=20= prompt.=20=20Header=20files=20for=20kernel=20facilities,=20among=0A= -others,=20are=20in=20@file{include/}.=0A-=0A-Terminal=20implementations=20= are=20in=20@file{grub-core/term/}.=0A-=0A-Disk=20access=20code=20is=20= spread=20across=20@file{grub-core/disk/}=20(for=20accessing=20the=0A= -disk=20devices=20themselves),=20@file{grub-core/partmap/}=20(for=20= interpreting=0A-partition=20table=20data),=20and=20@file{grub-core/fs/}=20= (for=20accessing=20filesystems).=0A-Note=20that,=20with=20the=20odd=20= specialised=20exception,=20GRUB=20only=20contains=20code=20to=0A= -@emph{read}=20from=20filesystems=20and=20tries=20to=20avoid=20= containing=20any=20code=20to=0A-@emph{write}=20to=20filesystems;=20this=20= lets=20us=20confidently=20assure=20users=20that=20GRUB=0A-cannot=20be=20= responsible=20for=20filesystem=20corruption.=0A-=0A-PCI=20and=20USB=20= bus=20handling=20is=20in=20@file{grub-core/bus/}.=0A-=0A-Video=20= handling=20code=20is=20in=20@file{grub-core/video/}.=20=20The=20= graphical=20menu=0A-system=20uses=20this=20heavily,=20but=20is=20in=20a=20= separate=20directory,=0A-@file{grub-core/gfxmenu/}.=0A-=0A-Most=20= commands=20are=20implemented=20by=20files=20in=20= @file{grub-core/commands/},=20with=0A-the=20following=20exceptions:=0A-=0A= -@itemize=0A-@item=0A-A=20few=20core=20commands=20live=20in=20= @file{grub-core/kern/corecmd.c}.=0A-=0A-@item=0A-Commands=20related=20to=20= normal=20mode=20live=20under=20@file{grub-core/normal/}.=0A-=0A-@item=0A= -Commands=20that=20load=20and=20boot=20kernels=20live=20under=20= @file{grub-core/loader/}.=0A-=0A-@item=0A-The=20@samp{loopback}=20= command=20is=20really=20a=20disk=20device,=20and=20so=20lives=20in=0A= -@file{grub-core/disk/loopback.c}.=0A-=0A-@item=0A-The=20@samp{gettext}=20= command=20lives=20under=20@file{grub-core/gettext/}.=0A-=0A-@item=0A-The=20= @samp{loadfont}=20and=20@samp{lsfonts}=20commands=20live=20under=0A= -@file{grub-core/font/}.=0A-=0A-@item=0A-The=20@samp{serial},=20= @samp{terminfo},=20and=20@samp{background_image}=20commands=0A-live=20= under=20@file{grub-core/term/}.=0A-=0A-@item=0A-The=20@samp{efiemu_*}=20= commands=20live=20under=20@file{grub-core/efiemu/}.=0A-@end=20itemize=0A= -=0A-There=20are=20a=20few=20other=20special-purpose=20exceptions;=20= grep=20for=20them=20if=20they=0A-matter=20to=20you.=0A-=0A-Utility=20= programs=20meant=20to=20be=20run=20from=20a=20full=20operating=20system=20= are=20in=0A-@file{util/}.=0A-=0A=20@node=20Contributing=20Changes=0A=20= @chapter=20Contributing=20changes=0A=20@c=20By=20YoshinoriOkuji,=20= VesaJ=C3=A4=C3=A4skel=C3=A4inen,=20ColinWatson=0A@@=20-1353,6=20+1353,92=20= @@=0A=20Returns=20currently=20active=20render=20target.=20It=20returns=20= value=20in=20@code{target}=20that=20can=20be=20subsequently=20issued=20= back=20to=20@code{grub_video_set_active_render_target}.=0A=20@end=20= itemize=0A=20=0A+@node=20Bitmap=20API=0A+@section=20Bitmap=20API=0A= +@subsection=20grub_video_bitmap_create=0A+@itemize=0A+@item=20= Prototype:=0A+@example=0A+grub_err_t=20grub_video_bitmap_create=20= (struct=20grub_video_bitmap=20**bitmap,=20unsigned=20int=20width,=20= unsigned=20int=20height,=20enum=20grub_video_blit_format=20blit_format)=0A= +@end=20example=0A+=0A+@item=20Description:=0A+=0A+Creates=20a=20new=20= bitmap=20with=20given=20dimensions=20and=20blitting=20format.=20= Allocated=20bitmap=20data=20can=20then=20be=20modified=20freely=20and=20= finally=20blitted=20with=20@code{grub_video_blit_bitmap}=20to=20= rendering=20target.=0A+@end=20itemize=0A+=0A+@subsection=20= grub_video_bitmap_destroy=0A+@itemize=0A+@item=20Prototype:=0A+@example=0A= +grub_err_t=20grub_video_bitmap_destroy=20(struct=20grub_video_bitmap=20= *bitmap);=0A+@end=20example=0A+=0A+@item=20Description:=0A+=0A+When=20= bitmap=20is=20no=20longer=20needed,=20it=20can=20be=20freed=20from=20= memory=20using=20this=20command.=20@code{bitmap}=20is=20previously=20= allocated=20bitmap=20with=20@code{grub_video_bitmap_create}=20or=20= loaded=20with=20@code{grub_video_bitmap_load}.=0A+@end=20itemize=0A+=0A= +@subsection=20grub_video_bitmap_load=0A+@itemize=0A+@item=20Prototype:=0A= +@example=0A+grub_err_t=20grub_video_bitmap_load=20(struct=20= grub_video_bitmap=20**bitmap,=20const=20char=20*filename);=0A+@end=20= example=0A+=0A+@item=20Description:=0A+=0A+Tries=20to=20load=20given=20= bitmap=20(@code{filename})=20using=20registered=20bitmap=20loaders.=20In=20= case=20bitmap=20format=20is=20not=20recognized=20or=20supported=20error=20= @code{GRUB_ERR_BAD_FILE_TYPE}=20is=20returned.=0A+@end=20itemize=0A+=0A= +@subsection=20grub_video_bitmap_get_width=0A+@itemize=0A+@item=20= Prototype:=0A+@example=0A+unsigned=20int=20grub_video_bitmap_get_width=20= (struct=20grub_video_bitmap=20*bitmap);=0A+@end=20example=0A+=0A+@item=20= Description:=0A+=0A+Returns=20bitmap=20width.=0A+@end=20itemize=0A+=0A= +@subsection=20grub_video_bitmap_get_height=0A+@itemize=0A+@item=20= Prototype:=0A+@example=0A+unsigned=20int=20grub_video_bitmap_get_height=20= (struct=20grub_video_bitmap=20*bitmap);=0A+@end=20example=0A+=0A+@item=20= Description:=0A+=0A+Return=20bitmap=20height.=0A+@end=20itemize=0A+=0A= +@subsection=20grub_video_bitmap_get_mode_info=0A+@itemize=0A+@item=20= Prototype:=0A+@example=0A+void=20grub_video_bitmap_get_mode_info=20= (struct=20grub_video_bitmap=20*bitmap,=20struct=20grub_video_mode_info=20= *mode_info);=0A+@end=20example=0A+=0A+@item=20Description:=0A+=0A= +Returns=20bitmap=20format=20details=20in=20form=20of=20= @code{grub_video_mode_info}.=0A+@end=20itemize=0A+=0A+@subsection=20= grub_video_bitmap_get_data=0A+@itemize=0A+@item=20Prototype:=0A+@example=0A= +void=20*grub_video_bitmap_get_data=20(struct=20grub_video_bitmap=20= *bitmap);=0A+@end=20example=0A+=0A+@item=20Description:=0A+=0A+Return=20= pointer=20to=20bitmap=20data.=20Contents=20of=20the=20pointed=20data=20= can=20be=20freely=20modified.=20There=20is=20no=20extra=20protection=20= against=20going=20off=20the=20bounds=20so=20you=20have=20to=20be=20= carefull=20how=20to=20access=20the=20data.=0A+@end=20itemize=0A+=0A=20= @node=20Example=20usage=20of=20Video=20API=0A=20@section=20Example=20= usage=20of=20Video=20API=0A=20@subsection=20Example=20of=20screen=20= setup=0A@@=20-1392,92=20+1478,6=20@@=0A=20grub_video_blit_glyph=20= (&glyph,=20color,=200,=200);=0A=20@end=20example=0A=20=0A-@node=20Bitmap=20= API=0A-@section=20Bitmap=20API=0A-@itemize=0A-@subsection=20= grub_video_bitmap_create=0A-@item=20Prototype:=0A-@example=0A-grub_err_t=20= grub_video_bitmap_create=20(struct=20grub_video_bitmap=20**bitmap,=20= unsigned=20int=20width,=20unsigned=20int=20height,=20enum=20= grub_video_blit_format=20blit_format)=0A-@end=20example=0A-=0A-@item=20= Description:=0A-=0A-Creates=20a=20new=20bitmap=20with=20given=20= dimensions=20and=20blitting=20format.=20Allocated=20bitmap=20data=20can=20= then=20be=20modified=20freely=20and=20finally=20blitted=20with=20= @code{grub_video_blit_bitmap}=20to=20rendering=20target.=0A-@end=20= itemize=0A-=0A-@subsection=20grub_video_bitmap_destroy=0A-@itemize=0A= -@item=20Prototype:=0A-@example=0A-grub_err_t=20= grub_video_bitmap_destroy=20(struct=20grub_video_bitmap=20*bitmap);=0A= -@end=20example=0A-=0A-@item=20Description:=0A-=0A-When=20bitmap=20is=20= no=20longer=20needed,=20it=20can=20be=20freed=20from=20memory=20using=20= this=20command.=20@code{bitmap}=20is=20previously=20allocated=20bitmap=20= with=20@code{grub_video_bitmap_create}=20or=20loaded=20with=20= @code{grub_video_bitmap_load}.=0A-@end=20itemize=0A-=0A-@subsection=20= grub_video_bitmap_load=0A-@itemize=0A-@item=20Prototype:=0A-@example=0A= -grub_err_t=20grub_video_bitmap_load=20(struct=20grub_video_bitmap=20= **bitmap,=20const=20char=20*filename);=0A-@end=20example=0A-=0A-@item=20= Description:=0A-=0A-Tries=20to=20load=20given=20bitmap=20= (@code{filename})=20using=20registered=20bitmap=20loaders.=20In=20case=20= bitmap=20format=20is=20not=20recognized=20or=20supported=20error=20= @code{GRUB_ERR_BAD_FILE_TYPE}=20is=20returned.=0A-@end=20itemize=0A-=0A= -@subsection=20grub_video_bitmap_get_width=0A-@itemize=0A-@item=20= Prototype:=0A-@example=0A-unsigned=20int=20grub_video_bitmap_get_width=20= (struct=20grub_video_bitmap=20*bitmap);=0A-@end=20example=0A-=0A-@item=20= Description:=0A-=0A-Returns=20bitmap=20width.=0A-@end=20itemize=0A-=0A= -@subsection=20grub_video_bitmap_get_height=0A-@itemize=0A-@item=20= Prototype:=0A-@example=0A-unsigned=20int=20grub_video_bitmap_get_height=20= (struct=20grub_video_bitmap=20*bitmap);=0A-@end=20example=0A-=0A-@item=20= Description:=0A-=0A-Return=20bitmap=20height.=0A-@end=20itemize=0A-=0A= -@subsection=20grub_video_bitmap_get_mode_info=0A-@itemize=0A-@item=20= Prototype:=0A-@example=0A-void=20grub_video_bitmap_get_mode_info=20= (struct=20grub_video_bitmap=20*bitmap,=20struct=20grub_video_mode_info=20= *mode_info);=0A-@end=20example=0A-=0A-@item=20Description:=0A-=0A= -Returns=20bitmap=20format=20details=20in=20form=20of=20= @code{grub_video_mode_info}.=0A-@end=20itemize=0A-=0A-@subsection=20= grub_video_bitmap_get_data=0A-@itemize=0A-@item=20Prototype:=0A-@example=0A= -void=20*grub_video_bitmap_get_data=20(struct=20grub_video_bitmap=20= *bitmap);=0A-@end=20example=0A-=0A-@item=20Description:=0A-=0A-Return=20= pointer=20to=20bitmap=20data.=20Contents=20of=20the=20pointed=20data=20= can=20be=20freely=20modified.=20There=20is=20no=20extra=20protection=20= against=20going=20off=20the=20bounds=20so=20you=20have=20to=20be=20= carefull=20how=20to=20access=20the=20data.=0A-@end=20itemize=0A-=0A=20= @node=20PFF2=20Font=20File=20Format=0A=20@chapter=20PFF2=20Font=20File=20= Format=0A=20=0A=0A= --Apple-Mail=_12E16C28-415E-4962-93FC-BAAFFE8B72E8--