1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Deorbit suibyte(). It was only used for split address space systems

for supporting UIO_USERISPACE (ie: it wasn't used).
This commit is contained in:
Peter Wemm 2002-06-20 07:13:35 +00:00
parent 51ddbf586b
commit b23619e02a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98480
11 changed files with 15 additions and 72 deletions

View File

@ -150,11 +150,6 @@
RET
END(fubyte)
LEAF(suibyte, 2)
ldiq v0, -1
RET
END(suibyte)
LEAF(fusufault, 0)
ldq t0, PC_CURTHREAD(pcpup)
ldq t0, TD_PCB(t0)

View File

@ -1204,9 +1204,9 @@ ENTRY(fuswintr)
ret
/*
* fusword - MP SAFE
* fuword16 - MP SAFE
*/
ENTRY(fusword)
ENTRY(fuword16)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
@ -1293,9 +1293,9 @@ ENTRY(suword32)
jmp suword
/*
* susword - MP SAFE (if not I386_CPU)
* suword16 - MP SAFE (if not I386_CPU)
*/
ENTRY(susword)
ENTRY(suword16)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
@ -1339,9 +1339,8 @@ ENTRY(susword)
ret
/*
* su[i]byte - MP SAFE (if not I386_CPU)
* subyte - MP SAFE (if not I386_CPU)
*/
ALTENTRY(suibyte)
ENTRY(subyte)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)

View File

@ -1204,9 +1204,9 @@ ENTRY(fuswintr)
ret
/*
* fusword - MP SAFE
* fuword16 - MP SAFE
*/
ENTRY(fusword)
ENTRY(fuword16)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
@ -1293,9 +1293,9 @@ ENTRY(suword32)
jmp suword
/*
* susword - MP SAFE (if not I386_CPU)
* suword16 - MP SAFE (if not I386_CPU)
*/
ENTRY(susword)
ENTRY(suword16)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
@ -1339,9 +1339,8 @@ ENTRY(susword)
ret
/*
* su[i]byte - MP SAFE (if not I386_CPU)
* subyte - MP SAFE (if not I386_CPU)
*/
ALTENTRY(suibyte)
ENTRY(subyte)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)

View File

@ -1204,9 +1204,9 @@ ENTRY(fuswintr)
ret
/*
* fusword - MP SAFE
* fuword16 - MP SAFE
*/
ENTRY(fusword)
ENTRY(fuword16)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
@ -1293,9 +1293,9 @@ ENTRY(suword32)
jmp suword
/*
* susword - MP SAFE (if not I386_CPU)
* suword16 - MP SAFE (if not I386_CPU)
*/
ENTRY(susword)
ENTRY(suword16)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
@ -1339,9 +1339,8 @@ ENTRY(susword)
ret
/*
* su[i]byte - MP SAFE (if not I386_CPU)
* subyte - MP SAFE (if not I386_CPU)
*/
ALTENTRY(suibyte)
ENTRY(subyte)
movl PCPU(CURPCB),%ecx
movl $fusufault,PCB_ONFAULT(%ecx)

View File

@ -359,11 +359,6 @@ ENTRY(fubyte, 1)
END(fubyte)
ENTRY(suibyte, 2)
mov ret0=-1
br.ret.sptk.few rp
END(suibyte)
ENTRY(fusufault, 0)
st8 [r15]=r0 ;; // r15 points at onfault
mov ret0=r0

View File

@ -359,11 +359,6 @@ ENTRY(fubyte, 1)
END(fubyte)
ENTRY(suibyte, 2)
mov ret0=-1
br.ret.sptk.few rp
END(suibyte)
ENTRY(fusufault, 0)
st8 [r15]=r0 ;; // r15 points at onfault
mov ret0=r0

View File

@ -232,13 +232,6 @@ subyte(void *addr, int byte)
return (0);
}
int
suibyte(void *addr, int byte)
{
return (subyte(addr, byte));
}
int
suword(void *addr, long word)
{

View File

@ -232,13 +232,6 @@ subyte(void *addr, int byte)
return (0);
}
int
suibyte(void *addr, int byte)
{
return (subyte(addr, byte));
}
int
suword(void *addr, long word)
{

View File

@ -535,18 +535,6 @@ ENTRY(subyte)
SU_ALIGNED(stba, .Lfsfault)
END(subyte)
/*
* int suibyte(const void *base, int byte)
*/
ENTRY(suibyte)
#if KTR_COMPILE & KTR_CT1
CATR(KTR_CT1, "suibyte: base=%#lx", %g1, %g2, %g3, 7, 8, 9)
stx %o0, [%g1 + KTR_PARM1]
9:
#endif
SU_ALIGNED(stba, fsbail)
END(suibyte)
/*
* int susword(const void *base, int word)
*/

View File

@ -535,18 +535,6 @@ ENTRY(subyte)
SU_ALIGNED(stba, .Lfsfault)
END(subyte)
/*
* int suibyte(const void *base, int byte)
*/
ENTRY(suibyte)
#if KTR_COMPILE & KTR_CT1
CATR(KTR_CT1, "suibyte: base=%#lx", %g1, %g2, %g3, 7, 8, 9)
stx %o0, [%g1 + KTR_PARM1]
9:
#endif
SU_ALIGNED(stba, fsbail)
END(suibyte)
/*
* int susword(const void *base, int word)
*/

View File

@ -181,7 +181,6 @@ int copyout(const void *kaddr, void *udaddr, size_t len);
int fubyte(const void *base);
int subyte(void *base, int byte);
int suibyte(void *base, int byte);
int32_t fuword32(const void *base);
int64_t fuword64(const void *base);
long fuword(const void *base);