#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 |
Initialization configuration for libmetal. More... | |
struct | metal_common_state |
System independent runtime state for libmetal. More... | |
Macros | |
#define | METAL_BAD_OFFSET ((unsigned long)-1) |
Bad offset into shared memory or I/O region. More... | |
#define | METAL_BAD_PHYS ((metal_phys_addr_t)-1) |
Bad physical address value. More... | |
#define | METAL_BAD_VA ((void *)-1) |
Bad virtual address value. More... | |
#define | METAL_BAD_IRQ ((metal_irq_t)-1) |
Bad IRQ. More... | |
#define | METAL_INIT_DEFAULTS |
Typedefs | |
typedef unsigned long | metal_phys_addr_t |
Physical address type. More... | |
typedef int | metal_irq_t |
Interrupt request number. More... | |
Functions | |
int | metal_init (const struct metal_init_params *params) |
Initialize libmetal. More... | |
void | metal_finish (void) |
Shutdown libmetal. More... | |
Variables | |
struct metal_state | _metal |
System specific runtime data. More... | |