diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-04 15:59:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-04 15:59:07 +0000 |
commit | 078669f3e390b2e1e5d5218e1025513c605f93a3 (patch) | |
tree | 46216b1f63819154a863fd9b8aa67e2fbefbe49d /sys/arch | |
parent | ae2af8998088af5acca602a1d376dd9bb5290758 (diff) |
Remove probeset() for real this time...
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/solbourne/solbourne/locore.s | 26 |
1 files changed, 1 insertions, 25 deletions
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 */ /* @@ -3769,30 +3769,6 @@ Lfsbail: 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) * * Copy `nbytes' bytes from src to dst, both of which are word-aligned; |