Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sal.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <asm/delay.h>
#include <asm/page.h>
#include <asm/sal.h>
#include <asm/pal.h>

Go to the source code of this file.

Macros

#define SAL_MAJOR(x)   ((x) >> 8)
 
#define SAL_MINOR(x)   ((x) & 0xff)
 
#define set_smp_redirect(flag)   do { } while (0)
 

Functions

__cacheline_aligned DEFINE_SPINLOCK (sal_lock)
 
const charia64_sal_strerror (long status)
 
void __init ia64_sal_handler_init (void *entry_point, void *gpval)
 
 early_param ("force_pal_cache_flush", force_pal_cache_flush)
 
void __init check_sal_cache_flush (void)
 
s64 ia64_sal_cache_flush (u64 cache_type)
 
 EXPORT_SYMBOL_GPL (ia64_sal_cache_flush)
 
void __init ia64_sal_init (struct ia64_sal_systab *systab)
 
int ia64_sal_oemcall (struct ia64_sal_retval *isrvp, u64 oemfunc, u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, u64 arg7)
 
 EXPORT_SYMBOL (ia64_sal_oemcall)
 
int ia64_sal_oemcall_nolock (struct ia64_sal_retval *isrvp, u64 oemfunc, u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, u64 arg7)
 
 EXPORT_SYMBOL (ia64_sal_oemcall_nolock)
 
int ia64_sal_oemcall_reentrant (struct ia64_sal_retval *isrvp, u64 oemfunc, u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6, u64 arg7)
 
 EXPORT_SYMBOL (ia64_sal_oemcall_reentrant)
 
long ia64_sal_freq_base (unsigned long which, unsigned long *ticks_per_second, unsigned long *drift_info)
 
 EXPORT_SYMBOL_GPL (ia64_sal_freq_base)
 

Variables

unsigned long sal_platform_features
 
unsigned short sal_revision
 
unsigned short sal_version
 
ia64_sal_handler ia64_sal = (ia64_sal_handler) default_handler
 
ia64_sal_desc_ptc_tia64_ptc_domain_info
 

Macro Definition Documentation

#define SAL_MAJOR (   x)    ((x) >> 8)

Definition at line 27 of file sal.c.

#define SAL_MINOR (   x)    ((x) & 0xff)

Definition at line 28 of file sal.c.

#define set_smp_redirect (   flag)    do { } while (0)

Definition at line 152 of file sal.c.

Function Documentation

void __init check_sal_cache_flush ( void  )

Definition at line 241 of file sal.c.

__cacheline_aligned DEFINE_SPINLOCK ( sal_lock  )
early_param ( "force_pal_cache_flush"  ,
force_pal_cache_flush   
)
EXPORT_SYMBOL ( ia64_sal_oemcall  )
EXPORT_SYMBOL ( ia64_sal_oemcall_nolock  )
EXPORT_SYMBOL ( ia64_sal_oemcall_reentrant  )
EXPORT_SYMBOL_GPL ( ia64_sal_cache_flush  )
EXPORT_SYMBOL_GPL ( ia64_sal_freq_base  )
s64 ia64_sal_cache_flush ( u64  cache_type)

Definition at line 284 of file sal.c.

long ia64_sal_freq_base ( unsigned long  which,
unsigned long ticks_per_second,
unsigned long drift_info 
)

Definition at line 395 of file sal.c.

void __init ia64_sal_handler_init ( void entry_point,
void gpval 
)

Definition at line 87 of file sal.c.

void __init ia64_sal_init ( struct ia64_sal_systab systab)

Definition at line 307 of file sal.c.

int ia64_sal_oemcall ( struct ia64_sal_retval isrvp,
u64  oemfunc,
u64  arg1,
u64  arg2,
u64  arg3,
u64  arg4,
u64  arg5,
u64  arg6,
u64  arg7 
)

Definition at line 358 of file sal.c.

int ia64_sal_oemcall_nolock ( struct ia64_sal_retval isrvp,
u64  oemfunc,
u64  arg1,
u64  arg2,
u64  arg3,
u64  arg4,
u64  arg5,
u64  arg6,
u64  arg7 
)

Definition at line 369 of file sal.c.

int ia64_sal_oemcall_reentrant ( struct ia64_sal_retval isrvp,
u64  oemfunc,
u64  arg1,
u64  arg2,
u64  arg3,
u64  arg4,
u64  arg5,
u64  arg6,
u64  arg7 
)

Definition at line 382 of file sal.c.

const char* ia64_sal_strerror ( long  status)

Definition at line 45 of file sal.c.

Variable Documentation

void* addr

Definition at line 31 of file sal.c.

void* gpval

Definition at line 32 of file sal.c.

ia64_sal_desc_ptc_t* ia64_ptc_domain_info

Definition at line 42 of file sal.c.

ia64_sal_handler ia64_sal = (ia64_sal_handler) default_handler

Definition at line 41 of file sal.c.

unsigned long sal_platform_features

Definition at line 22 of file sal.c.

unsigned short sal_revision

Definition at line 24 of file sal.c.

unsigned short sal_version

Definition at line 25 of file sal.c.