From nobody Tue Apr 16 20:12:46 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 4VJwFV60Jgz5H0QK; Tue, 16 Apr 2024 20:12:46 +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 4VJwFV5MwHz4t82; Tue, 16 Apr 2024 20:12:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713298366; 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=t/B7HkwJkRJwyDE7uvnqJVf3N5FmAK5osCGJv4HewJI=; b=WD8BTgmNIixjOI1RT+Rkesh6MlCmDMydwqcQcCak0oveA/aQ7mwm5Hf9qhMPKuv9PR5SGO 2d/Jipj0y9uFgqB5FFsxWQ74PNoncKCPF/LpvTnS9TrkZWNzYnj27p6EsRQ1XyvJNtFeTe uOxHx4GVgbBqsjUTwh+0mCwzTCMlSsQlS2Toga/bQUfAvKSovDA3KBsC+kAQHzBpDnFJ+I vR+xPm0o7yuFk9miCsWqoEZCmZziGujNeY23/QUTtxSnLMbLX3F2xy+ImxFi8qHJWi/aIy /CrHxddnSNuEBXaFYUSGCeq01x70Z3jVV0abnipc2hEXt1b/NjgonG6mzMYFbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713298366; a=rsa-sha256; cv=none; b=aTNmXCGvmyCbH1JD9qKNrwAymJ0itRyNLRFQYHbuetRekqpMqP+Mzum86RBiXTTgabp6Qr qCK5AVox0Tdpu20nbhsqHI9M7M1/TViNas2BfMw7Vy3f0jqhyIixM6Q4NCWWk0gra49pss +OZQUN47UltaFVxL1Gf7YtYn9ZAvOdxSaak55nXEIb629fJrki/wjfssHmTSR0zeNWIIMS nbVUpuNSpP5LE1ngkCnhPZaV7C533mAhjjiRDYZ9s1ZSol+JcvBJpX86w4o5sVqQu1TdoV fP/hgkbxch4zmWTZHaOsTIl50qwky7L362IdrEiUJpIKKqGLmwQaXe2qeZV/Ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713298366; 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=t/B7HkwJkRJwyDE7uvnqJVf3N5FmAK5osCGJv4HewJI=; b=UYwUmwwLJys1FsauzLxLB6XQfNWKoHJGqnvFc3fMe8J0VSH6DUAXOtjX23jB/lBwTMfSEX mcwZrJHXE/aJWKNs4IdIUqXD6qo/AhSaZcFDWzol2mVonYJIXxKYWTAU4CpZWTB7M4pxDP Qd2hCAgC7880P8Caro3l1qo3gptGliIwwpTegI6pG6QmHyZ8njlNQOJFWRmdWipFcKsXRG EK0rnzkmoOKjS7oGIaAGKsk/PjhUwlR/ZvZO61DsG+BYBb367jzx6SsnBC8b70FsjBAaw8 nJTeuaDYjU4983kKEpuwF0PdV2pKke/XELOAthhpEdJSuRdX8CDU+niiF9gU4w== 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 4VJwFV4y29zxdf; Tue, 16 Apr 2024 20:12:46 +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 43GKCkpu037834; Tue, 16 Apr 2024 20:12:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43GKCk3e037831; Tue, 16 Apr 2024 20:12:46 GMT (envelope-from git) Date: Tue, 16 Apr 2024 20:12:46 GMT Message-Id: <202404162012.43GKCk3e037831@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: ab3aa90b70db - stable/14 - 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-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/stable/14 X-Git-Reftype: branch X-Git-Commit: ab3aa90b70db580adbc73ac62ca2c3ea4ff5c596 Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ab3aa90b70db580adbc73ac62ca2c3ea4ff5c596 commit ab3aa90b70db580adbc73ac62ca2c3ea4ff5c596 Author: Warner Losh AuthorDate: 2024-02-16 03:53:19 +0000 Commit: Warner Losh CommitDate: 2024-04-16 19:54:23 +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 (cherry picked from commit 60e199d9fde1c3c60a96b969bf6982278cbc1e88) --- 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) +{ +}