GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RAD750 / V1-3-5

Constituent: rad750_reboot     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

RAD750_reboot.h File Reference

RAD750 application reboot library. More...

#include "BootDiagnostics.h"

Include dependency graph for RAD750_reboot.h:

This graph shows which files directly or indirectly include this file:


Defines

#define RAD750_REBOOT_N_APP_WORDS   BOOT_DIAGS_APP_NUM_WORD

Typedefs

typedef enum _RAD750_Reboot_Type RAD750_Reboot_Type

Enumerations

enum  _RAD750_Reboot_Type {
  RAD750_REBOOT_TYPE_VXWORKS = BOOT_START_VXW,
  RAD750_REBOOT_TYPE_COLD = BOOT_START_COLD,
  RAD750_REBOOT_TYPE_WATCHDOG = BOOT_START_WDOG,
  RAD750_REBOOT_TYPE_PANIC = BOOT_START_PANIC,
  RAD750_REBOOT_TYPE_EXCEPTION = BOOT_START_EXCEPTION,
  RAD750_REBOOT_TYPE_COMMAND = BOOT_START_COMMAND
}

Functions

void RAD750_rebootGo (RAD750_Reboot_Type bootType, const unsigned int *appInfo, unsigned int options)
 Reboot the processor from the application level.
void RAD750_rebootGet (RAD750_Reboot_Type *bootType, unsigned int *appInfo)
 Get the application reboot information.

Detailed Description

RAD750 application reboot library.

Author:
D.L. Wood
This library implements a method for rebooting LAT RAD750 processors from the application level. The functions handle the low-level details of interfacing to the RAD750 boot diagntics region and the primary boot code.

Define Documentation

#define RAD750_REBOOT_N_APP_WORDS   BOOT_DIAGS_APP_NUM_WORD
 

The number of application information words to store or get.


Typedef Documentation

RAD750_Reboot_Type
 

The typedef for _RAD750_Reboot_Type.


Enumeration Type Documentation

enum _RAD750_Reboot_Type
 

Defines the reboot types for the RAD750 processor. This information may be interpreted by the primary boot code.

Enumerator:
RAD750_REBOOT_TYPE_VXWORKS  VxWorks internal warm reboot
RAD750_REBOOT_TYPE_COLD  Cold boot from power on or hard reset.
RAD750_REBOOT_TYPE_WATCHDOG  Watchdog timeout reboot.
RAD750_REBOOT_TYPE_PANIC  Software critical error warm reboot.
RAD750_REBOOT_TYPE_EXCEPTION  Software exception warm reboot.
RAD750_REBOOT_TYPE_COMMAND  Commanded warm reboot.


Function Documentation

void RAD750_rebootGet RAD750_Reboot_Type bootType,
unsigned int *  appInfo
 

Get the application reboot information.

A no-op for COTS targets.

Parameters:
bootType Holds the reboot cause or type code on return.
appInfo A pointer to an array of RAD750_REBOOT_N_APP_WORDS 32-bit words. These words are copied from the area of the boot diagnostics region reserved for application use.

void RAD750_rebootGo RAD750_Reboot_Type  bootType,
const unsigned int *  appInfo,
unsigned int  options
 

Reboot the processor from the application level.

A no-op for COTS targets.

Parameters:
bootType The reboot cause or type code.
appInfo A pointer to an array of RAD750_REBOOT_N_APP_WORDS 32-bit words. These words are copied into the area of the boot diagnostics region reserved for application use.
options A set of bit mask options; not currently implemented.


Generated on Fri Oct 3 01:12:47 2008 by  doxygen 1.4.4