freebsd-skq/sys/conf
Marcel Moolenaar 662d34aff2 Hide the creation of phys_avail behind an API to make it easier to do it
correctly. We now iterate the EFI memory descriptors once and collect all
the information in a single pass. This includes:
1.  The I/O port base address,
2.  The PAL memory region. Have the physmem API track this.
3.  Memory descriptors of memory we can't use, like bad memory, runtime
    services code & data, etc. Have the physmem API track these.
4.  memory descriptors of memory we can use or re-use, such as free
    memory, boot time services code & data, loader code & data, etc.
    These are added by the physmem API.

Since the PBVM page table and pages are in memory described as loader
data, inform the physmem API of chunks that need to be delated from the
available physical memory.

While here, remove Maxmem and replace it with the better named paddr_max.
Maxmem was defined as physmem, which is generally wrong. Now, paddr_max
is properly defined as the largesty physical address.

The upshot of all this is that:
1.  We properly determine realmem.
2.  We maximize physmem by re-using memory where possible.
3.  We remove complexity from ia64_init() in machdep.c.
4.  Remove confusion about realmem, physmem & Maxmem.

The new ia64_physmem_alloc() is to replace pmap_steal_memory() in pmap.c,
as well as replace the handcrafted allocation of the VHPT for the BSP in
pmap_bootstrap() in pmap.c. This is step 2 and addresses the manipulation
of phys_avail after it is being created.
2012-07-07 00:25:17 +00:00
..
defines
files Sync with Intel internal source: 2012-07-05 20:26:57 +00:00
files.amd64 Some fixes for r236772. 2012-06-10 02:38:51 +00:00
files.arm Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
files.i386 Some fixes for r236772. 2012-06-10 02:38:51 +00:00
files.ia64 Hide the creation of phys_avail behind an API to make it easier to do it 2012-07-07 00:25:17 +00:00
files.mips Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
files.pc98 Move the legacy(4) driver to x86. 2012-03-30 19:10:14 +00:00
files.powerpc Add a driver for the Freescale FCM module in the localbus controller. 2012-07-03 01:00:29 +00:00
files.sparc64 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
kern.mk Work around the following clang warning in mps(4): 2012-03-23 11:35:01 +00:00
kern.post.mk Revert r222186 per instructions for FreeBSD 10. 2012-07-03 05:01:00 +00:00
kern.pre.mk Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
kmod_syms.awk
kmod.mk Revert r222186 per instructions for FreeBSD 10. 2012-07-03 05:01:00 +00:00
ldscript.amd64
ldscript.arm
ldscript.i386
ldscript.ia64
ldscript.mips
ldscript.mips.cfe
ldscript.mips.mips64
ldscript.mips.octeon1
ldscript.powerpc
ldscript.powerpc64 Add the .opd section, this is helps booting a profiled kernel. 2012-01-20 18:52:31 +00:00
ldscript.sparc64
Makefile.amd64 Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
Makefile.arm
Makefile.i386 Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
Makefile.ia64
Makefile.mips Fill out fake preload structure to let userland tools like pmc(3) know 2012-03-15 05:29:51 +00:00
Makefile.pc98
Makefile.powerpc
Makefile.sparc64
makeLINT.mk Disable INET6 support in modules when building the LINT-NOINET6 kernel. 2012-04-04 21:31:20 +00:00
makeLINT.sed
newvers.sh newvers.sh: unbreak git/git-svn support 2012-02-12 14:54:19 +00:00
NOTES - Updated TOE support in the kernel. 2012-06-19 07:34:13 +00:00
options Introduce an optional ath(4) radiotap vendor extension. 2012-06-24 07:01:49 +00:00
options.amd64 Disable detailed PV entry accounting by default. Add a config option 2012-03-24 19:43:49 +00:00
options.arm These options are unused, and can safely be retired. 2012-06-15 08:01:16 +00:00
options.i386 Disable detailed PV entry accounting by default. Add a config option 2012-03-24 19:43:49 +00:00
options.ia64
options.mips Break out the arge MDIO bus code into an optional argemdio device. 2012-05-01 06:18:30 +00:00
options.pc98
options.powerpc Let us manage differences of Book-E PowerPC variations i.e. vendor / 2012-05-27 10:25:20 +00:00
options.sparc64
systags.sh
WITHOUT_SOURCELESS Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" 2012-02-12 14:55:27 +00:00
WITHOUT_SOURCELESS_HOST Fix a typo. 2012-02-12 19:29:34 +00:00
WITHOUT_SOURCELESS_UCODE Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" 2012-02-12 14:55:27 +00:00