Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
HermitCore
rusty-loader
Commits
507f4f59
Commit
507f4f59
authored
Feb 16, 2020
by
Stefan Lankes
Browse files
remove typos
parent
4ff8b596
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/arch/x86_64/mod.rs
View file @
507f4f59
...
...
@@ -62,7 +62,7 @@ pub unsafe fn find_kernel() -> usize {
.modules
()
.expect
(
"Could not find a memory map in the Multiboot information"
)
.next
()
.expect
(
"Could not first map address"
)
.expect
(
"Could not
find
first map address"
)
.start
as
usize
;
let
page_address
=
align_down!
(
modules_address
,
BasePageSize
::
SIZE
);
paging
::
map
::
<
BasePageSize
>
(
page_address
,
page_address
,
1
,
PageTableEntryFlags
::
empty
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment