Skip to content

Commit

Permalink
use an internal module instead of MODULE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed May 15, 2023
1 parent c2c7dc1 commit 6023b3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions limine.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ TERM_FONT=boot:///fonts/system.f16
RESOLUTION=800x600x32
KASLR=no
KERNEL_PATH=boot:///kernel.bin
MODULE_CMDLINE=Symbols
MODULE_PATH=boot:///kernel.sym
8 changes: 5 additions & 3 deletions src/debugger.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ static symbol_t* symbol_table = NULL;
uint32_t trace_thread_id = 0;
static bool debug_signal = false, debug_tracing = false;


volatile struct limine_internal_module module[] = {{ .path = "boot:///kernel.sym", .cmdline = "Symbols", .flags = 0 }};
volatile struct limine_module_request module_request = {
.id = LIMINE_MODULE_REQUEST,
.revision = 0,
.id = LIMINE_MODULE_REQUEST,
.revision = 0,
.internal_module_count = 1,
.internal_modules = (struct limine_internal_module**)module,
};

void gdb_send_ack(uint32_t src_ip, uint16_t src_port)
Expand Down

0 comments on commit 6023b3d

Please sign in to comment.