mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Kernel: Remove unnecessary init_ksyms() function
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
#include <Kernel/FileSystem/FileDescription.h>
|
||||
|
||||
static KSym* s_ksyms;
|
||||
u32 ksym_lowest_address;
|
||||
u32 ksym_highest_address;
|
||||
u32 ksym_count;
|
||||
bool ksyms_ready;
|
||||
u32 ksym_lowest_address = 0xffffffff;
|
||||
u32 ksym_highest_address = 0;
|
||||
u32 ksym_count = 0;
|
||||
bool ksyms_ready = false;
|
||||
|
||||
static u8 parse_hex_digit(char nibble)
|
||||
{
|
||||
@@ -146,14 +146,6 @@ void dump_backtrace()
|
||||
dump_backtrace_impl(ebp, ksyms_ready);
|
||||
}
|
||||
|
||||
void init_ksyms()
|
||||
{
|
||||
ksyms_ready = false;
|
||||
ksym_lowest_address = 0xffffffff;
|
||||
ksym_highest_address = 0;
|
||||
ksym_count = 0;
|
||||
}
|
||||
|
||||
void load_ksyms()
|
||||
{
|
||||
auto result = VFS::the().open("/kernel.map", 0, 0, VFS::the().root_custody());
|
||||
|
||||
Reference in New Issue
Block a user