Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
triazo
/
kernel
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
3
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
271e64a3
authored
Oct 19, 2015
by
triazo
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove old page table population function
parent
883ad59c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
src/mem.c
src/mem.h
src/mem.c
View file @
271e64a3
...
@@ -152,5 +152,4 @@ void initiate_page_table(page_directory_entry* page_dir)
...
@@ -152,5 +152,4 @@ void initiate_page_table(page_directory_entry* page_dir)
// attributes: supervisor level, read/write, present
// attributes: supervisor level, read/write, present
page_dir
[
0
]
=
(
uint32_t
)
page_table_one
;
page_dir
[
0
]
=
(
uint32_t
)
page_table_one
;
page_dir
[
0
]
|=
PAGE_WRITABLE
|
PAGE_PRESENT
;
page_dir
[
0
]
|=
PAGE_WRITABLE
|
PAGE_PRESENT
;
}
}
src/mem.h
View file @
271e64a3
...
@@ -29,7 +29,6 @@ extern void enablePaging();
...
@@ -29,7 +29,6 @@ extern void enablePaging();
// Defined in the file mem.c
// Defined in the file mem.c
page_directory_entry
*
initiate_directory
();
page_directory_entry
*
initiate_directory
();
void
initiate_page_table
(
page_directory_entry
*
page_dir
);
page_directory_entry
*
mem_init_kern_tables
(
multiboot_memory_map
*
mmap
,
multiboot_memory_map
*
mmap_end
);
page_directory_entry
*
mem_init_kern_tables
(
multiboot_memory_map
*
mmap
,
multiboot_memory_map
*
mmap_end
);
#endif
#endif
Write
Preview
Markdown
is supported
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