aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-31 17:21:01 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-31 17:21:01 +0100
commitff405d15e20b360afe93af5c23d6972f28fc38b9 (patch)
tree0356d554cb2a4734d6747bbf91c7adade93ffbfb
parentd2bd31b4a05cf4fc36ed6c8eaafa61e41b28b9d1 (diff)
downloadrpi-MMU-example-ff405d15e20b360afe93af5c23d6972f28fc38b9.tar.gz
rpi-MMU-example-ff405d15e20b360afe93af5c23d6972f28fc38b9.zip
print info about completed initialization of kernel's paging structures
-rw-r--r--paging.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/paging.c b/paging.c
index 0de63b8..6560047 100644
--- a/paging.c
+++ b/paging.c
@@ -164,6 +164,10 @@ void setup_pager_structures(uint32_t available_mem)
};
first_free_section = kernel_sections_count;
+
+ puts("Initialized kernel's internal structures for paging");
+ prints("We have "); printdect(free_sections_count);
+ puts(" free sections left for use");
}
// return section number or CLAIM_FAILURE in case of failure