coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __TEGRA_MISC_TYPES_H__
4 #define __TEGRA_MISC_TYPES_H__
5 
6 #define EFAULT 1
7 #define EINVAL 2
8 #define ETIMEDOUT 3
9 #define ENOSPC 4
10 #define ENOSYS 5
11 #define EPTR 6
12 
13 #define IS_ERR_PTR(ptr) \
14  (ptr == (void *)-EPTR)
15 
16 #endif /* __TEGRA_MISC_TYPES_H__ */