.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "BUILD_NODE_MAPS" "" "06 October 2005" "" ""
.SH NAME
build_node_maps \- callback to setup bootmem structs for each node
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int __init build_node_maps (unsigned long \fIstart\fB, unsigned long \fIlen\fB, int \fInode\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIstart\fB\fR
physical start of range
.TP
\fB\fIlen\fB\fR
length of range
.TP
\fB\fInode\fB\fR
node where this range resides
.SH "DESCRIPTION"
.PP
We allocate a struct bootmem_data for each piece of memory that we wish to
treat as a virtually contiguous block (i.e. each node). Each such block
must start on an IA64_GRANULE_SIZE boundary, so we round the address down
if necessary. Any non-existent pages will simply be part of the virtual
memmap. We also update min_low_pfn and max_low_pfn here as we receive
memory ranges from the caller.