Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
platform.c File Reference
#include <linux/types.h>
#include <linux/pci.h>
#include <linux/time.h>
#include <asm/platform.h>
#include <asm/timex.h>
#include <asm/param.h>

Go to the source code of this file.

Macros

#define _F(r, f, a, b)
 

Functions

 _F (void, setup,(char **cmd),{})
 
 _F (void, init_irq,(void),{})
 
 _F (void, restart,(void),{while(1);})
 
 _F (void, halt,(void),{while(1);})
 
 _F (void, power_off,(void),{while(1);})
 
 _F (void, idle,(void),{__asm__ __volatile__("waiti 0":::"memory");})
 
 _F (void, heartbeat,(void),{})
 
 _F (int, pcibios_fixup,(void),{return 0;})
 

Macro Definition Documentation

#define _F (   r,
  f,
  a,
  b 
)
Value:
r __platform_##f a b; \
r platform_##f a __attribute__((weak, alias("__platform_"#f)))

Definition at line 22 of file platform.c.

Function Documentation

_F ( void  ,
setup  ,
(char **cmd ,
{}   
)
_F ( void  ,
init_irq  ,
(void ,
{}   
)
_F ( void  ,
restart  ,
(void ,
{while(1);}   
)
_F ( void  ,
halt  ,
(void ,
{while(1);}   
)
_F ( void  ,
power_off  ,
(void ,
{while(1);}   
)
_F ( void  ,
idle  ,
(void ,
{__asm__ __volatile__("waiti 0":::"memory");}   
)
_F ( void  ,
heartbeat  ,
(void ,
{}   
)
_F ( int  ,
pcibios_fixup  ,
(void ,
{return 0;}   
)