-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9780405
commit dfea04a
Showing
6 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ mod signal; | |
mod subsystem; | ||
mod trap; | ||
mod uma; | ||
mod vm; | ||
|
||
extern crate alloc; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pub fn small_alloc() { | ||
todo!() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use crate::vm::alloc_page; | ||
|
||
/// See `uma_small_alloc` on the Orbis for a reference. | ||
/// | ||
/// # Reference offsets | ||
/// | Version | Offset | | ||
/// |---------|--------| | ||
/// |PS4 11.00|0x22FD70| | ||
pub fn small_alloc() { | ||
// TODO: There are an increment on an unknown variable on the Orbis. | ||
alloc_page(); | ||
|
||
todo!() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/// See `vm_page_alloc` on the Orbis for a reference. | ||
/// | ||
/// # Reference offsets | ||
/// | Version | Offset | | ||
/// |---------|--------| | ||
/// |PS4 11.00|0x02B030| | ||
pub fn alloc_page() { | ||
todo!() | ||
} |