git: 354fb783e6d5 - main - loader: ficl: restore isvirtualized?

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Thu, 08 May 2025 04:06:48 UTC
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=354fb783e6d5ff9abcb6529cbb17cbb2ff6a7375

commit 354fb783e6d5ff9abcb6529cbb17cbb2ff6a7375
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-05-08 04:04:17 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-05-08 04:06:22 +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 [...]")
---
 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);