From 28b19a047f98ac80090e5286d5f0c0349b91dc38 Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sun, 21 Apr 2013 13:00:34 -0700 Subject: Implement CHK instruction (not fully tested). --- runtime.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runtime.S') diff --git a/runtime.S b/runtime.S index ccc644f..0136aba 100644 --- a/runtime.S +++ b/runtime.S @@ -91,10 +91,9 @@ already_supervisor_trap: /* calculate interrupt vector address */ pop %rcx shl $2, %ecx - add $0x80, %ecx call m68k_read_long_scratch1 call m68k_native_addr_and_sync - add $24, %eax + add $18, %eax jmp *%rcx invalid_msg: -- cgit v1.2.3