From e8d149b2f764dc40d5530a9deac9d39ccfcb1d30 Mon Sep 17 00:00:00 2001 From: dfr Date: Sun, 26 May 2002 16:03:13 +0000 Subject: Add declarations of suword32 and suword64. Add implementations of one or the other (or both) to all the platforms. Similar for fuword32 and fuword64. --- sys/powerpc/aim/copyinout.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'sys/powerpc/aim') 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)); +} -- cgit v1.1