Refinement on documentation (#38)
[lunaix-os.git] / lunaix-os / arch / x86 / LConfig
1
2 @Group
3 def x86_configurations():
4     
5     add_to_collection(architecture_support)
6
7     @Term
8     def x86_enable_sse_feature():
9         """ 
10             Config whether to allow using SSE feature for certain
11             optimization
12         """
13         
14         type(bool)
15         default(False)
16
17
18     @Term
19     def x86_bl():
20         """
21             Select the bootloader interface
22             
23             Supported interface
24                 mb:      multiboot compliant
25                 mb2:     multiboot2 compliant
26                 none:    do not use any interface
27         """
28
29         type(["mb"])
30         # type(["mb", "mb2", "none"])
31         default("mb")
32
33
34     return v(arch) in ["i386", "x86_64"]