Skip to content

Commit bcbe0a2

Browse files
committed
Add trap handler
1 parent 461d1ce commit bcbe0a2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,17 +125,17 @@ pub fn global_allocator() -> &'static GlobalAllocator {
125125
}
126126

127127
pub fn global_init(start_vaddr: usize, size: usize) {
128-
info!(
129-
"Initializing global allocator at: [{:#x}, {:#x})",
128+
debug!(
129+
"initialize global allocator at: [{:#x}, {:#x})",
130130
start_vaddr,
131131
start_vaddr + size
132132
);
133133
GLOBAL_ALLOCATOR.init(start_vaddr, size);
134134
}
135135

136136
pub fn global_add_memory(start_vaddr: usize, size: usize) -> AllocResult {
137-
info!(
138-
"Add a memory region to global allocator: [{:#x}, {:#x})",
137+
debug!(
138+
"add a memory region to global allocator: [{:#x}, {:#x})",
139139
start_vaddr,
140140
start_vaddr + size
141141
);

0 commit comments

Comments
 (0)