next up previous contents index
Next: 10.11.4 phys_lmm_add: Add memory Up: (X86 PC) Base Environment: Previous: 10.11.2 phys_mem_max: Highest physical

10.11.3 phys_lmm_init: Initialize kernel physical memory LMM

   

SYNOPSIS

#include <oskit/x86/pc/phys_lmm.h>

void phys_lmm_init(void);

DESCRIPTION

This routine sets up malloc_lmm with three physical memory regions, one for each of the memory types described in phys_lmm.h. No actual memory is added to those regions. You can then call phys_lmm_add() to add memory to those regions. In the base environment, base_multiboot_init_mem handles this chore.

DEPENDENCIES

malloc_lmm
9.5.1
lmm_add_region
15.6.2
phystokv
10.6.2



University of Utah Flux Research Group