From a378d612d2f809728ae7329274cb4440639620c3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 3 Aug 1995 16:13:20 +0000 Subject: Formerly segment.h.~3~ --- pfinet/asm/segment.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pfinet/asm/segment.h') diff --git a/pfinet/asm/segment.h b/pfinet/asm/segment.h index ff8eb64d..aca9bcfc 100644 --- a/pfinet/asm/segment.h +++ b/pfinet/asm/segment.h @@ -1,11 +1,17 @@ #ifndef _HACK_ASM_SEGMENT_H_ #define _HACK_ASM_SEGMENT_H_ +#include + #define get_fs_long(addr) get_user_long((int *)(addr)) -u_long get_user_long (const int *addr); +unsigned long get_user_long (const int *addr); #define put_fs_long(x,addr) put_user_long((x),(int *)(addr)) -void put_user_long (u_long, int *); +void put_user_long (unsigned long, int *); + +void memcpy_fromfs (void *, void *, size_t); +void memcpy_tofs (void *, void *, size_t); +#endif -- cgit v1.2.3