summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/trap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index f9a5bff..4806434 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -398,6 +398,10 @@ trap(struct trapframe *frame)
i = SIGBUS;
ucode = BUS_OBJERR;
break;
+ case T_ALIGNFLT:
+ i = SIGBUS;
+ ucode = BUS_ADRALN;
+ break;
case T_DOUBLEFLT: /* double fault */
default:
i = SIGBUS;
OpenPOWER on IntegriCloud