coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
pnp_type.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef __DEVICE_PNP_TYPE_H__
4 #define __DEVICE_PNP_TYPE_H__
5 
6 #include <stdint.h>
7 
8 typedef u32 pnp_devfn_t;
9 
10 #define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC))
11 
12 #if defined(__SIMPLE_DEVICE__)
13 #define ENV_PNP_SIMPLE_DEVICE 1
14 #else
15 #define ENV_PNP_SIMPLE_DEVICE 0
16 #endif
17 
18 #endif /* __DEVICE_PNP_TYPE_H__ */
u32 pnp_devfn_t
Definition: pnp_type.h:8
uint32_t u32
Definition: stdint.h:51