add generic kremap for kernel remapping
[lunaix-os.git] / lunaix-os / hal / char / uart / LConfig
1
2 @Collection("16x50 Serial Controller")
3 def uart_16x50():
4     """ 16x50 serial controller  """
5
6     # hal/char/LConfig::char_device
7     add_to_collection(char_device)
8
9     @Term("16x50 XT-Compat")
10     def xt_16x50():
11         """ Enable the 16x50 for PC-compatible platform  """
12
13         type(bool)
14
15         is_x86 = v(arch) in ["i386", "x86_64"]
16         default(is_x86)
17
18         return is_x86
19     
20     @Term("16x50 PCI")
21     def pci_16x50():
22         """ Enable the support of PCI 16x50 """
23         type(bool)
24
25         default(True)