From nobody Fri Feb 16 04:00:25 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 4TbdWG0nhvz59Z8b; Fri, 16 Feb 2024 04:00:26 +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 4TbdWF5MlQz4H6w; Fri, 16 Feb 2024 04:00:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708056025; 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=QM1RZPOIyR0PNR/CxiU+e6bYoC2gD9cW/a4M/tsPCEk=; b=wueijX65TlilVtlAMVgyNeaX0mcHkoG8QRbX0eAWXaksrbwTYFml/Bf5FyUMzsV0HvIUNk 8ZSm1EHQ4MuU5jVOlifHdfXJEyoUpzj7fxAgxbLU1QaAabU9il2Ec75whXSBfCegJcvjMg Gy5VGCTXfFqMg/82NKoNtVzz+EcMCi+8Y2RrpcrVsJNy2t3idr8+HklkP5bNbWBJ3ITjeU SuN46fg8DRDUzPJ8FPE5mT1twYxs1uRKji4QxGsxQRdit6SgNyxtQyaW21/3EOHA929leN ey81doVoN4JGq+X7hGeJa/wte6SRt7dZa693EfQwIkWCs0vK672KhfllaDWKUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708056025; 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=QM1RZPOIyR0PNR/CxiU+e6bYoC2gD9cW/a4M/tsPCEk=; b=qOsgekxTUJ+jbc0pbrlr0DtFmpV7lnZuaQXZK8Hw8gCbJzWWGkqHdT5xJlhO76eFk3IHXp AsUlbmYC5EUs/tS/bbKYi4Xd0mfCPJjB0qEHRYdjQxGkqO3099/eRDek6eTjUcKCiaNa5q uBAKYDVxppivwmP7/1BK6cLZ6DQ8NuEDppDdKuNsXg0aVQ5Oa7HVQt8ty8KRuYGIHeAeqK HAB7vv+7rRLkKp8XTtlpCp/GAHkWsseRzCRCqkA4iqavYeUTVfZq/fjhz9o7YyM4afb95c CwSH2JU9tOViC3ImYxn78MHnaGjW7yWuV3VnduaIJw+QaeRxGcZ/DMrFXJFzSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708056025; a=rsa-sha256; cv=none; b=KAIJLSulZyu6gW9Vv/QbH7gsjsLdCsY0WP7EeSnYDFIxAZt01q9YvPjuyfC1rj7wR3SSjg IDT8cSkW3FJJhOU/VeBgGRLlaS56gJBzxvjV78CPwkPY3fT2eIvZIgx6cMEk2vP9t8MqOr jPpC2FL9eoxdryEoiJG6pVklAcX4YKFSYti8AKMV0zbemYZUJZVWGMmZs37Alc2wPU9t/m O+K/zIGKTt/iTRfRw3VgiX0QwO9owCXbxn+dx2XLW6Ry2KbjZnn1XfIYRFBlYKMM/n6tNq 74mF/Yy2DSvBuyS42Rj5r5IZTmpx4psZZ+Cc4ocUAQ3e47v60nN1Hvrwd5E68w== 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 4TbdWF4TxVz18Pl; Fri, 16 Feb 2024 04:00:25 +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 41G40PgT018948; Fri, 16 Feb 2024 04:00:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41G40PdK018945; Fri, 16 Feb 2024 04:00:25 GMT (envelope-from git) Date: Fri, 16 Feb 2024 04:00:25 GMT Message-Id: <202402160400.41G40PdK018945@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 60e199d9fde1 - main - loader: Add prototype for gfx_interp_md 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 60e199d9fde1c3c60a96b969bf6982278cbc1e88 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=60e199d9fde1c3c60a96b969bf6982278cbc1e88 commit 60e199d9fde1c3c60a96b969bf6982278cbc1e88 Author: Warner Losh AuthorDate: 2024-02-16 03:53:19 +0000 Commit: Warner Losh CommitDate: 2024-02-16 03:59:22 +0000 loader: Add prototype for gfx_interp_md This function will be used to draw in the graphics bindings when the loader is compiled with graphics (gfx) support. Provide definitions for lua and the simple interpreter. 4th support is forthcoming. Sponsored by: Netflix Reviewed by: kevans, jhb Differential Revision: https://reviews.freebsd.org/D43903 --- stand/common/gfx_fb.h | 2 ++ stand/common/interp_simple.c | 8 ++++++++ stand/liblua/gfx_utils.c | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/stand/common/gfx_fb.h b/stand/common/gfx_fb.h index adb60c673ea9..84062864c57f 100644 --- a/stand/common/gfx_fb.h +++ b/stand/common/gfx_fb.h @@ -281,6 +281,8 @@ void term_image_display(teken_gfx_t *, const teken_rect_t *); void reset_font_flags(void); +void gfx_interp_md(void); + #ifdef __cplusplus } #endif diff --git a/stand/common/interp_simple.c b/stand/common/interp_simple.c index fa021c796308..61ed724af9d0 100644 --- a/stand/common/interp_simple.c +++ b/stand/common/interp_simple.c @@ -198,3 +198,11 @@ interp_include(const char *filename) } return(res); } + +/* + * There's no graphics commands for the simple interpreter. + */ +void +gfx_interp_md(void) +{ +} diff --git a/stand/liblua/gfx_utils.c b/stand/liblua/gfx_utils.c index fe208dc990d8..d2d22738c929 100644 --- a/stand/liblua/gfx_utils.c +++ b/stand/liblua/gfx_utils.c @@ -240,3 +240,8 @@ luaopen_gfx(lua_State *L) luaL_newlib(L, gfxlib); return 1; } + +void +gfx_interp_md(void) +{ +}