coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
of.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  of_arg_t
 

Macros

#define p32   int
 
#define p32cast   (int) (unsigned long) (void *)
 
#define phandle_t   p32
 
#define ihandle_t   p32
 

Functions

phandle_t of_finddevice (const char *)
 
phandle_t of_peer (phandle_t)
 
phandle_t of_child (phandle_t)
 
phandle_t of_parent (phandle_t)
 
int of_getprop (phandle_t, const char *, void *, int)
 
voidof_call_method_3 (const char *, ihandle_t, int)
 
ihandle_t of_open (const char *)
 
void of_close (ihandle_t)
 
int of_read (ihandle_t, void *, int)
 
int of_write (ihandle_t, void *, int)
 
int of_seek (ihandle_t, int, int)
 
voidof_claim (void *, unsigned int, unsigned int)
 
void of_release (void *, unsigned int)
 
int of_yield (void)
 
voidof_set_callback (void *)
 
int vpd_read (unsigned int, unsigned int, char *)
 
int vpd_write (unsigned int, unsigned int, char *)
 
int write_mm_log (char *, unsigned int, unsigned short)
 

Macro Definition Documentation

◆ ihandle_t

#define ihandle_t   p32

Definition at line 40 of file of.h.

◆ p32

#define p32   int

Definition at line 36 of file of.h.

◆ p32cast

#define p32cast   (int) (unsigned long) (void *)

Definition at line 37 of file of.h.

◆ phandle_t

#define phandle_t   p32

Definition at line 39 of file of.h.

Function Documentation

◆ of_call_method_3()

void* of_call_method_3 ( const char *  ,
ihandle_t  ,
int   
)

◆ of_child()

phandle_t of_child ( phandle_t  )

◆ of_claim()

void* of_claim ( void ,
unsigned int  ,
unsigned int   
)

◆ of_close()

void of_close ( ihandle_t  )

◆ of_finddevice()

phandle_t of_finddevice ( const char *  )

Referenced by biosemu_dev_init().

Here is the caller graph for this function:

◆ of_getprop()

int of_getprop ( phandle_t  ,
const char *  ,
void ,
int   
)

Referenced by biosemu_dev_get_addr_info().

Here is the caller graph for this function:

◆ of_open()

ihandle_t of_open ( const char *  )

Referenced by biosemu_dev_init().

Here is the caller graph for this function:

◆ of_parent()

phandle_t of_parent ( phandle_t  )

◆ of_peer()

phandle_t of_peer ( phandle_t  )

◆ of_read()

int of_read ( ihandle_t  ,
void ,
int   
)

◆ of_release()

void of_release ( void ,
unsigned int   
)

◆ of_seek()

int of_seek ( ihandle_t  ,
int  ,
int   
)

◆ of_set_callback()

void* of_set_callback ( void )

◆ of_write()

int of_write ( ihandle_t  ,
void ,
int   
)

◆ of_yield()

int of_yield ( void  )

◆ vpd_read()

int vpd_read ( unsigned int  ,
unsigned int  ,
char *   
)

◆ vpd_write()

int vpd_write ( unsigned int  ,
unsigned int  ,
char *   
)

◆ write_mm_log()

int write_mm_log ( char *  ,
unsigned int  ,
unsigned short   
)