File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
use serde:: { Deserialize , Serialize } ;
4
4
5
+ /// Configures the boot behavior of the bootloader.
5
6
#[ derive( Serialize , Deserialize ) ]
6
7
#[ serde( default ) ]
7
8
pub struct BootConfig {
8
- /// Configuration for the frame buffer that can be used by the kernel to display pixels
9
- /// on the screen.
9
+ /// Configuration for the frame buffer setup.
10
10
pub frame_buffer : FrameBuffer ,
11
11
12
- /// Configuration for changing the level of the filter of the messages that are shown in the
13
- /// screen when booting. The default is 'Trace'.
12
+ /// The minimum log level that is printed to the screen during boot.
13
+ ///
14
+ /// The default is [`LevelFilter::Trace`].
14
15
pub log_level : LevelFilter ,
15
16
16
- /// Whether the bootloader should print log messages to the framebuffer when booting .
17
+ /// Whether the bootloader should print log messages to the framebuffer during boot .
17
18
///
18
19
/// Enabled by default.
19
20
pub frame_buffer_logging : bool ,
20
21
21
- /// Whether the bootloader should print log messages to the serial port when booting .
22
+ /// Whether the bootloader should print log messages to the serial port during boot .
22
23
///
23
24
/// Enabled by default.
24
25
pub serial_logging : bool ,
25
26
27
+ #[ doc( hidden) ]
26
28
pub _test_sentinel : u64 ,
27
29
}
28
30
You can’t perform that action at this time.
0 commit comments