Required for Intel VBT to copy memory.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
diff --git a/vgasrc/vgafb.c b/vgasrc/vgafb.c
index 46adfb5..ef0c4c2 100644
--- a/vgasrc/vgafb.c
+++ b/vgasrc/vgafb.c
@@ -187,7 +187,7 @@ gfx_packed(struct gfx_op *op)
****************************************************************/
// Use int 1587 call to copy memory to/from the framebuffer.
-static void
+void
memcpy_high(void *dest, void *src, u32 len)
{
u64 gdt[6];
diff --git a/vgasrc/vgafb.h b/vgasrc/vgafb.h
index ccdc703..dde52e0 100644
--- a/vgasrc/vgafb.h
+++ b/vgasrc/vgafb.h
@@ -38,5 +38,5 @@ void vgafb_write_char(struct cursorpos cp, struct carattr ca);
struct carattr vgafb_read_char(struct cursorpos cp);
void vgafb_write_pixel(u8 color, u16 x, u16 y);
u8 vgafb_read_pixel(u16 x, u16 y);
-
+void memcpy_high(void *dest, void *src, u32 len);
#endif // vgafb.h
--
2.9.3
_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://www.coreboot.org/mailman/listinfo/seabios