Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
fdt_sw.c File Reference
#include "libfdt_env.h"
#include <fdt.h>
#include <libfdt.h>
#include "libfdt_internal.h"

Go to the source code of this file.

Macros

#define FDT_SW_CHECK_HEADER(fdt)
 

Functions

int fdt_create (void *buf, int bufsize)
 
int fdt_add_reservemap_entry (void *fdt, uint64_t addr, uint64_t size)
 
int fdt_finish_reservemap (void *fdt)
 
int fdt_begin_node (void *fdt, const char *name)
 
int fdt_end_node (void *fdt)
 
int fdt_property (void *fdt, const char *name, const void *val, int len)
 
int fdt_finish (void *fdt)
 

Macro Definition Documentation

#define FDT_SW_CHECK_HEADER (   fdt)
Value:
{ \
int err; \
if ((err = _fdt_sw_check_header(fdt)) != 0) \
return err; \
}

Definition at line 66 of file fdt_sw.c.

Function Documentation

int fdt_add_reservemap_entry ( void fdt,
uint64_t  addr,
uint64_t  size 
)

Definition at line 110 of file fdt_sw.c.

int fdt_begin_node ( void fdt,
const char name 
)

Definition at line 138 of file fdt_sw.c.

int fdt_create ( void buf,
int  bufsize 
)

Definition at line 88 of file fdt_sw.c.

int fdt_end_node ( void fdt)

Definition at line 154 of file fdt_sw.c.

int fdt_finish ( void fdt)

Definition at line 213 of file fdt_sw.c.

int fdt_finish_reservemap ( void fdt)

Definition at line 133 of file fdt_sw.c.

int fdt_property ( void fdt,
const char name,
const void val,
int  len 
)

Definition at line 191 of file fdt_sw.c.