Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - P index

CONFIG_PHYSICAL_ALIGN: Alignment value to which kernel should be aligned

General informations

The Linux kernel configuration item CONFIG_PHYSICAL_ALIGN has multiple definitions:

Alignment value to which kernel should be aligned found in arch/x86/Kconfig

The configuration item CONFIG_PHYSICAL_ALIGN:

Help text

This value puts the alignment restrictions on physical address where kernel is loaded and run from. Kernel is compiled for an address which meets above alignment restriction.

If bootloader loads the kernel at a non-aligned address and RELOCATABLE is set, kernel will move itself to nearest address aligned to above value and run from there.

If bootloader loads the kernel at a non-aligned address and RELOCATABLE is not set, kernel will ignore the run time load address and decompress itself to the address it has been compiled for and run from there. The address for which kernel is compiled already meets above alignment restrictions. Hence the end result is that kernel runs from a physical address meeting above alignment restrictions.

On 32-bit this value must be a multiple of 0x2000. On 64-bit this value must be a multiple of 0x200000.

Don't change this unless you know what you are doing.

found in arch/powerpc/Kconfig

The configuration item CONFIG_PHYSICAL_ALIGN:

Help text

This value puts the alignment restrictions on physical address where kernel is loaded and run from. Kernel is compiled for an address which meets above alignment restriction.

Alignment value to which kernel should be aligned found in arch/i386/Kconfig

The configuration item CONFIG_PHYSICAL_ALIGN:

Help text

This value puts the alignment restrictions on physical address where kernel is loaded and run from. Kernel is compiled for an address which meets above alignment restriction.

If bootloader loads the kernel at a non-aligned address and RELOCATABLE is set, kernel will move itself to nearest address aligned to above value and run from there.

If bootloader loads the kernel at a non-aligned address and RELOCATABLE is not set, kernel will ignore the run time load address and decompress itself to the address it has been compiled for and run from there. The address for which kernel is compiled already meets above alignment restrictions. Hence the end result is that kernel runs from a physical address meeting above alignment restrictions.

Don't change this unless you know what you are doing.

found in arch/x86_64/Kconfig

The configuration item CONFIG_PHYSICAL_ALIGN:

Help text

(none)

Hardware

LKDDb

Raw data from LKDDb:

Sources

This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - P index

Automatically generated (in year 2024). See also LKDDb sources on GitLab