iPXE
Data Structures | Macros | Typedefs
mlx_types_priv.h File Reference
#include <stdint.h>
#include <ipxe/pci.h>

Go to the source code of this file.

Data Structures

union  mlx_mac_address
 

Macros

#define MLX_SUCCESS   0
 
#define MLX_OUT_OF_RESOURCES   (-1)
 
#define MLX_INVALID_PARAMETER   (-2)
 
#define MLX_UNSUPPORTED   (-3)
 
#define MLX_NOT_FOUND   (-4)
 
#define MLX_FAILED   (-5)
 
#define TRUE   1
 
#define FALSE   !TRUE
 
#define MAC_ADDR_LEN   6
 

Typedefs

typedef int mlx_status
 
typedef uint8_t mlx_uint8
 
typedef uint16_t mlx_uint16
 
typedef uint32_t mlx_uint32
 
typedef uint64_t mlx_uint64
 
typedef unsigned long mlx_uintn
 
typedef int8_t mlx_int8
 
typedef int16_t mlx_int16
 
typedef int32_t mlx_int32
 
typedef int64_t mlx_int64
 
typedef uint8_t mlx_boolean
 
typedef struct pci_device mlx_pci
 
typedef size_t mlx_size
 
typedef void mlx_void
 
typedef unsigned long mlx_physical_address
 

Macro Definition Documentation

◆ MLX_SUCCESS

#define MLX_SUCCESS   0

Definition at line 14 of file mlx_types_priv.h.

◆ MLX_OUT_OF_RESOURCES

#define MLX_OUT_OF_RESOURCES   (-1)

Definition at line 15 of file mlx_types_priv.h.

◆ MLX_INVALID_PARAMETER

#define MLX_INVALID_PARAMETER   (-2)

Definition at line 17 of file mlx_types_priv.h.

◆ MLX_UNSUPPORTED

#define MLX_UNSUPPORTED   (-3)

Definition at line 19 of file mlx_types_priv.h.

◆ MLX_NOT_FOUND

#define MLX_NOT_FOUND   (-4)

Definition at line 21 of file mlx_types_priv.h.

◆ MLX_FAILED

#define MLX_FAILED   (-5)

Definition at line 23 of file mlx_types_priv.h.

◆ TRUE

#define TRUE   1

Definition at line 26 of file mlx_types_priv.h.

◆ FALSE

#define FALSE   !TRUE

Definition at line 28 of file mlx_types_priv.h.

◆ MAC_ADDR_LEN

#define MAC_ADDR_LEN   6

Definition at line 50 of file mlx_types_priv.h.

Typedef Documentation

◆ mlx_status

typedef int mlx_status

Definition at line 30 of file mlx_types_priv.h.

◆ mlx_uint8

typedef uint8_t mlx_uint8

Definition at line 32 of file mlx_types_priv.h.

◆ mlx_uint16

Definition at line 33 of file mlx_types_priv.h.

◆ mlx_uint32

Definition at line 34 of file mlx_types_priv.h.

◆ mlx_uint64

Definition at line 35 of file mlx_types_priv.h.

◆ mlx_uintn

typedef unsigned long mlx_uintn

Definition at line 36 of file mlx_types_priv.h.

◆ mlx_int8

typedef int8_t mlx_int8

Definition at line 38 of file mlx_types_priv.h.

◆ mlx_int16

typedef int16_t mlx_int16

Definition at line 39 of file mlx_types_priv.h.

◆ mlx_int32

typedef int32_t mlx_int32

Definition at line 39 of file mlx_types_priv.h.

◆ mlx_int64

typedef int64_t mlx_int64

Definition at line 41 of file mlx_types_priv.h.

◆ mlx_boolean

Definition at line 42 of file mlx_types_priv.h.

◆ mlx_pci

typedef struct pci_device mlx_pci

Definition at line 44 of file mlx_types_priv.h.

◆ mlx_size

typedef size_t mlx_size

Definition at line 46 of file mlx_types_priv.h.

◆ mlx_void

typedef void mlx_void

Definition at line 48 of file mlx_types_priv.h.

◆ mlx_physical_address

typedef unsigned long mlx_physical_address

Definition at line 51 of file mlx_types_priv.h.