summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/copyinout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/aim/copyinout.c')
-rw-r--r--sys/powerpc/aim/copyinout.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/powerpc/aim/copyinout.c b/sys/powerpc/aim/copyinout.c
index cab274c..70789ac 100644
--- a/sys/powerpc/aim/copyinout.c
+++ b/sys/powerpc/aim/copyinout.c
@@ -265,6 +265,13 @@ suword(void *addr, long word)
}
int
+suword32(void *addr, u_int32_t word)
+{
+ return (suword(addr, word));
+}
+
+
+int
fubyte(const void *addr)
{
struct thread *td;
@@ -314,3 +321,9 @@ fuword(const void *addr)
td->td_pcb->pcb_onfault = NULL;
return (val);
}
+
+u_int32_t
+fuword32(const void *addr)
+{
+ return (fuword(addr));
+}
OpenPOWER on IntegriCloud