Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
setup.c File Reference
#include <linux/dma-mapping.h>
#include <linux/memblock.h>
#include <linux/seq_file.h>
#include <linux/bootmem.h>
#include <linux/clkdev.h>
#include <linux/initrd.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of_fdt.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/cache.h>
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/clk.h>
#include <linux/cpu.h>
#include <linux/fs.h>
#include <linux/of.h>
#include <asm/sections.h>
#include <asm/div64.h>
#include <asm/setup.h>
#include <asm/dscr.h>
#include <asm/clock.h>
#include <asm/soc.h>
#include <asm/special_insns.h>

Go to the source code of this file.

Data Structures

struct  cpuinfo_c6x
 

Macros

#define cpu_to_ptr(n)   ((void *)((long)(n)+1))
 
#define ptr_to_cpu(p)   ((long)(p) - 1)
 

Functions

 EXPORT_SYMBOL_GPL (c6x_num_cores)
 
 EXPORT_SYMBOL_GPL (c6x_silicon_rev)
 
 EXPORT_SYMBOL_GPL (c6x_devstat)
 
 EXPORT_SYMBOL (ticks_per_ns_scaled)
 
 early_param ("mem", early_mem)
 
 early_param ("memdma", early_memdma)
 
int __init c6x_add_memory (phys_addr_t start, unsigned long size)
 
notrace void __init machine_init (unsigned long dt_ptr)
 
void __init setup_arch (char **cmdline_p)
 
 subsys_initcall (topology_init)
 

Variables

int c6x_num_cores
 
unsigned int c6x_silicon_rev
 
unsigned int c6x_devstat
 
unsigned char c6x_fuse_mac [6]
 
unsigned long memory_start
 
unsigned long memory_end
 
unsigned long ram_start
 
unsigned long ram_end
 
char c6x_command_line [COMMAND_LINE_SIZE]
 
unsigned int ticks_per_ns_scaled
 
unsigned int c6x_core_freq
 
struct seq_operations cpuinfo_op
 

Macro Definition Documentation

#define cpu_to_ptr (   n)    ((void *)((long)(n)+1))

Definition at line 446 of file setup.c.

#define ptr_to_cpu (   p)    ((long)(p) - 1)

Definition at line 447 of file setup.c.

Function Documentation

int __init c6x_add_memory ( phys_addr_t  start,
unsigned long  size 
)

Definition at line 251 of file setup.c.

early_param ( "mem"  ,
early_mem   
)
early_param ( "memdma"  ,
early_memdma   
)
EXPORT_SYMBOL ( ticks_per_ns_scaled  )
EXPORT_SYMBOL_GPL ( c6x_num_cores  )
EXPORT_SYMBOL_GPL ( c6x_silicon_rev  )
EXPORT_SYMBOL_GPL ( c6x_devstat  )
notrace void __init machine_init ( unsigned long  dt_ptr)

Definition at line 273 of file setup.c.

void __init setup_arch ( char **  cmdline_p)

Definition at line 304 of file setup.c.

subsys_initcall ( topology_init  )

Variable Documentation

char c6x_command_line[COMMAND_LINE_SIZE]

Definition at line 71 of file setup.c.

unsigned int c6x_core_freq

Definition at line 93 of file setup.c.

unsigned int c6x_devstat

Definition at line 51 of file setup.c.

unsigned char c6x_fuse_mac[6]

Definition at line 59 of file setup.c.

int c6x_num_cores

Definition at line 41 of file setup.c.

unsigned int c6x_silicon_rev

Definition at line 44 of file setup.c.

struct seq_operations cpuinfo_op
Initial value:
= {
c_stop,
c_next,
show_cpuinfo
}

Definition at line 496 of file setup.c.

unsigned long memory_end

Definition at line 62 of file setup.c.

unsigned long memory_start

Definition at line 61 of file setup.c.

unsigned long ram_end

Definition at line 65 of file setup.c.

unsigned long ram_start

Definition at line 64 of file setup.c.

unsigned int ticks_per_ns_scaled

Definition at line 90 of file setup.c.