RTEMS CPU Kit with SuperCore  4.11.3
Macros | Typedefs
mknod-pack_dev.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define major_netbsd(x)   ((int32_t)((((x) & 0x000fff00) >> 8)))
 
#define minor_netbsd(x)
 
#define makedev_netbsd(x, y)
 

Typedefs

typedef dev_t portdev_t
 
typedef portdev_t pack_t(int, u_long [], const char **)
 

Macro Definition Documentation

◆ makedev_netbsd

#define makedev_netbsd (   x,
 
)
Value:
((dev_t)((((x) << 8) & 0x000fff00) | \
(((y) << 12) & 0xfff00000) | \
(((y) << 0) & 0x000000ff)))

◆ minor_netbsd

#define minor_netbsd (   x)
Value:
((int32_t)((((x) & 0xfff00000) >> 12) | \
(((x) & 0x000000ff) >> 0)))