Comment conversion

This commit is contained in:
Imbus 2025-01-13 16:33:48 +01:00
parent eb6dd2be2c
commit 1825a89ab5

View file

@ -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()
{