rpms/grub/devel grub-0.97-efigraph-use-blt.patch, NONE, 1.1 grub.spec, 1.85, 1.86
Peter Jones
pjones at fedoraproject.org
Wed Mar 11 15:29:10 UTC 2009
Author: pjones
Update of /cvs/extras/rpms/grub/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13206
Modified Files:
grub.spec
Added Files:
grub-0.97-efigraph-use-blt.patch
Log Message:
* Wed Mar 11 2009 Peter Jones <pjones at redhat.com> - 0.97-43
- Use blt operations instead of memmove() on Efi Graphics Protocol systems.
grub-0.97-efigraph-use-blt.patch:
--- NEW FILE grub-0.97-efigraph-use-blt.patch ---
diff -up grub-0.97/efi/efigraph.c.useblt grub-0.97/efi/efigraph.c
--- grub-0.97/efi/efigraph.c.useblt 2009-03-11 11:02:24.000000000 -0400
+++ grub-0.97/efi/efigraph.c 2009-03-11 11:02:30.000000000 -0400
@@ -305,6 +305,24 @@ static struct bltbuf *alloc_bltbuf(grub_
return buf;
}
+
+#if 1
+static void
+blt_pos_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf,
+ position_t *bltpos, position_t *bltsz, position_t *pos)
+{
+ position_t phys;
+
+ position_to_phys(eg, pos, &phys);
+
+ Call_Service_10(eg->output_intf->blt, eg->output_intf, bltbuf->pixbuf,
+ GRUB_EFI_BLT_BUFFER_TO_VIDEO,
+ bltpos->x, bltpos->y,
+ phys.x, phys.y,
+ bltsz->x, bltsz->y,
+ 0);
+}
+#else
static void
blt_pos_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf,
position_t *bltpos, position_t *bltsz, position_t *pos)
@@ -392,6 +410,7 @@ blt_pos_to_screen_pos(struct eg *eg, str
}
}
}
+#endif
static void
blt_to_screen(struct eg *eg, struct bltbuf *bltbuf)
@@ -417,25 +436,6 @@ blt_to_screen(struct eg *eg, struct bltb
#endif
}
-
-#if 0
-static void
-blt_pos_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf,
- position_t *bltpos, position_t *bltsz, position_t *pos)
-{
- position_t phys;
-
- position_to_phys(eg, pos, &phys);
-
- Call_Service_10(eg->output_intf->blt, eg->output_intf, bltbuf->pixbuf,
- GRUB_EFI_BLT_BUFFER_TO_VIDEO,
- bltpos->x, bltpos->y,
- phys.x, phys.y,
- bltsz->x, bltsz->y,
- 0);
-}
-#endif
-
static void
blt_to_screen_pos(struct eg *eg, struct bltbuf *bltbuf, position_t *pos)
{
Index: grub.spec
===================================================================
RCS file: /cvs/extras/rpms/grub/devel/grub.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- grub.spec 3 Mar 2009 15:14:41 -0000 1.85
+++ grub.spec 11 Mar 2009 15:28:38 -0000 1.86
@@ -1,6 +1,6 @@
Name: grub
Version: 0.97
-Release: 42%{?dist}
+Release: 43%{?dist}
Summary: Grand Unified Boot Loader.
Group: System Environment/Base
License: GPLv2+
@@ -34,6 +34,7 @@
Patch6: grub-0.97-printf_hex.patch
Patch7: grub-0.97-eficd.patch
Patch8: grub-0.97-xfs-buildfix.patch
+Patch9: grub-0.97-efigraph-use-blt.patch
%description
GRUB (Grand Unified Boot Loader) is an experimental boot loader
@@ -52,6 +53,7 @@
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
%build
autoreconf
@@ -114,6 +116,9 @@
%{_datadir}/grub
%changelog
+* Wed Mar 11 2009 Peter Jones <pjones at redhat.com> - 0.97-43
+- Use blt operations instead of memmove() on Efi Graphics Protocol systems.
+
* Tue Mar 03 2009 Peter Jones <pjones at redhat.com> - 0.97-42
- Switch from i386 to i586.
- BuildReq on glibc-static.
More information about the fedora-extras-commits
mailing list