kernels: add a function system_variants
#423
+267
−105
Merged
system_variants
#423