libmetal
Loading...
Searching...
No Matches
sys.h File Reference
#include <stdlib.h>
#include <metal/log.h>
#include <metal/list.h>
#include <metal/system/@PROJECT_SYSTEM@/sys.h>

Go to the source code of this file.

Data Structures

struct  metal_init_params
struct  metal_common_state

Macros

#define METAL_BAD_OFFSET   ((unsigned long)-1)
#define METAL_BAD_PHYS   ((metal_phys_addr_t)-1)
#define METAL_BAD_VA   ((void *)-1)
#define METAL_BAD_IRQ   ((metal_irq_t)-1)
#define METAL_INIT_DEFAULTS

Typedefs

typedef unsigned long metal_phys_addr_t
typedef int metal_irq_t

Functions

int metal_init (const struct metal_init_params *params)
 Initialize libmetal.
void metal_finish (void)
 Shutdown libmetal.

Variables

struct metal_state _metal