add implementation of ARM GIC driver.
[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         if not is_x86:
17             set_value(False)
18         else:
19             default(is_x86)
20
21         return is_x86
22     
23     @Term("16x50 PCI")
24     def pci_16x50():
25         """ Enable the support of PCI 16x50 """
26         type(bool)
27
28         default(True)