mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-23 23:47:16 +08:00
linux: Make Linux types available in user-space
This commit is contained in:
parent
0de65a8782
commit
65d6fa20fb
@ -31,8 +31,6 @@
|
|||||||
#ifndef _ASM_TYPES_H_
|
#ifndef _ASM_TYPES_H_
|
||||||
#define _ASM_TYPES_H_
|
#define _ASM_TYPES_H_
|
||||||
|
|
||||||
#ifdef _KERNEL
|
|
||||||
|
|
||||||
typedef uint8_t u8;
|
typedef uint8_t u8;
|
||||||
typedef uint8_t __u8;
|
typedef uint8_t __u8;
|
||||||
typedef uint16_t u16;
|
typedef uint16_t u16;
|
||||||
@ -57,6 +55,4 @@ typedef vm_paddr_t dma64_addr_t;
|
|||||||
|
|
||||||
typedef unsigned short umode_t;
|
typedef unsigned short umode_t;
|
||||||
|
|
||||||
#endif /* _KERNEL */
|
|
||||||
|
|
||||||
#endif /* _ASM_TYPES_H_ */
|
#endif /* _ASM_TYPES_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user