Use MSR to map framebuffer as WC (write-combining) = huge speed diff on real HW
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
* @license GPL-3.0-only
|
||||
*/
|
||||
|
||||
#include "arch/x86.h"
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <limine.h>
|
||||
@@ -24,6 +25,7 @@
|
||||
#include <config.h>
|
||||
#include <io/term/flanterm.h>
|
||||
#include <io/term/flanterm_backends/fb.h>
|
||||
#include <arch/x86.h>
|
||||
|
||||
// Limine version used
|
||||
__attribute__((used, section(".limine_requests")))
|
||||
@@ -112,6 +114,8 @@ void kmain()
|
||||
serial_init();
|
||||
timer_init();
|
||||
|
||||
x86_arch_init();
|
||||
|
||||
boot_mem_display();
|
||||
pmm_init(boot_ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user