xen/ppc: add section for device information in linker script

Introduce a new `.dev.info` section in the PPC linker script to
handle device-specific information. This section is required by
common code (common/device.c: device_init(), device_get_class() ).
This section is aligned to `POINTER_ALIGN`, with `_sdevice` and `_edevice`
marking the start and end of the section, respectively.

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Acked-by: Shawn Anastasio <sanastasio@raptorengineering.com>
This commit is contained in:
Oleksii Kurochko authored and Jan Beulich committed 2024-10-15 14:21:04 +02:00
1 parent 31f31b624a
commit 7a87b5e05c
1 file changed
+2
+2
View File
@@ -96,6 +96,8 @@ SECTIONS
CONSTRUCTORS
} :text
DT_DEV_INFO /* Devicetree based device info */
. = ALIGN(PAGE_SIZE); /* Init code and data */
__init_begin = .;
DECL_SECTION(.init.text) {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.