From 078669f3e390b2e1e5d5218e1025513c605f93a3 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 4 Mar 2006 15:59:07 +0000 Subject: Remove probeset() for real this time... --- sys/arch/solbourne/solbourne/locore.s | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'sys') diff --git a/sys/arch/solbourne/solbourne/locore.s b/sys/arch/solbourne/solbourne/locore.s index b3fab4862cb..8d7b45de8fa 100644 --- a/sys/arch/solbourne/solbourne/locore.s +++ b/sys/arch/solbourne/solbourne/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.5 2006/02/22 22:17:05 miod Exp $ */ +/* $OpenBSD: locore.s,v 1.6 2006/03/04 15:59:06 miod Exp $ */ /* OpenBSD: locore.s,v 1.64 2005/04/17 18:47:50 miod Exp */ /* @@ -3768,30 +3768,6 @@ Lfsbail: retl ! and return error indicator mov -1, %o0 -/* - * probeset(addr, size, val) caddr_t addr; int size, val; - * - * As above, but we return 0 on success. - */ -ENTRY(probeset) - ! %o0 = addr, %o1 = (1,2,4), %o2 = val - sethi %hi(_C_LABEL(cpcb)), %o3 - ld [%o3 + %lo(_C_LABEL(cpcb))], %o3 ! cpcb->pcb_onfault = Lfserr; - set Lfserr, %o5 - st %o5, [%o3 + PCB_ONFAULT] - btst 1, %o1 - bnz,a 0f ! if (len & 1) - stb %o2, [%o0] ! *(char *)addr = value; -0: btst 2, %o1 - bnz,a 0f ! if (len & 2) - sth %o2, [%o0] ! *(short *)addr = value; -0: btst 4, %o1 - bnz,a 0f ! if (len & 4) - st %o2, [%o0] ! *(int *)addr = value; -0: clr %o0 ! made it, clear onfault and return 0 - retl - st %g0, [%o3 + PCB_ONFAULT] - /* * copywords(src, dst, nbytes) * -- cgit v1.2.3