Skip to content
Commit 54c45250 authored by Daniel Leung's avatar Daniel Leung Committed by Christopher Friedt
Browse files

device: give device state variables a linker section



This groups the device state variables in their own linker section.
This is needed for demand paging as these variables are needed
during boot where the paging mechanism has not been initialized.
These variables need to be in the pinned section so they can
be accessed during boot.

Note that if device PM is not enabled, the device state variables
are put into BSS. So we need to pin these.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent e6f168c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment