2003-12-08 10:34:36 +09:00
|
|
|
#ifndef _M68K_TYPES_H
|
|
|
|
#define _M68K_TYPES_H
|
|
|
|
|
2018-08-06 20:47:39 +09:00
|
|
|
#include <asm-generic/int-ll64.h>
|
|
|
|
|
2003-12-08 10:34:36 +09:00
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
|
|
|
|
typedef unsigned short umode_t;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
__u32 u[4];
|
2009-04-21 01:08:46 +09:00
|
|
|
} __attribute__((aligned(16))) vector128;
|
2003-12-08 10:34:36 +09:00
|
|
|
|
|
|
|
#ifdef __KERNEL__
|
|
|
|
|
|
|
|
#define BITS_PER_LONG 32
|
|
|
|
|
|
|
|
/* DMA addresses are 32-bits wide */
|
|
|
|
typedef u32 dma_addr_t;
|
|
|
|
|
2008-03-28 01:46:38 +09:00
|
|
|
typedef unsigned long phys_addr_t;
|
|
|
|
typedef unsigned long phys_size_t;
|
|
|
|
|
2003-12-08 10:34:36 +09:00
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
|
|
#endif
|