From 1825a89ab5f4766439b493038b0cf2851e4b670b Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Mon, 13 Jan 2025 16:33:48 +0100 Subject: [PATCH] Comment conversion --- kernel/vm.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/kernel/vm.c b/kernel/vm.c index af3ff45..dc33f30 100644 --- a/kernel/vm.c +++ b/kernel/vm.c @@ -12,7 +12,7 @@ extern char etext[]; // kernel.ld sets this to end of kernel code. extern char trampoline[]; // trampoline.S -// Make a direct-map page table for the kernel. +/** Make a direct-map page table for the kernel. */ pagetable_t kvmmake(void) { @@ -49,15 +49,17 @@ kvmmake(void) return kpgtbl; } -// Initialize the one kernel_pagetable +/** Initialize the one kernel_pagetable */ void kvminit(void) { kernel_pagetable = kvmmake(); } -// Switch h/w page table register to the kernel's page table, -// and enable paging. +/** + * Switch h/w page table register to the kernel's page table, + * and enable paging. + */ void kvminithart() {