next up previous contents index
Next: 6.12.7 osenv_mem_map_phys: map physical Up: 6.12 Driver Memory Allocation Previous: 6.12.5 osenv_mem_get_virt: find the

6.12.6 osenv_mem_phys_max: find the largest physical memory address

 

SYNOPSIS

oskit_addr_t osenv_mem_phys_max(void);

DIRECTION

Component tex2html_wrap_inline32841 OS, Nonblocking

DESCRIPTION

Returns the top of physical memory, which is noramlly equivelent to the amount of physical RAM in the machine. Note that memory-mapped devices may reside higher in physical memory, but this is the largest address normal RAM could have.

RETURNS

Returns the amount of physical memory.



University of Utah Flux Research Group