Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
setup-common.c File Reference
#include <linux/export.h>
#include <linux/string.h>
#include <linux/sched.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/reboot.h>
#include <linux/delay.h>
#include <linux/initrd.h>
#include <linux/platform_device.h>
#include <linux/seq_file.h>
#include <linux/ioport.h>
#include <linux/console.h>
#include <linux/screen_info.h>
#include <linux/root_dev.h>
#include <linux/notifier.h>
#include <linux/cpu.h>
#include <linux/unistd.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include <linux/debugfs.h>
#include <linux/percpu.h>
#include <linux/memblock.h>
#include <linux/of_platform.h>
#include <asm/io.h>
#include <asm/paca.h>
#include <asm/prom.h>
#include <asm/processor.h>
#include <asm/vdso_datapage.h>
#include <asm/pgtable.h>
#include <asm/smp.h>
#include <asm/elf.h>
#include <asm/machdep.h>
#include <asm/time.h>
#include <asm/cputable.h>
#include <asm/sections.h>
#include <asm/firmware.h>
#include <asm/btext.h>
#include <asm/nvram.h>
#include <asm/setup.h>
#include <asm/rtas.h>
#include <asm/iommu.h>
#include <asm/serial.h>
#include <asm/cache.h>
#include <asm/page.h>
#include <asm/mmu.h>
#include <asm/xmon.h>
#include <asm/cputhreads.h>
#include <mm/mmu_decl.h>
#include <asm/fadump.h>
#include "setup.h"

Go to the source code of this file.

Macros

#define DBG(fmt...)
 

Functions

 EXPORT_SYMBOL (ppc_md)
 
 EXPORT_SYMBOL (machine_id)
 
 EXPORT_SYMBOL_GPL (of_i8042_kbd_irq)
 
 EXPORT_SYMBOL_GPL (of_i8042_aux_irq)
 
void machine_shutdown (void)
 
void machine_restart (char *cmd)
 
void machine_power_off (void)
 
 EXPORT_SYMBOL_GPL (machine_power_off)
 
 EXPORT_SYMBOL_GPL (pm_power_off)
 
void machine_halt (void)
 
void __init check_for_initrd (void)
 
void probe_machine (void)
 
int check_legacy_ioport (unsigned long base_port)
 
 EXPORT_SYMBOL (check_legacy_ioport)
 
void __init setup_panic (void)
 
void ppc_printk_progress (char *s, unsigned short hex)
 
void arch_setup_pdev_archdata (struct platform_device *pdev)
 

Variables

struct machdep_calls ppc_md
 
struct machdep_calls * machine_id
 
unsigned long klimit = (unsigned long) _end
 
char cmd_line [COMMAND_LINE_SIZE]
 
struct screen_info screen_info
 
int of_i8042_kbd_irq
 
int of_i8042_aux_irq
 
void(* pm_power_off )(void) = machine_power_off
 
struct seq_operations cpuinfo_op
 

Macro Definition Documentation

#define DBG (   fmt...)

Definition at line 71 of file setup-common.c.

Function Documentation

void arch_setup_pdev_archdata ( struct platform_device pdev)

Definition at line 755 of file setup-common.c.

void __init check_for_initrd ( void  )

Definition at line 360 of file setup-common.c.

int check_legacy_ioport ( unsigned long  base_port)

Definition at line 587 of file setup-common.c.

EXPORT_SYMBOL ( ppc_md  )
EXPORT_SYMBOL ( machine_id  )
EXPORT_SYMBOL ( check_legacy_ioport  )
EXPORT_SYMBOL_GPL ( of_i8042_kbd_irq  )
EXPORT_SYMBOL_GPL ( of_i8042_aux_irq  )
EXPORT_SYMBOL_GPL ( machine_power_off  )
EXPORT_SYMBOL_GPL ( pm_power_off  )
void machine_halt ( void  )

Definition at line 155 of file setup-common.c.

void machine_power_off ( void  )

Definition at line 137 of file setup-common.c.

void machine_restart ( char cmd)

Definition at line 124 of file setup-common.c.

void machine_shutdown ( void  )

Definition at line 110 of file setup-common.c.

void ppc_printk_progress ( char s,
unsigned short  hex 
)

Definition at line 750 of file setup-common.c.

void probe_machine ( void  )

Definition at line 555 of file setup-common.c.

void __init setup_panic ( void  )

Definition at line 664 of file setup-common.c.

Variable Documentation

Definition at line 83 of file setup-common.c.

struct seq_operations cpuinfo_op
Initial value:
= {
.start =c_start,
.next = c_next,
.stop = c_stop,
.show = show_cpuinfo,
}

Definition at line 353 of file setup-common.c.

unsigned long klimit = (unsigned long) _end

Definition at line 81 of file setup-common.c.

struct machdep_calls* machine_id

Definition at line 78 of file setup-common.c.

int of_i8042_aux_irq

Definition at line 100 of file setup-common.c.

int of_i8042_kbd_irq

Definition at line 98 of file setup-common.c.

void(* pm_power_off)(void) = machine_power_off

Definition at line 152 of file setup-common.c.

struct machdep_calls ppc_md

Definition at line 76 of file setup-common.c.

Initial value:
= {
.orig_x = 0,
.orig_y = 25,
.orig_video_cols = 80,
.orig_video_lines = 25,
.orig_video_isVGA = 1,
.orig_video_points = 16
}

Definition at line 88 of file setup-common.c.