We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87c6912 commit fd04198Copy full SHA for fd04198
src/config.rs
@@ -1,3 +1,4 @@
1
+#[cfg(feature = "binary")]
2
const PAGE_SIZE: u64 = 4096;
3
4
/// Allows configuring the bootloader behavior.
@@ -91,6 +92,7 @@ pub struct Config {
91
92
pub minimum_framebuffer_width: Option<usize>,
93
}
94
95
96
impl Config {
97
pub(crate) fn kernel_stack_size(&self) -> u64 {
98
self.kernel_stack_size.unwrap_or(20 * PAGE_SIZE)
0 commit comments