The kernel deals with multiple types of memory, so understanding the difference is key to implementing a successful driver or kernel extension.
The types of memory can be categorized as:
In addition to the three types of memory addresses, the amount of addressable memory differs between architectures and can be from 32-bit to 64-bit. Memory may also be ordered differently depending on the architecture and can be of little or big endian.
The following sections will discuss the importance and usage of each type of memory as it applies to kernel programming.
A physical address refers to the addressing system used by the CPU to access ...