X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/d1b1c8d9119229dbeed06cd252917e54a1cb77f6..1025235c72c31f7fa7b648c0e32ddcaa68a8f66a:/lunaix-os/LConfig diff --git a/lunaix-os/LConfig b/lunaix-os/LConfig new file mode 100644 index 0000000..3d0a179 --- /dev/null +++ b/lunaix-os/LConfig @@ -0,0 +1,32 @@ +import time + +include("kernel/LConfig") +include("arch/LConfig") + +@Term("Version") +@ReadOnly +def lunaix_ver(): + """ + Lunaix kernel version + """ + + type(str) + + seq_num = int(time.time() / 3600) + default("dev-2024_%d"%(seq_num)) + +@Collection +def debug_and_testing(): + """ + General settings for kernel debugging feature + """ + + @Term("Supress assertion") + def no_assert(): + """ + Supress all assertion fail activity. + Note: Enable this is highly NOT recommended and would result system + extermly unstable + """ + type(bool) + default(False) \ No newline at end of file