summaryrefslogtreecommitdiff
path: root/pfinet/asm
diff options
context:
space:
mode:
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);