From 9d2c877b284a095dcd7cd037d3313eb14c89a6ca Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 13 Jul 2004 09:45:52 +0000 Subject: Do not trash r14 by mistake in __savectx. --- sys/arch/m88k/m88k/process.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/m88k/m88k/process.S b/sys/arch/m88k/m88k/process.S index 75368236e2e..31d0dc044e0 100644 --- a/sys/arch/m88k/m88k/process.S +++ b/sys/arch/m88k/m88k/process.S @@ -1,4 +1,4 @@ -/* $OpenBSD: process.S,v 1.3 2004/06/26 20:44:37 miod Exp $ */ +/* $OpenBSD: process.S,v 1.4 2004/07/13 09:45:51 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * All rights reserved. @@ -331,5 +331,6 @@ ASENTRY(__savectx) fldcr r2, fcr62 fldcr r3, fcr63 st r2, r14, PCB_FCR62 + st r3, r14, PCB_FCR63 jmp.n r1 - st r3, r14, PCB_FCR63 + ld r14, r14, PCB_R14 /* preserve r14 */ -- cgit v1.2.3