summaryrefslogtreecommitdiff
path: root/src/arch/arm/armv7
diff options
context:
space:
mode:
authorIntegral <integral@member.fsf.org>2024-04-23 14:44:31 -0700
committerFelix Held <felix-coreboot@felixheld.de>2024-04-26 11:52:36 +0000
commit8b9063c6b8610936ead9850a23277aa9dd8e62aa (patch)
treefa2653ada3740166c3a858798809252149580dfe /src/arch/arm/armv7
parent90e835db2d2ef75ea7d0999090d1806cf7f85a4a (diff)
arch/arm/armv7/exception.c: fix warnings of macros and functions
Use better alignment attribute macro and add missing identifier names for function definition arguments. Change-Id: I1c5c33fc9210f068ff88c8d981f1a1c739890c9c Signed-off-by: Integral <integral@member.fsf.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82050 Reviewed-by: Julius Werner <jwerner@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/arm/armv7')
-rw-r--r--src/arch/arm/armv7/exception.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/arch/arm/armv7/exception.c b/src/arch/arm/armv7/exception.c
index 799ae027c9..3f53d15f7b 100644
--- a/src/arch/arm/armv7/exception.c
+++ b/src/arch/arm/armv7/exception.c
@@ -5,16 +5,16 @@
#include <arch/exception.h>
#include <console/console.h>
-uint8_t exception_stack[0x100] __attribute__((aligned(8)));
+uint8_t exception_stack[0x100] __aligned(8);
extern void *exception_stack_end;
-void exception_undefined_instruction(uint32_t *);
-void exception_software_interrupt(uint32_t *);
-void exception_prefetch_abort(uint32_t *);
-void exception_data_abort(uint32_t *);
-void exception_not_used(uint32_t *);
-void exception_irq(uint32_t *);
-void exception_fiq(uint32_t *);
+void exception_undefined_instruction(uint32_t *regs);
+void exception_software_interrupt(uint32_t *regs);
+void exception_prefetch_abort(uint32_t *regs);
+void exception_data_abort(uint32_t *regs);
+void exception_not_used(uint32_t *regs);
+void exception_irq(uint32_t *regs);
+void exception_fiq(uint32_t *regs);
static void dump_stack(uintptr_t addr, size_t bytes)
{