Andrew Turner 78f23de54c Use the module pointer to find the address we need to map to in the early
arm64 boot sequence. This will be a virtual address in the kernel space
after the kernel and any modules loaded by loader so we can use this to
find the size of the kernel + modules. We can then add on a level 2 page for
the module data and round up the size to be aligned to a level 2 page.

This allows more than 8 MiB of modules to be loaded by loader, e.g. zfs.ko
and opensolaris.ko.

Reported by:	Shawn Webb
MFC after:	1 week
Sponsored by:	DARPA, AFRL
2017-12-04 11:25:34 +00:00
..
2017-11-28 18:23:17 +00:00
2017-11-30 15:58:38 +00:00
2017-12-03 22:02:30 +00:00
2017-12-02 17:22:55 +00:00
2017-11-30 20:33:45 +00:00
2017-12-01 22:51:02 +00:00
2017-05-09 05:08:47 +00:00
2017-11-30 20:33:45 +00:00