Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
prom.c File Reference
#include <linux/serial_reg.h>
#include <asm/bootinfo.h>
#include <loongson1.h>
#include <prom.h>

Go to the source code of this file.

Macros

#define PORT(offset)   (u8 *)(KSEG1ADDR(LS1X_UART0_BASE + offset))
 

Functions

charprom_getenv (char *envname)
 
void __init prom_init_cmdline (void)
 
void __init prom_init (void)
 
void __init prom_free_prom_memory (void)
 
void __init prom_putchar (char c)
 

Variables

int prom_argc
 
char ** prom_argv
 
char ** prom_envp
 
unsigned long memsize
 
unsigned long highmemsize
 

Macro Definition Documentation

#define PORT (   offset)    (u8 *)(KSEG1ADDR(LS1X_UART0_BASE + offset))

Definition at line 74 of file prom.c.

Function Documentation

void __init prom_free_prom_memory ( void  )

Definition at line 70 of file prom.c.

char* prom_getenv ( char envname)

Definition at line 22 of file prom.c.

void __init prom_init ( void  )

Early entry point for arch setup

Definition at line 58 of file prom.c.

void __init prom_init_cmdline ( void  )

Definition at line 44 of file prom.c.

void __init prom_putchar ( char  c)

Definition at line 76 of file prom.c.

Variable Documentation

unsigned long highmemsize

Definition at line 20 of file prom.c.

unsigned long memsize

Definition at line 20 of file prom.c.

int prom_argc

Definition at line 18 of file prom.c.

char** prom_argv

Definition at line 19 of file prom.c.

char ** prom_envp

Definition at line 19 of file prom.c.