diff --git a/boot/config.c b/boot/config.c index 35686497..d2d6a632 100644 --- a/boot/config.c +++ b/boot/config.c @@ -101,6 +101,10 @@ int kmain() { "Migrates the ramdisk from tarball to an in-memory", "temporary filesystem at boot. Needed for packages."); + BOOT_OPTION(_lfbwc, 1, "WC framebuffer", + "Enables write-combining PAT configuration for", + "framebuffers. Toggle if graphics are slow."); + while (1) { /* Loop over rendering the menu */ show_menu(); @@ -163,6 +167,10 @@ int kmain() { strcat(cmdline, "sharedps2 "); } + if (_lfbwc) { + strcat(cmdline, "lfbwc "); + } + if (!boot_edit) break; if (boot_editor()) break;