mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:38:10 +00:00
Revert "Kernel: Move Kernel mapping to 0xc0000000"
This reverts commit bd33c66273
.
This broke the network card drivers, since they depended on kmalloc
addresses being identity-mapped.
This commit is contained in:
parent
f61ed8eab5
commit
9a157b5e81
13 changed files with 64 additions and 132 deletions
|
@ -1,10 +1,10 @@
|
|||
#include "VirtualConsole.h"
|
||||
#include "IO.h"
|
||||
#include "StdLib.h"
|
||||
#include <Kernel/Heap/kmalloc.h>
|
||||
#include <AK/String.h>
|
||||
#include <Kernel/Arch/i386/CPU.h>
|
||||
#include <Kernel/Devices/KeyboardDevice.h>
|
||||
#include <Kernel/Heap/kmalloc.h>
|
||||
|
||||
static u8* s_vga_buffer;
|
||||
static VirtualConsole* s_consoles[6];
|
||||
|
@ -32,7 +32,7 @@ void VirtualConsole::flush_vga_cursor()
|
|||
|
||||
void VirtualConsole::initialize()
|
||||
{
|
||||
s_vga_buffer = (u8*)(kernel_virtual_base + 0xb8000);
|
||||
s_vga_buffer = (u8*)0xb8000;
|
||||
memset(s_consoles, 0, sizeof(s_consoles));
|
||||
s_active_console = -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue