Skip to content

Commit

Permalink
Begin work on #1 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kennystrawnmusic committed Aug 12, 2022
1 parent b5abbb6 commit 009dbaf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cralloc/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pub mod frames;
pub mod physalloc;

#[allow(unused_imports)] //future-proof
use {
Expand Down
10 changes: 10 additions & 0 deletions src/cralloc/physalloc.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use {
crate::map_page,
x86_64::structures::paging::Page,
core::ptr::{read_volatile, write_volatile},
// TODO
};

// Implementation objective: use map_page! macro along with more test pages to create physical mappings,
// then use read_volatile and write_volatile to actually perform operations
// Completion ETA: 8/13/2022 4PM PDT (UTC-7)

0 comments on commit 009dbaf

Please sign in to comment.