summaryrefslogtreecommitdiff
path: root/components/mm/mm_page.c
diff options
context:
space:
mode:
authorShell <[email protected]>2024-03-28 23:42:56 +0800
committerGitHub <[email protected]>2024-03-28 23:42:56 +0800
commit83e95bdff4c48c661b50e1eec56d5fd293b28fbb (patch)
tree9e0c2065950f0804e5009da71c8e0f590224cade /components/mm/mm_page.c
parent40e26f4909fa61ada775ba86b44d8300aaf5d250 (diff)
sync smart & dfs (#8672)
Signed-off-by: xqyjlj <[email protected]> Signed-off-by: Shell <[email protected]> Co-authored-by: xqyjlj <[email protected]>
Diffstat (limited to 'components/mm/mm_page.c')
-rw-r--r--components/mm/mm_page.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/mm/mm_page.c b/components/mm/mm_page.c
index cc46ed46da..fcae953a2d 100644
--- a/components/mm/mm_page.c
+++ b/components/mm/mm_page.c
@@ -622,27 +622,27 @@ void list_page(void)
struct rt_page *lp = page_list_low[i];
struct rt_page *hp = page_list_high[i];
- LOG_RAW("level %d ", i);
+ rt_kprintf("level %d ", i);
while (lp)
{
free += (1UL << i);
- LOG_RAW("[0x%08p]", rt_page_page2addr(lp));
+ rt_kprintf("[0x%08p]", rt_page_page2addr(lp));
lp = lp->next;
}
while (hp)
{
free += (1UL << i);
- LOG_RAW("[0x%08p]", rt_page_page2addr(hp));
+ rt_kprintf("[0x%08p]", rt_page_page2addr(hp));
hp = hp->next;
}
LOG_RAW("\n");
}
rt_spin_unlock_irqrestore(&_spinlock, level);
- LOG_RAW("-------------------------------\n");
- LOG_RAW("Page Summary:\n => free/installed: 0x%lx/0x%lx (%ld/%ld KB)\n", free, installed, PGNR2SIZE(free), PGNR2SIZE(installed));
- LOG_RAW("-------------------------------\n");
+ rt_kprintf("-------------------------------\n");
+ rt_kprintf("Page Summary:\n => free/installed: 0x%lx/0x%lx (%ld/%ld KB)\n", free, installed, PGNR2SIZE(free), PGNR2SIZE(installed));
+ rt_kprintf("-------------------------------\n");
}
MSH_CMD_EXPORT(list_page, show page info);