From 8d44fff34a331e36d32db911f8ec96c69992619c Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 15 May 2012 09:14:14 -0500 Subject: [PATCH] rpi: Raise exception on loader return --- src/system/boot/platform/raspberrypi_arm/entry.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/system/boot/platform/raspberrypi_arm/entry.S b/src/system/boot/platform/raspberrypi_arm/entry.S index 2b2fe49e02..2980d6cc19 100644 --- a/src/system/boot/platform/raspberrypi_arm/entry.S +++ b/src/system/boot/platform/raspberrypi_arm/entry.S @@ -10,3 +10,6 @@ jmp_loader: /* Start Haiku loader */ b pi_start + + /* Cause exception if loader returns */ + swi 0xFFFFFF