From nobody Sat Feb 17 21:32:48 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Tchq450HTz59kpB; Sat, 17 Feb 2024 21:32:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tchq41hz9z4hBb; Sat, 17 Feb 2024 21:32:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708205568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zVpqUQ9E2093A56gKuNk4zHqe7uFHD92uZyvGU5JRiw=; b=wx9tsu7HUUNdU+qQW06/UKSb4dNNRr6qtla741BUyO8xpovlzpRkAxamNbYSs0bo7R1eUG iLZ5rDuCpvqZJ7N/JaI2JfcHfOjPPl/zuTs9kJje05lwD00LvkvtNaO8Q/iMpH8L/Nn2u8 zjUtjf8A4iR+JA2uWJW4ZdQrjntMTUnl7NOLjI491gq5KJy5zQHZpiC/a1zCjGGIasnBn4 alf8bO1EIPE89dGmv6AL5yfthsw8G0hQyxCOVteMSpQ7Bs5tvERwKEKnS7DSfDf1LdNry1 YrjM6FWYdCLyB1sbO1u2/99iartu5XBRWTgSX/Pkd7aiYZnD76bsdWvGDUFoyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708205568; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zVpqUQ9E2093A56gKuNk4zHqe7uFHD92uZyvGU5JRiw=; b=T/Dou4NOi3CqKO0jO6KRoIJJGCLmnv/B9/maLlFgbBHX/FJuwFsoIThadt4mIlkJR+Bh60 KJV7Y2CZB8fV2/f99sZusSYCEv4XmJ/YT/qn3YqP9NaRIuOG0UqYaQ3VLrvaO6U6v9XyK6 dFQ2m7HqKBOjjIL1nDZA/XeRpdjBl35tHI0dFHu3fzKuBjr2YF76sdSqo+c+aTALh/79U9 tn06CYymX8W0bl1d42dWWS8YzOyaf3WMo5CapqrrCekx+PVnRwzVEO4Ah7yn9JYZS71aih yxPpmIUx1BbRTTZoibWQN/sSXdoF+HfpqjMoKjMZz1rGlPIyMZzmJMUCk9JYig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708205568; a=rsa-sha256; cv=none; b=wgwubdhJJQlWM0APquF4Lz37LEpSyy0OUAr//2secUissACWKSxZaOIcO9EaLD6q6GeK2K V9vF3YLddn1vQiFQUy4f6ByuRvJzCbld+7H5ej9qUai0wmJIux0KrL7MVUWrlcd5YOsd2g ay73MX0S8VOU8T1YGj7TCDRiIp85DlJVf7iImp7h2CIFOmd6JiKfzch5KYtmMe9Am5T6EB T59FkccWhLJehDW9if0BByMbvrF6kp766Emc8p5pXiXPQgSFQN8GehakNXEhJuilnlnBeB Fb6eKnLtaxpa0cBb1stEx/hdv/p22w+KIsZki+IqfotfARWngah/r89wMTLdgQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Tchq40nMQzPJk; Sat, 17 Feb 2024 21:32:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 41HLWmwV020309; Sat, 17 Feb 2024 21:32:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41HLWm9P020306; Sat, 17 Feb 2024 21:32:48 GMT (envelope-from git) Date: Sat, 17 Feb 2024 21:32:48 GMT Message-Id: <202402172132.41HLWm9P020306@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Vladimir Kondratyev Subject: git: 73832b11e53f - stable/14 - LinuxKPI: Add video/vga.h header List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 73832b11e53ff15a3292173fc7954c59c3f25bdc Auto-Submitted: auto-generated The branch stable/14 has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=73832b11e53ff15a3292173fc7954c59c3f25bdc commit 73832b11e53ff15a3292173fc7954c59c3f25bdc Author: Vladimir Kondratyev AuthorDate: 2023-12-24 08:19:58 +0000 Commit: Vladimir Kondratyev CommitDate: 2024-02-17 20:58:36 +0000 LinuxKPI: Add video/vga.h header Sponsored by: Serenity Cyber Security, LLC Obtained from: OpenBSD Reviewed by: manu, bz MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42793 (cherry picked from commit 5e6bddfc43300f344d44afdc80f1bb7a37bd84fc) --- sys/compat/linuxkpi/common/include/video/vga.h | 16 ++++++++++++++++ sys/compat/linuxkpi/dummy/include/video/vga.h | 0 2 files changed, 16 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/video/vga.h b/sys/compat/linuxkpi/common/include/video/vga.h new file mode 100644 index 000000000000..e327246cc457 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/video/vga.h @@ -0,0 +1,16 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_VIDEO_VGA_H +#define _LINUXKPI_VIDEO_VGA_H + +#define VGA_MIS_W 0x3c2 +#define VGA_SEQ_I 0x3c4 +#define VGA_SEQ_D 0x3c5 +#define VGA_MIS_R 0x3cc + +#define VGA_SR01_SCREEN_OFF (1 << 5) + +#define VGA_FB_PHYS_BASE 0xA0000 +#define VGA_FB_PHYS_SIZE 65536 + +#endif diff --git a/sys/compat/linuxkpi/dummy/include/video/vga.h b/sys/compat/linuxkpi/dummy/include/video/vga.h deleted file mode 100644 index e69de29bb2d1..000000000000