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
clean-up left-over arch-depend code from kernel base
[lunaix-os.git]
/
lunaix-os
/
hal
/
char
/
uart
/
LConfig
diff --git
a/lunaix-os/hal/char/uart/LConfig
b/lunaix-os/hal/char/uart/LConfig
index 9ed1f09ec4d63177d8437e5b264c01477234986c..4b59141dbd49dbb961891dedc7d2f35bab25c9f2 100644
(file)
--- a/
lunaix-os/hal/char/uart/LConfig
+++ b/
lunaix-os/hal/char/uart/LConfig
@@
-13,7
+13,10
@@
def uart_16x50():
type(bool)
is_x86 = v(arch) in ["i386", "x86_64"]
- default(is_x86)
+ if not is_x86:
+ set_value(False)
+ else:
+ default(is_x86)
return is_x86