Initial commit
This commit is contained in:
22
kernel/types.h
Normal file
22
kernel/types.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* types.h
|
||||
*
|
||||
* Created on: Nov 1, 2018
|
||||
* Author: rick
|
||||
*/
|
||||
|
||||
#ifndef KERNEL_LIBC_TYPES_H_
|
||||
#define KERNEL_LIBC_TYPES_H_
|
||||
|
||||
# define NULL (void *)0
|
||||
|
||||
typedef unsigned long long u64;
|
||||
typedef long long s64;
|
||||
typedef unsigned int u32;
|
||||
typedef int s32;
|
||||
typedef unsigned short u16;
|
||||
typedef short s16;
|
||||
typedef unsigned char u8;
|
||||
typedef char s8;
|
||||
|
||||
#endif /* KERNEL_LIBC_TYPES_H_ */
|
||||
Reference in New Issue
Block a user