GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBS / V2-10-6
Constituent: pbs     Tag: sun-gcc
#include "PBS/MBA.h"
#include "PBS/impl/PBS.h.px-xxx-xxx"
Include dependency graph for PBS.h:
This graph shows which files directly or indirectly include this file:
Data Structures | |
struct | _PBS_crashCtx |
Defines the application context parameters of a crash. More... | |
Defines | |
#define | PBS_CRASH_HANDLER_DEFAULT (PBS_crashHandler)(-1) |
Specifies to PBS_crashHandlerSet that the default crash handler is requested. | |
#define | PBS_V_CRASH_OPTION_VX_REBOOT 28 |
Starting bit of the VxWorks reboot field in the options. This is a 3 bit wide field passed directly to 'reboot'. | |
Typedefs | |
typedef _PBS_crashCtx | PBS_crashCtx |
Typedef for struct _PBS_crashCtx. | |
typedef int(* | PBS_crashHandler )(PBS_crashType type, const PBS_crashCtx *ctx, unsigned int options, const char *string) |
User callback routine to handle a crash. | |
typedef enum _PBS_crashOptions | PBS_crashOptions |
Typedef for. | |
Enumerations | |
enum | _PBS_crashOptions { PBS_M_CRASH_OPTION_CRASH_NO = (1<<31), PBS_M_CRASH_OPTION_VX_REBOOT_QUICK = (1<< 30), PBS_M_CRASH_OPTION_VX_REBOOT_CLEAR = (1<< 29), PBS_M_CRASH_OPTION_VX_REBOOT_NOAUTO = (1<< 28) } |
Enumerates those bits of the options argument that PBS uses. More... | |
Functions | |
void | PBS_fast_clear (void *ptr, unsigned int nbytes) |
Clears (Zeroes) the specified memory. | |
int | PBS_configure (void) |
One-time PBS library initialization routine via a configuration file. | |
int | PBS_initialize (int wut_tmr_cnt, int keepalive_period) |
One-time PBS library initialization routine. | |
int | PBS_initialize2 (int wut_tmr_cnt, int keepalive_period, MBA_create_cb mba_create, void *mba_prm) |
One-time PBS library initialization routine. | |
int | PBS_shutdown (void) |
Shuts down the PBS facility. | |
void | PBS_crash (PBS_crashType type, const PBS_crashCtx *ctx, unsigned int options, const char *string) |
General purposes reboot routine. | |
void | PBS_panic (unsigned int reason, unsigned int parameter, void *pc, unsigned int options, const char *string) |
Routine to initiate a panic reboot. | |
void | PBS_reboot (unsigned int reason, unsigned int parameter, void *pc, unsigned int options, const char *string) |
Routine to initiate a commanded reboot. | |
PBS_crashHandler | PBS_crashHandlerSet (PBS_crashHandler crashHandler) |
Installs a new user crash handler. | |
int | PBS_crashPrint (PBS_crashType type, const PBS_crashCtx *ctx, unsigned int options, const char *string) |
Very simple default PBS crash handler. |
CVS $Id: PBS.h,v 1.8 2005/10/01 01:00:11 russell Exp $
|
Typedef for struct _PBS_crashCtx. This data structure contains the application specific context parameters of the crash. The intent is to provide enough information that the reason of the crash can be diagnosed. This block is limited to 8 32-bit values and, if the OS supports it, is committed to the area of memory saved across boots. |
|
User callback routine to handle a crash.
|
|
Typedef for.
Some of the PBS options are generic, i.e. they have the same meaning on all platforms, while others only have meaning on certain platforms. In the former category is
|
|
|
One-time PBS library initialization routine via a configuration file.
|
Here is the call graph for this function:
|
General purposes reboot routine.
|
|
Installs a new user crash handler.
PBS_crashHandlerSet (PBS_crashPrint);
PBS_crashHandlerSet (PBS_CRASH_HANDLER_DEFAULT); |
Here is the call graph for this function:
|
Very simple default PBS crash handler.
|
|
Clears (Zeroes) the specified memory.
|
|
One-time PBS library initialization routine.
|
Here is the call graph for this function:
|
One-time PBS library initialization routine.
|
Here is the call graph for this function:
|
Routine to initiate a panic reboot.
This routine will
|
|
Routine to initiate a commanded reboot.
This routine will
|
|
Shuts down the PBS facility.
|
Here is the call graph for this function: