Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
oflib.c File Reference
#include <stddef.h>
#include "types.h"
#include "elf.h"
#include "string.h"
#include "stdio.h"
#include "page.h"
#include "ops.h"
#include "of.h"

Go to the source code of this file.


void of_init (void *promptr)
int of_call_prom (const char *service, int nargs, int nret,...)
voidof_claim (unsigned long virt, unsigned long size, unsigned long align)
voidof_vmlinux_alloc (unsigned long size)
void of_exit (void)
voidof_finddevice (const char *name)
int of_getprop (const void *phandle, const char *name, void *buf, const int buflen)
int of_setprop (const void *phandle, const char *name, const void *buf, const int buflen)

Function Documentation

int of_call_prom ( const char service,
int  nargs,
int  nret,

Definition at line 26 of file oflib.c.

void* of_claim ( unsigned long  virt,
unsigned long  size,
unsigned long  align 

Definition at line 147 of file oflib.c.

void of_exit ( void  )

Definition at line 190 of file oflib.c.

void* of_finddevice ( const char name)

Definition at line 198 of file oflib.c.

int of_getprop ( const void phandle,
const char name,
void buf,
const int  buflen 

Definition at line 203 of file oflib.c.

void of_init ( void promptr)

Definition at line 21 of file oflib.c.

int of_setprop ( const void phandle,
const char name,
const void buf,
const int  buflen 

Definition at line 209 of file oflib.c.

void* of_vmlinux_alloc ( unsigned long  size)

Definition at line 169 of file oflib.c.