Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sh_bios.c File Reference
#include <linux/module.h>
#include <linux/console.h>
#include <linux/tty.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <asm/sh_bios.h>

Go to the source code of this file.

Macros

#define BIOS_CALL_CONSOLE_WRITE   0
 
#define BIOS_CALL_ETH_NODE_ADDR   10
 
#define BIOS_CALL_SHUTDOWN   11
 
#define BIOS_CALL_GDB_DETACH   0xff
 

Functions

void sh_bios_console_write (const char *buf, unsigned int len)
 
void sh_bios_gdb_detach (void)
 
 EXPORT_SYMBOL_GPL (sh_bios_gdb_detach)
 
void sh_bios_get_node_addr (unsigned char *node_addr)
 
 EXPORT_SYMBOL_GPL (sh_bios_get_node_addr)
 
void sh_bios_shutdown (unsigned int how)
 
void sh_bios_vbr_init (void)
 
void sh_bios_vbr_reload (void)
 
 early_param ("earlyprintk", setup_early_printk)
 

Variables

voidgdb_vbr_vector = NULL
 

Macro Definition Documentation

#define BIOS_CALL_CONSOLE_WRITE   0

Definition at line 21 of file sh_bios.c.

#define BIOS_CALL_ETH_NODE_ADDR   10

Definition at line 22 of file sh_bios.c.

#define BIOS_CALL_GDB_DETACH   0xff

Definition at line 24 of file sh_bios.c.

#define BIOS_CALL_SHUTDOWN   11

Definition at line 23 of file sh_bios.c.

Function Documentation

early_param ( "earlyprintk"  ,
setup_early_printk   
)
EXPORT_SYMBOL_GPL ( sh_bios_gdb_detach  )
EXPORT_SYMBOL_GPL ( sh_bios_get_node_addr  )
void sh_bios_console_write ( const char buf,
unsigned int  len 
)

Definition at line 46 of file sh_bios.c.

void sh_bios_gdb_detach ( void  )

Definition at line 51 of file sh_bios.c.

void sh_bios_get_node_addr ( unsigned char node_addr)

Definition at line 57 of file sh_bios.c.

void sh_bios_shutdown ( unsigned int  how)

Definition at line 63 of file sh_bios.c.

void sh_bios_vbr_init ( void  )

Definition at line 73 of file sh_bios.c.

void sh_bios_vbr_reload ( void  )

sh_bios_vbr_reload - Re-load the system VBR from the BIOS vector.

This can be used by save/restore code to reinitialize the system VBR from the fixed BIOS VBR. A no-op if no BIOS VBR is known.

Definition at line 96 of file sh_bios.c.

Variable Documentation

void* gdb_vbr_vector = NULL

Definition at line 26 of file sh_bios.c.