Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
prom.c File Reference
#include <stdarg.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/init.h>
#include <linux/threads.h>
#include <linux/spinlock.h>
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/stringify.h>
#include <linux/delay.h>
#include <linux/initrd.h>
#include <linux/bitops.h>
#include <linux/export.h>
#include <linux/kexec.h>
#include <linux/debugfs.h>
#include <linux/irq.h>
#include <linux/memblock.h>
#include <asm/prom.h>
#include <asm/rtas.h>
#include <asm/page.h>
#include <asm/processor.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <asm/kdump.h>
#include <asm/smp.h>
#include <asm/mmu.h>
#include <asm/paca.h>
#include <asm/pgtable.h>
#include <asm/pci.h>
#include <asm/iommu.h>
#include <asm/btext.h>
#include <asm/sections.h>
#include <asm/machdep.h>
#include <asm/pSeries_reconfig.h>
#include <asm/pci-bridge.h>
#include <asm/kexec.h>
#include <asm/opal.h>
#include <asm/fadump.h>
#include <mm/mmu_decl.h>

Go to the source code of this file.

Data Structures

struct  ibm_pa_feature
 
struct  feature_property
 

Macros

#define DBG(fmt...)
 
#define check_cpu_slb_size(node)   do { } while(0)
 
#define identical_pvr_fixup(node)   do { } while(0)
 
#define early_init_dt_scan_drconf_memory(node)   0
 

Functions

 early_param ("mem", early_parse_mem)
 
int __init early_init_dt_scan_chosen_ppc (unsigned long node, const char *uname, int depth, void *data)
 
void __init early_init_dt_add_memory_arch (u64 base, u64 size)
 
void *__init early_init_dt_alloc_memory_arch (u64 size, u64 align)
 
void __init early_init_devtree (void *params)
 
struct device_nodeof_find_next_cache_node (struct device_node *np)
 
struct device_nodeof_get_cpu_node (int cpu, unsigned int *thread)
 
 EXPORT_SYMBOL (of_get_cpu_node)
 

Macro Definition Documentation

#define check_cpu_slb_size (   node)    do { } while(0)

Definition at line 230 of file prom.c.

#define DBG (   fmt...)

Definition at line 63 of file prom.c.

#define early_init_dt_scan_drconf_memory (   node)    0

Definition at line 509 of file prom.c.

#define identical_pvr_fixup (   node)    do { } while(0)

Definition at line 274 of file prom.c.

Function Documentation

void __init early_init_devtree ( void params)

Definition at line 617 of file prom.c.

void __init early_init_dt_add_memory_arch ( u64  base,
u64  size 
)

Definition at line 523 of file prom.c.

void* __init early_init_dt_alloc_memory_arch ( u64  size,
u64  align 
)

Definition at line 546 of file prom.c.

int __init early_init_dt_scan_chosen_ppc ( unsigned long  node,
const char uname,
int  depth,
void data 
)

Definition at line 388 of file prom.c.

early_param ( "mem"  ,
early_parse_mem   
)
EXPORT_SYMBOL ( of_get_cpu_node  )
struct device_node* of_find_next_cache_node ( struct device_node np)
read

of_find_next_cache_node - Find a node's subsidiary cache : node of type "cpu" or "cache"

Returns a node pointer with refcount incremented, use of_node_put() on it when done. Caller should hold a reference to np.

Definition at line 736 of file prom.c.

struct device_node* of_get_cpu_node ( int  cpu,
unsigned int thread 
)
read

Definition at line 833 of file prom.c.