mirror of
https://github.com/JannisHeydemann/BoredOS.git
synced 2026-05-30 02:16:58 +00:00
pr: Removed Unnessisary Flipping on kconsole leading to Vastly Faster Boot Times & PS/2 Hardware Correctness (#12)
* Flush PS/2 Devices on boot to avoid Locking dependent on the out buffer on real hardware / emulated PS2 over USB Removed Slow and Unnessisarty flipping causing kconsole write slowdowns consequently speeding up the boot process * sod wc
This commit is contained in:
committed by
GitHub
parent
e9888f26b1
commit
fdcfd48a24
@@ -6,6 +6,8 @@
|
||||
#include "platform.h"
|
||||
#include <stddef.h>
|
||||
|
||||
#define MSR_WC 0x277
|
||||
|
||||
static uint64_t current_pml4_phys = 0;
|
||||
|
||||
// Get current CR3 value
|
||||
@@ -37,7 +39,6 @@ static uint64_t alloc_page_table_phys(void) {
|
||||
}
|
||||
|
||||
void paging_init(void) {
|
||||
|
||||
current_pml4_phys = read_cr3() & PT_ADDR_MASK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user