git: 410197011bdf - stable/14 - loader: ficl: restore isvirtualized?

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Mon, 21 Jul 2025 02:13:42 UTC
The branch stable/14 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=410197011bdfbdf25b92d94f2bf3484e44eb209b

commit 410197011bdfbdf25b92d94f2bf3484e44eb209b
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-05-08 04:04:17 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-07-21 02:12:24 +0000

    loader: ficl: restore isvirtualized?
    
    This word was accidentally removed when gfx bindings were made optional
    to remove some overhead not needed for all loaders.  This one isn't
    graphics related, so we can safely restore it without irritating anyone.
    
    Reported by:    sjg
    Reviewed by:    adrian, imp
    Fixes:  9c8bf69a53f ("loader: Only create gfx 4th bindings when [...]")
    
    (cherry picked from commit 354fb783e6d5ff9abcb6529cbb17cbb2ff6a7375)
---
 stand/ficl/loader.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/stand/ficl/loader.c b/stand/ficl/loader.c
index 69a65ebedb73..32ec2d6fc172 100644
--- a/stand/ficl/loader.c
+++ b/stand/ficl/loader.c
@@ -864,6 +864,9 @@ void ficlCompilePlatform(FICL_SYSTEM *pSys)
     dictAppendWord(dp, "ccall",	    ficlCcall,	    FW_DEFAULT);
     dictAppendWord(dp, "uuid-from-string", ficlUuidFromString, FW_DEFAULT);
     dictAppendWord(dp, "uuid-to-string", ficlUuidToString, FW_DEFAULT);
+#ifndef TESTMAIN
+    dictAppendWord(dp, "isvirtualized?", ficlIsvirtualizedQ, FW_DEFAULT);
+#endif
     
     SET_FOREACH(fnpp, X4th_compile_set)
 	(*fnpp)(pSys);