Remove .struct directive
This directive is not implemented by clang assembler. The traditional
way to implement structs in assembly is using two macros for every field,
one for the offset, and another one for the size. For every field, the
offset can be calculated using the size and offset of the previous field.

Change-Id: Iacc6781e8f302fb925898737b8e85ab4e88a51cc
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
1 parent be7d7f9 commit f21b9f6d6e6ddda6d92ec25b01f70c30bcc82d57
@Roberto Vargas Roberto Vargas authored on 1 May 2018
Showing 2 changed files
View
include/lib/cpus/aarch32/cpu_macros.S
View
include/lib/cpus/aarch64/cpu_macros.S