blob: 6278814d72bad629fcb4980de7f4eafed9abe402 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef _HACK_ASM_SEGMENT_H_
#define _HACK_ASM_SEGMENT_H_
#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);
#endif
|