diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-08-03 16:13:20 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-08-03 16:13:20 +0000 |
commit | a378d612d2f809728ae7329274cb4440639620c3 (patch) | |
tree | fc992d9a7f41096e3892b6a981570504ddaea1c0 /pfinet/asm | |
parent | 4321c1dec435027876cf89a25aedeb68b67275cf (diff) |
Formerly segment.h.~3~
Diffstat (limited to 'pfinet/asm')
-rw-r--r-- | pfinet/asm/segment.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 <sys/types.h> + #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 |