git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add validator to restrict the flexibility of LConfig
[lunaix-os.git]
/
lunaix-os
/
arch
/
x86
/
LConfig
diff --git
a/lunaix-os/arch/x86/LConfig
b/lunaix-os/arch/x86/LConfig
index e5f0cd40fd302a613913c3dde213b577e1705c66..0e4d46382e8cc85af95df950e9869303159cbf04 100644
(file)
--- a/
lunaix-os/arch/x86/LConfig
+++ b/
lunaix-os/arch/x86/LConfig
@@
-6,11
+6,11
@@
def x86_configurations():
@flag
def x86_bl_mb() -> bool:
@flag
def x86_bl_mb() -> bool:
- return x86_bl.val == "mb"
+ when (x86_bl is "mb")
@flag
def x86_bl_mb2() -> bool:
@flag
def x86_bl_mb2() -> bool:
- return x86_bl.val == "mb2"
+ when (x86_bl is "mb2")
@"Use SSE2/3/4 extension"
def x86_enable_sse_feature() -> bool:
@"Use SSE2/3/4 extension"
def x86_enable_sse_feature() -> bool:
@@
-18,7
+18,7
@@
def x86_configurations():
Config whether to allow using SSE feature for certain
optimization
"""
Config whether to allow using SSE feature for certain
optimization
"""
-
+
return False
@"Bootloader Model"
return False
@"Bootloader Model"