forked from theseus-os/Theseus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable direct access to multiple heaps (theseus-os#286)
* Moved the multiple heaps into a static so that they can be directly accessed, rather than through the global allocator. * Updated heap evaluations to directly use the multiple heaps when the configuration option "direct_access_to_multiple_heaps" is enabled.
- Loading branch information
1 parent
9133d03
commit d3b01d3
Showing
7 changed files
with
139 additions
and
36 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
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ authors = ["Ramla Ijaz <[email protected]>"] | |
name = "heap" | ||
description = "global allocator for the system" | ||
version = "0.1.0" | ||
build = "../../build.rs" | ||
|
||
[dependencies] | ||
spin = "0.4.10" | ||
|
@@ -21,6 +22,3 @@ path = "../kernel_config" | |
|
||
[dependencies.block_allocator] | ||
path = "../block_allocator" | ||
|
||
|
||
|
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