Very carefully, and with architecture-specific concerns.
There are some #defines you will probably need to study:
PAGE_OFFSET
TASK_SIZE
and probably others...
in at least the ARM architecture, ioremap is also a concern with
VMALLOC_START and VMALLOC_END
Someone else may have a pat answer just to get the job done, though.
HTH,
Eli
--------------------. Real Users find the one combination of bizarre
Eli Carter \ input values that shuts down the system for days.
eli.carter(a)inet.com `-------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/