Refactor arm/xen.lds.S by replacing the inline definitions for
device info sections with the newly introduced {DT,ACPI}_DEV_INFO
macros from xen/xen.lds.h.
Change alignment of DT_DEV_INFO and ACPI_DEV_INFO sections from
8 to POINTER_ALIGN as struct acpi_device_desc and struct device_desc
don't have any uint64_t's so it is safe to do that.
Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
Reviewed-by: Michal Orzel <michal.orzel@amd.com>
_eplatform = .;
} :text
- . = ALIGN(8);
- .dev.info : {
- _sdevice = .;
- *(.dev.info)
- _edevice = .;
- } :text
+ DT_DEV_INFO
#ifdef CONFIG_ACPI
- . = ALIGN(8);
- .adev.info : {
- _asdevice = .;
- *(.adev.info)
- _aedevice = .;
- } :text
+ ACPI_DEV_INFO
#endif
. = ALIGN(8);