Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
sh
include
asm
reboot.h
Go to the documentation of this file.
1
#ifndef __ASM_SH_REBOOT_H
2
#define __ASM_SH_REBOOT_H
3
4
#include <
linux/kdebug.h
>
5
6
struct
pt_regs
;
7
8
struct
machine_ops
{
9
void
(*
restart
)(
char
*
cmd
);
10
void
(*
halt
)(
void
);
11
void
(*
power_off
)(
void
);
12
void
(*
shutdown
)(
void
);
13
void
(*
crash_shutdown
)(
struct
pt_regs
*);
14
};
15
16
extern
struct
machine_ops
machine_ops
;
17
18
/* arch/sh/kernel/machine_kexec.c */
19
void
native_machine_crash_shutdown
(
struct
pt_regs
*
regs
);
20
21
#endif
/* __ASM_SH_REBOOT_H */
Generated on Thu Jan 10 2013 13:04:08 for Linux Kernel by
1.8.2