Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
setup.c File Reference
#include <linux/kernel.h>
#include <linux/serial_8250.h>
#include <linux/pm.h>
#include <asm/reboot.h>
#include <asm/time.h>
#include <asm/bootinfo.h>
#include <asm/netlogic/interrupt.h>
#include <asm/netlogic/psb-bootinfo.h>
#include <asm/netlogic/haldefs.h>
#include <asm/netlogic/common.h>
#include <asm/netlogic/xlr/xlr.h>
#include <asm/netlogic/xlr/iomap.h>
#include <asm/netlogic/xlr/pic.h>
#include <asm/netlogic/xlr/gpio.h>

Go to the source code of this file.

Functions

void __init plat_mem_setup (void)
 
const charget_system_type (void)
 
unsigned int nlm_get_cpu_frequency (void)
 
void __init prom_free_prom_memory (void)
 
void __init prom_init (void)
 

Variables

uint64_t nlm_io_base = DEFAULT_NETLOGIC_IO_BASE
 
uint64_t nlm_pic_base
 
struct psb_info nlm_prom_info
 
unsigned long nlm_common_ebase = 0x0
 
uint32_t nlm_coremask = 1
 
uint32_t nlm_cpumask = 1
 
int nlm_threads_per_core = 1
 

Function Documentation

const char* get_system_type ( void  )

Definition at line 101 of file setup.c.

unsigned int nlm_get_cpu_frequency ( void  )

Definition at line 106 of file setup.c.

void __init plat_mem_setup ( void  )

Definition at line 93 of file setup.c.

void __init prom_free_prom_memory ( void  )

Definition at line 111 of file setup.c.

void __init prom_init ( void  )

Early entry point for arch setup

Definition at line 179 of file setup.c.

Variable Documentation

unsigned long nlm_common_ebase = 0x0

Definition at line 57 of file setup.c.

uint32_t nlm_coremask = 1

Definition at line 60 of file setup.c.

uint32_t nlm_cpumask = 1

Definition at line 60 of file setup.c.

Definition at line 53 of file setup.c.

uint64_t nlm_pic_base

Definition at line 54 of file setup.c.

struct psb_info nlm_prom_info

Definition at line 55 of file setup.c.

int nlm_threads_per_core = 1

Definition at line 61 of file setup.c.