Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ACS
P
Public
HermitCore
libhermit-rs
Commits
fe5e1d41
Commit
fe5e1d41
authored
Aug 26, 2019
by
Stefan Lankes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print also the start address of the heap
parent
10a55709
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/mm/mod.rs
src/mm/mod.rs
+1
-1
No files found.
src/mm/mod.rs
View file @
fe5e1d41
...
...
@@ -167,7 +167,7 @@ pub fn init() {
arch
::
mm
::
virtualmem
::
allocate_aligned
(
virt_size
,
LargePageSize
::
SIZE
)
.unwrap
()
};
info!
(
"Heap size
:
{} MB"
,
virt_size
>>
20
);
info!
(
"Heap
:
size {} MB
, start address 0x{:x}
"
,
virt_size
>>
20
,
virt_addr
);
// try to map a huge page
let
mut
counter
=
if
has_1gib_pages
&&
virt_size
>
HugePageSize
::
SIZE
{
...
...
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