sysinfo, procfs: Support memory info partially

Change-Id: I597dae4f82d64d3f23889cef960db18ae879ff06
refs: #1389
This commit is contained in:
Ken Sato
2020-04-07 12:55:52 +09:00
committed by Masamichi Takagi
parent 8e42c2a254
commit 8f74888f87
14 changed files with 506 additions and 0 deletions

View File

@ -1130,6 +1130,7 @@ static const struct procfs_entry base_entry_stuff[] = {
// PROC_REG("cpuinfo", S_IRUGO, NULL),
#endif /* POSTK_DEBUG_ARCH_DEP_42 */
// PROC_REG("meminfo", S_IRUGO, NULL),
PROC_REG("meminfo", S_IRUGO, &mckernel_buff_io),
// PROC_REG("pagetypeinfo",S_IRUGO, NULL),
// PROC_REG("softirq", S_IRUGO, NULL),
PROC_REG("stat", 0444, &mckernel_buff_io),