Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
launch.h File Reference
#include <asm/sn/types.h>
#include <asm/sn/addrs.h>

Go to the source code of this file.

Data Structures

struct  launch_s
 

Macros

#define LAUNCH_MAGIC   0xaddbead2addbead3
 
#define LAUNCH_OFF_MAGIC   0x00 /* Struct offsets for assembly */
 
#define LAUNCH_OFF_BUSY   0x08
 
#define LAUNCH_OFF_CALL   0x10
 
#define LAUNCH_OFF_CALLC   0x18
 
#define LAUNCH_OFF_CALLPARM   0x20
 
#define LAUNCH_OFF_STACK   0x28
 
#define LAUNCH_OFF_GP   0x30
 
#define LAUNCH_OFF_BEVUTLB   0x38
 
#define LAUNCH_OFF_BEVNORMAL   0x40
 
#define LAUNCH_OFF_BEVECC   0x48
 
#define LAUNCH_STATE_DONE   0 /* Return value of LAUNCH_POLL */
 
#define LAUNCH_STATE_SENT   1
 
#define LAUNCH_STATE_RECD   2
 
#define LAUNCH_SLAVE
 
#define LAUNCH_WAIT
 
#define LAUNCH_POLL
 
#define LAUNCH_LOOP
 
#define LAUNCH_FLASH
 

Typedefs

typedef int launch_state_t
 
typedef void(* launch_proc_t )(u64 call_parm)
 
typedef struct launch_s launch_t
 

Macro Definition Documentation

#define LAUNCH_FLASH
Value:
(*(void (*)(void)) \
IP27PROM_FLASHLEDS)

Definition at line 101 of file launch.h.

#define LAUNCH_LOOP
Value:
(*(void (*)(void)) \
IP27PROM_SLAVELOOP)

Definition at line 98 of file launch.h.

#define LAUNCH_MAGIC   0xaddbead2addbead3

Definition at line 30 of file launch.h.

#define LAUNCH_OFF_BEVECC   0x48

Definition at line 45 of file launch.h.

#define LAUNCH_OFF_BEVNORMAL   0x40

Definition at line 44 of file launch.h.

#define LAUNCH_OFF_BEVUTLB   0x38

Definition at line 43 of file launch.h.

#define LAUNCH_OFF_BUSY   0x08

Definition at line 37 of file launch.h.

#define LAUNCH_OFF_CALL   0x10

Definition at line 38 of file launch.h.

#define LAUNCH_OFF_CALLC   0x18

Definition at line 39 of file launch.h.

#define LAUNCH_OFF_CALLPARM   0x20

Definition at line 40 of file launch.h.

#define LAUNCH_OFF_GP   0x30

Definition at line 42 of file launch.h.

#define LAUNCH_OFF_MAGIC   0x00 /* Struct offsets for assembly */

Definition at line 36 of file launch.h.

#define LAUNCH_OFF_STACK   0x28

Definition at line 41 of file launch.h.

#define LAUNCH_POLL
Value:
(*(launch_state_t (*)(int nasid, int cpu)) \
IP27PROM_POLLSLAVE)

Definition at line 95 of file launch.h.

#define LAUNCH_SLAVE
Value:
(*(void (*)(int nasid, int cpu, \
launch_proc_t call_addr, \
u64 call_parm, \
void *stack_addr, \
void *gp_addr)) \
IP27PROM_LAUNCHSLAVE)

Definition at line 85 of file launch.h.

#define LAUNCH_STATE_DONE   0 /* Return value of LAUNCH_POLL */

Definition at line 47 of file launch.h.

#define LAUNCH_STATE_RECD   2

Definition at line 49 of file launch.h.

#define LAUNCH_STATE_SENT   1

Definition at line 48 of file launch.h.

#define LAUNCH_WAIT
Value:
(*(void (*)(int nasid, int cpu, int timeout_msec)) \
IP27PROM_WAITSLAVE)

Definition at line 92 of file launch.h.

Typedef Documentation

typedef void(* launch_proc_t)(u64 call_parm)

Definition at line 65 of file launch.h.

Definition at line 64 of file launch.h.