/shark/trunk/drivers/linuxc24/include/linux/compatib.h |
---|
1,5 → 1,8 |
#include <kernel/kern.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
#ifndef __UNIXCOMP__ |
#define __UNIXCOMP__ |
122,4 → 125,5 |
/* *** from linux-2.2.17/include/linux/byteorder/generic.h */ |
#define le16_to_cpu __le16_to_cpu |
__END_DECLS |
#endif |
/shark/trunk/drivers/linuxc24/include/asm/io.h |
---|
2,7 → 2,10 |
#define __IO__ |
#include <linux/compatib.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
/* |
* Thanks to James van Artsdalen for a better timing-fix than |
* the two short jumps: using outb's to a nonexistent port seems |
71,5 → 74,5 |
#define writew(b,addr) (*(volatile unsigned short *) __io_virt(addr) = (b)) |
#define writel(b,addr) (*(volatile unsigned int *) __io_virt(addr) = (b)) |
__END_DECLS |
#endif |
/shark/trunk/drivers/linuxc24/include/fpu_control.h |
---|
21,6 → 21,10 |
#ifndef _FPU_CONTROL_H |
#define _FPU_CONTROL_H 1 |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
/* Here is the dirty part. Set up your 387 through the control word |
* (cw) register. |
* |
95,4 → 99,5 |
/* Default control word set at startup. */ |
extern fpu_control_t __fpu_control; |
__END_DECLS |
#endif /* fpu_control.h */ |
/shark/trunk/drivers/linuxc24/include/byteswap.h |
---|
21,8 → 21,11 |
/* Get the machine specific, optimized definitions. */ |
#include <bits/byteswap.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
/* The following definitions must all be macros since otherwise some |
of the possible optimizations are not possible. */ |
37,4 → 40,5 |
# define bswap_64(x) __bswap_64 (x) |
#endif |
__END_DECLS |
#endif /* byteswap.h */ |
/shark/trunk/drivers/linuxc24/include/stdint.h |
---|
26,7 → 26,10 |
#include <features.h> |
#include <bits/wchar.h> |
#include <bits/wordsize.h> |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
/* Exact integral types. */ |
/* Signed. */ |
317,4 → 320,5 |
#endif /* C++ && constant macros */ |
__END_DECLS |
#endif /* stdint.h */ |
/shark/trunk/drivers/linuxc24/include/sys/ttydefaults.h |
---|
40,6 → 40,10 |
#ifndef _SYS_TTYDEFAULTS_H_ |
#define _SYS_TTYDEFAULTS_H_ |
#include "ll/sys/cdefs.h" |
__BEGIN_DECLS |
/* |
* Defaults on "first" open. |
*/ |
97,4 → 101,6 |
CDISCARD, CMIN, CTIME, CSTATUS, _POSIX_VDISABLE |
}; |
#undef TTYDEFCHARS |
__END_DECLS |
#endif |