[kernel] Re-enable most of kernel_main
The `kernel_main()` had a lot change out from under it with the bootloader changes. This change brings most of it back in line with the new kernel arguments. Tags: pml4 paging boot
This commit is contained in:
@@ -20,7 +20,8 @@ class page_manager
|
||||
public:
|
||||
/// Constructor.
|
||||
/// \arg frames The frame allocator to get physical frames from
|
||||
page_manager(frame_allocator &frames);
|
||||
/// \arg pml4 The initial kernel-space pml4
|
||||
page_manager(frame_allocator &frames, page_table *pml4);
|
||||
|
||||
/// Helper to get the number of pages needed for a given number of bytes.
|
||||
/// \arg bytes The number of bytes desired
|
||||
|
||||
Reference in New Issue
Block a user