[SeaBIOS] [PATCH 6/8] SeaVGABios/vgafb: Make memcpy_high public
Patrick Rudolph
siro at das-labor.org
Fri Mar 24 17:27:25 CET 2017
Required for Intel VBT to copy memory.
Signed-off-by: Patrick Rudolph <siro at 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
More information about the SeaBIOS
mailing list