From nobody Tue Dec 16 08:36:45 2025 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) client-ip=80.81.252.135; envelope-from=seabios-bounces@seabios.org; helo=mail.coreboot.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 80.81.252.135 is neither permitted nor denied by domain of seabios.org) smtp.mailfrom=seabios-bounces@seabios.org; Return-Path: Received: from mail.coreboot.org (mail.coreboot.org [80.81.252.135]) by mx.zohomail.com with SMTPS id 1490372876283796.9096736666943; Fri, 24 Mar 2017 09:27:56 -0700 (PDT) Received: from [127.0.0.1] (helo=ra.coresystems.de) by mail.coreboot.org with esmtp (Exim 4.86_2) (envelope-from ) id 1crS45-0001Mi-Tf; Fri, 24 Mar 2017 17:27:49 +0100 Received: from das-labor.org ([188.40.89.130]) by mail.coreboot.org with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86_2) (envelope-from ) id 1crS3t-0001JQ-0B for seabios@seabios.org; Fri, 24 Mar 2017 17:27:47 +0100 From: Patrick Rudolph Authentication-Results: das-labor.org; dkim=permerror (bad message/signature format) To: seabios@seabios.org Date: Fri, 24 Mar 2017 17:27:25 +0100 Message-ID: <20170324162727.26990-7-siro@das-labor.org> In-Reply-To: <20170324162727.26990-1-siro@das-labor.org> References: <20170324162727.26990-1-siro@das-labor.org> X-Spam-Score: -2.7 (--) Subject: [SeaBIOS] [PATCH 6/8] SeaVGABios/vgafb: Make memcpy_high public X-BeenThere: seabios@seabios.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SeaBIOS mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: seabios-bounces@seabios.org Sender: "SeaBIOS" X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Required for Intel VBT to copy memory. Signed-off-by: Patrick Rudolph 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) ****************************************************************/ =20 // 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 --=20 2.9.3 _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://www.coreboot.org/mailman/listinfo/seabios