What about using standard PE resources? Is it doable even in the EFI applications?
Hermès
-----Message d'origine-----
De : Ros-dev [mailto:ros-dev-bounces@reactos.org] De la part de Thomas Faber
Envoyé : lundi 15 mai 2017 12:04
À : Alex Ionescu
Cc : ros-dev(a)reactos.org
Objet : Re: [ros-dev] [ros-diffs] [ion] 74546: BL Library now works 100% in paging,
protected mode. A picture is worth a thousand commits:
[BOOTLIB]: Add support for protocol open/close/lookup while p...
We have a bin2c tool that would make including the boot logo much nicer. You'll want
to use something like the attached patch, and add the bmp file as app/rosload/logo.bmp.
Then just include "logo.h"
instead of the g_Logo array in rosload.c.
On 2017-05-15 03:38, ion(a)svn.reactos.org wrote:
Author: ion
Date: Mon May 15 01:38:49 2017
New Revision: 74546
URL:
http://svn.reactos.org/svn/reactos?rev=74546&view=rev
Log:
BL Library now works 100% in paging, protected mode. A picture is
worth a thousand commits:
http://i.imgur.com/Zx2nQ6x.jpg
[BOOTLIB]: Add support for protocol open/close/lookup while paging and protected mode is
enabled.
[BOOTLIB]: Implement support for dozens of UEFI functions while under protected mode.
[BOOTLIB]: Fix bugs in existing UEFI functions which were switching to _protected_ mode
instead of _real mode_ before making the UEFI call.
[BOOTLIB]: Free dynamic descriptor in MmMdFreeDescriptor.
[BOOTLIB]: Implement BlHtDelete.
[BOOTLIB]: Implement re-initialize-all path in DsppInitialize.
[BOOTLIB]: Fix small bug in BlDisplayInvalidateOemBitmap
[BOOTLIB]: Fix bigger bug in BlDisplayGetOemBitmap :)
Modified:
trunk/reactos/boot/environ/app/rosload/rosload.c
trunk/reactos/boot/environ/include/bl.h
trunk/reactos/boot/environ/lib/firmware/efi/firmware.c
trunk/reactos/boot/environ/lib/io/device.c
trunk/reactos/boot/environ/lib/io/display/display.c
trunk/reactos/boot/environ/lib/io/display/efi/gop.c
trunk/reactos/boot/environ/lib/misc/util.c
trunk/reactos/boot/environ/lib/mm/descriptor.c
trunk/reactos/boot/environ/lib/platform/time.c
[This mail would be too long, it was shortened to contain the URLs
only.]
Modified: trunk/reactos/boot/environ/app/rosload/rosload.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/app/rosl
oad/rosload.c?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/include/bl.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/include/
bl.h?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/lib/firmware/efi/firmware.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/firm
ware/efi/firmware.c?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/lib/io/device.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/d
evice.c?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/lib/io/display/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/d
isplay/display.c?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/lib/io/display/efi/gop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/io/d
isplay/efi/gop.c?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/lib/misc/util.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/misc
/util.c?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/lib/mm/descriptor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/mm/d
escriptor.c?rev=74546&r1=74545&r2=74546&view=diff
Modified: trunk/reactos/boot/environ/lib/platform/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/lib/plat
form/time.c?rev=74546&r1=74545&r2=74546&view=diff