]> gitweb.factorcode.org Git - factor.git/commitdiff
unix.linux.proc: Add cpuinfo flag "vmx flags".
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 27 Jun 2020 00:15:16 +0000 (19:15 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 27 Jun 2020 00:16:18 +0000 (19:16 -0500)
Fixes #2315.

I'm not sure how this would have stopped a vocabulary from loading.

cpuinfo flags are in linux kernel repo:
 arch/x86/kernel/cpu/proc.c

basis/unix/linux/proc/proc.factor

index f952982601b6594bebc096f23b0d502b71cb3af6..bf4b7f76b12f3c2c64efdf02dc62486bdd99bb39 100644 (file)
@@ -48,7 +48,8 @@ TUPLE: processor-info
     { address-sizes array }
     { power-management string }
     { tlb-size string }
-    { bugs string } ;
+    { bugs string }
+    { vmx-flags string } ;
 
 
 ERROR: unknown-cpuinfo-line string ;
@@ -94,6 +95,7 @@ ERROR: unknown-cpuinfo-line string ;
         { "wp" [ "yes" = >>wp? ] }
         { "TLB size" [ >>tlb-size ] }
         { "bugs" [ >>bugs ] }
+        { "vmx flags" [ >>vmx-flags ] }
         [ unknown-cpuinfo-line ]
     } case ;