Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
reboot.c File Reference
#include <linux/module.h>
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/pm.h>
#include <linux/efi.h>
#include <linux/dmi.h>
#include <linux/sched.h>
#include <linux/tboot.h>
#include <linux/delay.h>
#include <acpi/reboot.h>
#include <asm/io.h>
#include <asm/apic.h>
#include <asm/desc.h>
#include <asm/hpet.h>
#include <asm/pgtable.h>
#include <asm/proto.h>
#include <asm/reboot_fixups.h>
#include <asm/reboot.h>
#include <asm/pci_x86.h>
#include <asm/virtext.h>
#include <asm/cpu.h>
#include <asm/nmi.h>
#include <asm/smp.h>
#include <linux/ctype.h>
#include <linux/mc146818rtc.h>
#include <asm/realmode.h>
#include <asm/x86_init.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

 EXPORT_SYMBOL (pm_power_off)
 
 __setup ("reboot=", reboot_setup)
 
void __noreturn machine_real_restart (unsigned int type)
 
 core_initcall (reboot_init)
 
void __attribute__ ((weak))
 
void native_machine_shutdown (void)
 
void machine_power_off (void)
 
void machine_shutdown (void)
 
void machine_emergency_restart (void)
 
void machine_restart (char *cmd)
 
void machine_halt (void)
 
void nmi_shootdown_cpus (nmi_shootdown_cb callback)
 

Variables

void(* pm_power_off )(void)
 
enum reboot_type reboot_type = BOOT_ACPI
 
int reboot_force
 
bool port_cf9_safe = false
 
struct machine_ops machine_ops
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 1 of file reboot.c.

Function Documentation

void __attribute__ ( (weak)  )
read

Definition at line 517 of file reboot.c.

__setup ( )
core_initcall ( reboot_init  )
EXPORT_SYMBOL ( pm_power_off  )
void machine_emergency_restart ( void  )

Definition at line 714 of file reboot.c.

void machine_halt ( void  )

Definition at line 724 of file reboot.c.

void machine_power_off ( void  )

Definition at line 704 of file reboot.c.

void __noreturn machine_real_restart ( unsigned int  type)

Definition at line 158 of file reboot.c.

void machine_restart ( char cmd)

Definition at line 719 of file reboot.c.

void machine_shutdown ( void  )

Definition at line 709 of file reboot.c.

void native_machine_shutdown ( void  )

Definition at line 613 of file reboot.c.

void nmi_shootdown_cpus ( nmi_shootdown_cb  callback)

Definition at line 815 of file reboot.c.

Variable Documentation

Initial value:
= {
.emergency_restart = native_machine_emergency_restart,
}

Definition at line 693 of file reboot.c.

void(* pm_power_off)(void)

Definition at line 35 of file reboot.c.

bool port_cf9_safe = false

Definition at line 64 of file reboot.c.

int reboot_force

Definition at line 41 of file reboot.c.

Definition at line 40 of file reboot.c.