Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
setup.c File Reference
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/stddef.h>
#include <linux/unistd.h>
#include <linux/ptrace.h>
#include <linux/export.h>
#include <linux/user.h>
#include <linux/tty.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/major.h>
#include <linux/initrd.h>
#include <linux/vt_kern.h>
#include <linux/console.h>
#include <linux/pci.h>
#include <linux/adb.h>
#include <linux/cuda.h>
#include <linux/pmu.h>
#include <linux/irq.h>
#include <linux/seq_file.h>
#include <linux/root_dev.h>
#include <linux/bitops.h>
#include <linux/suspend.h>
#include <linux/of_device.h>
#include <linux/of_platform.h>
#include <linux/memblock.h>
#include <asm/reg.h>
#include <asm/sections.h>
#include <asm/prom.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/pci-bridge.h>
#include <asm/ohare.h>
#include <asm/mediabay.h>
#include <asm/machdep.h>
#include <asm/dma.h>
#include <asm/cputable.h>
#include <asm/btext.h>
#include <asm/pmac_feature.h>
#include <asm/time.h>
#include <asm/mmu_context.h>
#include <asm/iommu.h>
#include <asm/smu.h>
#include <asm/pmc.h>
#include <asm/udbg.h>
#include "pmac.h"

Go to the source code of this file.

Macros

#define DEFAULT_ROOT_DEVICE   Root_SDA1 /* sda1 - slightly silly choice */
 
#define cuda_restart()
 
#define cuda_shutdown()
 
#define pmu_restart()
 
#define pmu_shutdown()
 
#define smu_restart()
 
#define smu_shutdown()
 

Functions

 EXPORT_SYMBOL (sys_ctrler)
 
int find_via_cuda (void)
 
int find_via_pmu (void)
 
int smu_init (void)
 
 machine_late_initcall (powermac, pmac_late_init)
 
void __init_refok note_bootable_part (dev_t dev, int part, int goodness)
 
 machine_device_initcall (powermac, pmac_declare_of_platform_devices)
 
 define_machine (powermac)
 

Variables

int ppc_override_l2cr = 0
 
int ppc_override_l2cr_value
 
int has_l2cache = 0
 
int pmac_newworld
 
struct machdep_calls pmac_md
 
sys_ctrler_t sys_ctrler = SYS_CTRLER_UNKNOWN
 

Macro Definition Documentation

#define cuda_restart ( )

Definition at line 405 of file setup.c.

#define cuda_shutdown ( )

Definition at line 406 of file setup.c.

#define DEFAULT_ROOT_DEVICE   Root_SDA1 /* sda1 - slightly silly choice */

Definition at line 91 of file setup.c.

#define pmu_restart (   void)

Definition at line 410 of file setup.c.

#define pmu_shutdown (   void)

Definition at line 411 of file setup.c.

#define smu_restart (   void)

Definition at line 415 of file setup.c.

#define smu_shutdown (   void)

Definition at line 416 of file setup.c.

Function Documentation

define_machine ( powermac  )

Definition at line 656 of file setup.c.

EXPORT_SYMBOL ( sys_ctrler  )
int find_via_cuda ( void  )

Definition at line 183 of file setup.c.

int find_via_pmu ( void  )

Definition at line 197 of file setup.c.

machine_device_initcall ( powermac  ,
pmac_declare_of_platform_devices   
)
machine_late_initcall ( powermac  ,
pmac_late_init   
)
void __init_refok note_bootable_part ( dev_t  dev,
int  part,
int  goodness 
)

Definition at line 368 of file setup.c.

int smu_init ( void  )

Definition at line 211 of file setup.c.

Variable Documentation

int has_l2cache = 0

Definition at line 83 of file setup.c.

struct machdep_calls pmac_md
int pmac_newworld

Definition at line 85 of file setup.c.

int ppc_override_l2cr = 0

Definition at line 81 of file setup.c.

int ppc_override_l2cr_value

Definition at line 82 of file setup.c.

sys_ctrler_t sys_ctrler = SYS_CTRLER_UNKNOWN

Definition at line 97 of file setup.c.