Age | Commit message (Collapse) | Author |
|
Refactor the i386_entry function such that it is in line with how the
paging and memory systems operate. Further, the kernel command line must
now be copied before calling the physical memory initialization routines
due to an address conflict that cannot be resolved otherwise.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Fix several triple-faulting bugs in the paging initialization routines.
These include causing a page fault during physical memory manager
initialization, causing a page fault during paging initialization and
other double-faulting and triple-faulting bugs.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a third argument to i386_entry. This argument is the bootstrap page
directory. Pages can be temporarily mapped in during the initialization
of the paging system.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add the mostly finished physical memory allocator and expose its
functions to the paging system.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Move all the architecture-specific initialization calls to this file.
This frees up the main function to initialize other parts of the kernel.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add support for the multiboot specification. These files will allow the
kernel to read the multiboot header information as well as the provided
memory map.
Signed-off-by: Danny Holman <dholman@gymli.org>
|