Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
prom.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/serial_reg.h>
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/io.h>
#include <asm/bootinfo.h>
#include <asm/mach-ar7/ar7.h>
#include <asm/mach-ar7/prom.h>

Go to the source code of this file.

Data Structures

struct  env_var
 
struct  psbl_rec
 
struct  psp_env_chunk
 
struct  psp_var_map_entry
 

Macros

#define MAX_ENTRY   80
 
#define PSP_ENV_SIZE   4096
 
#define PORT(offset)   (KSEG1ADDR(AR7_REGS_UART0 + (offset * 4)))
 

Functions

charprom_getenv (const char *name)
 
 EXPORT_SYMBOL (prom_getenv)
 
void __init prom_init (void)
 
int prom_putchar (char c)
 

Variables

struct psp_env_chunk __packed
 

Macro Definition Documentation

#define MAX_ENTRY   80

Definition at line 32 of file prom.c.

#define PORT (   offset)    (KSEG1ADDR(AR7_REGS_UART0 + (offset * 4)))

Definition at line 253 of file prom.c.

#define PSP_ENV_SIZE   4096

Definition at line 125 of file prom.c.

Function Documentation

EXPORT_SYMBOL ( prom_getenv  )
char* prom_getenv ( const char name)

Definition at line 41 of file prom.c.

void __init prom_init ( void  )

Definition at line 244 of file prom.c.

int prom_putchar ( char  c)

Definition at line 264 of file prom.c.

Variable Documentation