summaryrefslogtreecommitdiff
path: root/pfinet/asm
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-04 19:51:57 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-04 19:51:57 +0000
commit6430e733ad662ad8db534e4020c7b6da73b2d3b4 (patch)
tree6ed24ec4f6f3e890d0f40319c4b6a72747944e28 /pfinet/asm
parent741e3734ec897f7992f410312dd82f8b41a786e6 (diff)
Formerly segment.h.~4~
Diffstat (limited to 'pfinet/asm')
-rw-r--r--pfinet/asm/segment.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pfinet/asm/segment.h b/pfinet/asm/segment.h
index aca9bcfc..6278814d 100644
--- a/pfinet/asm/segment.h
+++ b/pfinet/asm/segment.h
@@ -4,13 +4,14 @@
#include <sys/types.h>
#define get_fs_long(addr) get_user_long((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 (unsigned long, int *);
+#define put_fs_byte(x,addr) put_user_byte ((x),(char *)(addr))
+void put_user_byte (char, char *);
+
void memcpy_fromfs (void *, void *, size_t);
void memcpy_tofs (void *, void *, size_t);