]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/sparc/include/asm/types.h
2 * (C) Copyright 2000 - 2002
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * SPDX-License-Identifier: GPL-2.0+
13 typedef unsigned short umode_t
;
15 typedef __signed__
char __s8
;
16 typedef unsigned char __u8
;
18 typedef __signed__
short __s16
;
19 typedef unsigned short __u16
;
21 typedef __signed__
int __s32
;
22 typedef unsigned int __u32
;
24 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
25 typedef __signed__
long long __s64
;
26 typedef unsigned long long __u64
;
31 } __attribute__((aligned(16))) vector128
;
35 * These aren't exported outside the kernel to avoid name space clashes
37 typedef signed char s8
;
38 typedef unsigned char u8
;
40 typedef signed short s16
;
41 typedef unsigned short u16
;
43 typedef signed int s32
;
44 typedef unsigned int u32
;
46 typedef signed long long s64
;
47 typedef unsigned long long u64
;
49 #define BITS_PER_LONG 32
51 /* DMA addresses are 32-bits wide */
52 typedef u32 dma_addr_t
;
54 typedef unsigned long phys_addr_t
;
55 typedef unsigned long phys_size_t
;
57 #endif /* __KERNEL__ */
58 #endif /* __ASSEMBLY__ */