Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Variables
init.h File Reference

Go to the source code of this file.

Data Structures

struct  uml_param
 

Macros

#define __section(S)   __attribute__ ((__section__(#S)))
 
#define __init   __section(.init.text)
 
#define __initdata   __section(.init.data)
 
#define __exitdata   __section(.exit.data)
 
#define __exit_call   __used __section(.exitcall.exit)
 
#define __exit   __used __section(.exit.text)
 
#define __uml_initcall(fn)   static initcall_t __uml_initcall_##fn __uml_init_call = fn
 
#define __uml_exitcall(fn)   static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn
 
#define __uml_postsetup(fn)   static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn
 
#define __non_empty_string(dummyname, string)
 
#define __uml_setup(str, fn, help...)
 
#define __uml_help(fn, help...)
 
#define __uml_init_setup   __used __section(.uml.setup.init)
 
#define __uml_setup_help   __used __section(.uml.help.init)
 
#define __uml_init_call   __used __section(.uml.initcall.init)
 
#define __uml_postsetup_call   __used __section(.uml.postsetup.init)
 
#define __uml_exit_call   __used __section(.uml.exitcall.exit)
 
#define __define_initcall(level, fn)
 
#define __initcall(fn)   __define_initcall("1", fn)
 
#define __exitcall(fn)   static exitcall_t __exitcall_##fn __exit_call = fn
 
#define __init_call   __used __section(.initcall.init)
 

Typedefs

typedef int(* initcall_t )(void)
 
typedef void(* exitcall_t )(void)
 

Variables

initcall_t __uml_initcall_start
 
initcall_t __uml_initcall_end
 
initcall_t __uml_postsetup_start
 
initcall_t __uml_postsetup_end
 
const char__uml_help_start
 
const char__uml_help_end
 
struct uml_param __uml_setup_start __uml_setup_end
 

Macro Definition Documentation

#define __define_initcall (   level,
  fn 
)
Value:
static initcall_t __initcall_##fn __used \
__attribute__((__section__(".initcall" level ".init"))) = fn

Definition at line 136 of file init.h.

#define __exit   __used __section(.exit.text)

Definition at line 75 of file init.h.

#define __exit_call   __used __section(.exitcall.exit)

Definition at line 70 of file init.h.

#define __exitcall (   fn)    static exitcall_t __exitcall_##fn __exit_call = fn

Definition at line 145 of file init.h.

#define __exitdata   __section(.exit.data)

Definition at line 69 of file init.h.

#define __init   __section(.init.text)

Definition at line 67 of file init.h.

#define __init_call   __used __section(.initcall.init)

Definition at line 147 of file init.h.

#define __initcall (   fn)    __define_initcall("1", fn)

Definition at line 143 of file init.h.

static int mpu_irq __initdata   __section(.init.data)

Set lcd on or off

Definition at line 68 of file init.h.

#define __non_empty_string (   dummyname,
  string 
)
Value:
struct __uml_non_empty_string_struct_##dummyname \
{ \
char _string[sizeof(string)-2]; \
}

Definition at line 102 of file init.h.

#define __section (   S)    __attribute__ ((__section__(#S)))

Definition at line 45 of file init.h.

#define __uml_exit_call   __used __section(.uml.exitcall.exit)

Definition at line 132 of file init.h.

#define __uml_exitcall (   fn)    static exitcall_t __uml_exitcall_##fn __uml_exit_call = fn

Definition at line 94 of file init.h.

#define __uml_help (   fn,
  help... 
)
Value:
__non_empty_string(fn ##__help, help); \
static char __uml_help_str_##fn[] __initdata = help; \
static const char *__uml_help_##fn __uml_setup_help = __uml_help_str_##fn

Definition at line 119 of file init.h.

#define __uml_init_call   __used __section(.uml.initcall.init)

Definition at line 130 of file init.h.

#define __uml_init_setup   __used __section(.uml.setup.init)

Definition at line 128 of file init.h.

#define __uml_initcall (   fn)    static initcall_t __uml_initcall_##fn __uml_init_call = fn

Definition at line 91 of file init.h.

#define __uml_postsetup (   fn)    static initcall_t __uml_postsetup_##fn __uml_postsetup_call = fn

Definition at line 99 of file init.h.

#define __uml_postsetup_call   __used __section(.uml.postsetup.init)

Definition at line 131 of file init.h.

#define __uml_setup (   str,
  fn,
  help... 
)
Value:
__non_empty_string(fn ##_setup, str); \
__uml_help(fn, help); \
static char __uml_setup_str_##fn[] __initdata = str; \
static struct uml_param __uml_setup_##fn __uml_init_setup = { __uml_setup_str_##fn, fn }

Definition at line 109 of file init.h.

#define __uml_setup_help   __used __section(.uml.help.init)

Definition at line 129 of file init.h.

Typedef Documentation

typedef void(* exitcall_t)(void)

Definition at line 41 of file init.h.

typedef int(* initcall_t)(void)

Definition at line 40 of file init.h.

Variable Documentation

const char * __uml_help_end
const char* __uml_help_start
initcall_t __uml_initcall_end
initcall_t __uml_initcall_start
initcall_t __uml_postsetup_end
initcall_t __uml_postsetup_start
struct uml_param __uml_setup_start __uml_setup_end