Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
redox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pirson Bethancourt
redox
Commits
d26fe308
Commit
d26fe308
authored
8 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
Increase heap size
parent
7380d0c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/x86_64/src/lib.rs
+1
-1
1 addition, 1 deletion
arch/x86_64/src/lib.rs
with
1 addition
and
1 deletion
arch/x86_64/src/lib.rs
+
1
−
1
View file @
d26fe308
...
...
@@ -37,7 +37,7 @@ pub extern crate x86;
/// Offset to kernel heap
pub
const
KERNEL_HEAP_OFFSET
:
usize
=
KERNEL_OFFSET
+
PML4_SIZE
/
2
;
/// Size of kernel heap
pub
const
KERNEL_HEAP_SIZE
:
usize
=
6
4
*
1024
*
1024
;
// 6
4
MB
pub
const
KERNEL_HEAP_SIZE
:
usize
=
25
6
*
1024
*
1024
;
//
25
6 MB
/// Offset to kernel percpu variables
//TODO: Use 64-bit fs offset to enable this pub const KERNEL_PERCPU_OFFSET: usize = KERNEL_HEAP_OFFSET - PML4_SIZE;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment