GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > VXW / V7-1-0

Constituent: vxw_flight_ini     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

BootDiagnostics.h File Reference

Public defintions for Boot Diagnostics Area. More...

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


Data Structures

struct  _BOOT_Diagnostics
 Boot diagnostics struct. More...

Boot Diagnostics Structure

#define BOOT_DIAGS_APP_NUM_WORD   (8)
#define BOOT_DIAGS_PRIM_BOOT_FLAGS_OFF   (0x00)
 Offset to primary boot flags in the boot diagnostics area.
#define BOOT_DIAGS_SEC_BOOT_FLAGS_OFF   (0x04)
 Offset to secondary boot flags in the boot diagnostics area.
#define BOOT_DIAGS_EXC_COUNT_OFF   (0x08)
 Offset to exception count in the boot diagnostics area.
#define BOOT_DIAGS_EXC_VEC_OFF   (0x0C)
 Offset to exception vector in the boot diagnostics area.
#define BOOT_DIAGS_EXC_SRR0_REG_OFF   (0x10)
 Offset to SRR0 value in the boot diagnostics area.
#define BOOT_DIAGS_EXC_SRR1_REG_OFF   (0x14)
 Offset to SRR1 value in the boot diagnostics area.
#define BOOT_DIAGS_EXC_DAR_REG_OFF   (0x18)
 Offset to DAR value in the boot diagnostics area.
#define BOOT_DIAGS_EXC_DSISR_REG_OFF   (0x1C)
 Offset to DSISR value in the boot diagnostics area.
#define BOOT_DIAGS_EXC_PCI_STS2_REG_OFF   (0x20)
 Offset to PCI status 2 value in the boot diagnostics area.
#define BOOT_DIAGS_EXC_MEM_STS_REG_OFF   (0x24)
 Offset to memory status value in the boot diagnostics area.
#define BOOT_DIAGS_EXC_TASK_ID_OFF   (0x28)
 Offset to task ID value in the boot diagnostics area.
#define BOOT_DIAGS_MT_PRE_OFF   (0x2C)
 Offset to pre-remediation memory test data.
#define BOOT_DIAGS_MT_RESULTS_OFF   (0x00)
 Offset to memory test results.
#define BOOT_DIAGS_MT_ADDR_OFF   (0x04)
 Offset to memory test address in the boot diagnostics area.
#define BOOT_DIAGS_MT_ACTUAL_OFF   (0x08)
 Offset to memory test actual value in the boot diagnostics area.
#define BOOT_DIAGS_MT_POST_OFF   (0x38)
 Offset to post-remediation memory test data.
#define BOOT_DIAGS_SEC_BOOT_FAIL_OFF   (0x44)
 Offset to secondary boot failure in the boot diagnostics area.
#define BOOT_DIAGS_SEC_BOOT_FAIL_IDX_OFF   (0x48)
 Offset to secondary boot failure index in the boot diagnostics area.
#define BOOT_DIAGS_SEC_BOOT_FAIL_DATA_OFF   (0x4C)
 Offset to secondary boot failure data in the boot diagnostics area.
#define BOOT_DIAGS_BIST_750_OFF   (0x50)
 Offset to RAD750 PPC BIST in the boot diagnostics area.
#define BOOT_DIAGS_BIST_PPCI_MISR0_OFF   (0x54)
 Offset to RAD750 PPCI MISR0 BIST in the boot diagnostics area.
#define BOOT_DIAGS_BIST_PPCI_MISR1_OFF   (0x58)
 Offset to RAD750 PPCI MISR1 BIST in the boot diagnostics area.
#define BOOT_DIAGS_MT_COUNT_OFF   (0x5C)
 Offset to memory test word count value in the boot diagnostics area.
#define BOOT_DIAGS_APP_INFO_OFF   (0x60)
 Offset to application information in the boot diagnostics area.
typedef _BOOT_Diagnostics BOOT_Diagnostics
 Typedef for Boot diagnostics structure.

Primary Boot Flags

#define BOOT_DIAGS_PBF_HARD_RESET   (0x20000000)
 Primary boot flags hard reset bit flag.
#define BOOT_DIAGS_PBF_BOOT_FAST   (0x10000000)
 Primary boot flags fast boot flag.
#define BOOT_DIAGS_PBF_JTAG_RESET   (0x00800000)
 Primary boot flags JTAG reset flag.
#define BOOT_DIAGS_PBF_PPCI_RESET   (0x00400000)
 Primary boot flags PPCI reset flag.
#define BOOT_DIAGS_PBF_PPCI_ERR_RESET   (0x00200000)
 Primary boot flags PPCI error reset flag.
#define BOOT_DIAGS_PBF_POR_RESET   (0x00100000)
 Primary boot flags power on reset flag.
#define BOOT_DIAGS_PBF_EXC_RESET   (0x00008000)
 Primary boot flags exception reset flag.
#define BOOT_DIAGS_PBF_SEC_RESET   (0x00004000)
 Primary boot flags secondary boot reset flag.
#define BOOT_DIAGS_PBF_APP_RESET   (0x00002000)
 Primary boot flags application reset flag.
#define BOOT_DIAGS_PBF_PRI_RESET   (0x00001000)
 Primary boot flags primary boot reset flag.
#define BOOT_DIAGS_PBF_MEM_SPARE_SELECT   (0x00000F00)
 Primary boot flags memory spare column selection.
#define BOOT_DIAGS_PBF_MEM_ERROR   (0x00000080)
 Primary boot flags memory error flag.
#define BOOT_DIAGS_PBF_MEM_SPARE_ENABLE   (0x00000010)
 Primary boot flags memory sparing enable.
#define BOOT_DIAGS_PBF_DIAG_MEM_TEST   (0x00000008)
 Primary boot flags DIAG region memory test.
#define BOOT_DIAGS_PBF_BOOT_MEM_TEST   (0x00000004)
 Primary boot flags BOOT region memory test.
#define BOOT_DIAGS_PBF_RTOS_MEM_TEST   (0x00000002)
 Primary boot flags RTOS region memory test.
#define BOOT_DIAGS_PBF_RES_MEM_TEST   (0x00000001)
 Primary boot flags extended memory test.
#define BOOT_DIAGS_PBF_ROM_CLEAR_MASK
 Primary boot flags clear mask.
#define BOOT_DIAGS_PBF_ROM_PRESERVE_MASK
 Primary boot flags preserve mask.

Secondary Boot Flags

#define BOOT_DIAGS_SBF_RTOS_SOURCE_MASK   (0xc0000000)
 Secondary boot flags RTOS source bit mask.
#define BOOT_DIAGS_SBF_MOD0_SOURCE_MASK   (0x30000000)
 Secondary boot flags module 0 source bit mask.
#define BOOT_DIAGS_SBF_MOD1_SOURCE_MASK   (0x0c000000)
 Secondary boot flags module 1 source bit mask.
#define BOOT_DIAGS_SBF_RTOS_SOURCE_RAM   (0x00000000)
 Secondary boot flag set indicating RTOS source in RAM.
#define BOOT_DIAGS_SBF_RTOS_SOURCE_EE0   (0x80000000)
 Secondary boot flag set indicating RTOS source in EEPROM lower bank.
#define BOOT_DIAGS_SBF_RTOS_SOURCE_EE1   (0x40000000)
 Secondary boot flag set indicating RTOS source in EEPROM upper bank.
#define BOOT_DIAGS_SBF_MOD0_SOURCE_RAM   (0x00000000)
 Secondary boot flag set indicating SBC module 0 source in RAM.
#define BOOT_DIAGS_SBF_MOD0_SOURCE_EE0   (0x20000000)
 Secondary boot flag set indicating RTOS source in EEPROM lower bank.
#define BOOT_DIAGS_SBF_MOD0_SOURCE_EE1   (0x10000000)
 Secondary boot flag set indicating RTOS source in EEPROM upper bank.
#define BOOT_DIAGS_SBF_MOD1_SOURCE_RAM   (0x00000000)
 Secondary boot flag set indicating SBC module 1 source in RAM.
#define BOOT_DIAGS_SBF_MOD1_SOURCE_EE0   (0x08000000)
 Secondary boot flag set indicating SBC module 1 source in EEPROM lower bank.
#define BOOT_DIAGS_SBF_MOD1_SOURCE_EE1   (0x04000000)
 Secondary boot flag set indicating SBC module 1 source in EEPROM upper bank.
#define BOOT_DIAGS_SBF_MOUNT_EE0   (0x00008000)
 Secondary boot flag indicating SBC executable should mount EEPROM lower bank filesystem.
#define BOOT_DIAGS_SBF_MOUNT_EE1   (0x00004000)
 Secondary boot flag indicating SBC executable should mount EEPROM upper bank filesystem.
#define BOOT_DIAGS_SBF_MOUNT_MEM   (0x00002000)
 Secondary boot flag indicating SBC executable should mount the memory area that primary boot code reserves for uploading secondary boot modules as a "memory drive".
#define BOOT_DIAGS_SBF_CACHE_WRITETHROUGH   (0x00001000)
 Secondary boot flag indicating the RTOS should be initialized with the CPU data cache configured in write-through mode. If not set, the RTOS should be initialized iwth the CPU data cache configured in write-back mode.

Memory Test Failure Modes

#define BOOT_DIAGS_MT_LOW_MASK   (0xF0000000)
 Low boot memory test results mask.
#define BOOT_DIAGS_MT_LOW_SHIFT   (28)
 Low boot memory test results shift.
#define BOOT_DIAGS_MT_HIGH_MASK   (0x0F000000)
 High boot memory test results mask.
#define BOOT_DIAGS_MT_HIGH_SHIFT   (24)
 High boot memory test results shift.
#define BOOT_DIAGS_MT_DIAGS_MASK   (0x00F00000)
 boot memory test results mask.
#define BOOT_DIAGS_MT_DIAGS_SHIFT   (20)
 This macro provides a shift that can be applied the memory test results in the boot diagnostics along with BOOT_DIAGS_MT_DIAGS_MASK to make a number that can be compared to the BOOT_DIAGS_MT_RES_* macros.
#define BOOT_DIAGS_MT_RESERVED_MASK   (0x000F0000)
 Reserved memory test results mask.
#define BOOT_DIAGS_MT_RESERVED_SHIFT   (16)
 Reserved memory test results shift.
#define BOOT_DIAGS_MT_RTOS_MASK   (0x0000F000)
 RTOS region memory test results mask.
#define BOOT_DIAGS_MT_RTOS_SHIFT   (12)
 RTOS region memory test results shift.
#define BOOT_DIAGS_MT_COLUMN_MASK   (0x00000F00)
 Memory test column mask.
#define BOOT_DIAGS_MT_COLUMN_SHIFT   (8)
 Memory test column mask.
#define BOOT_DIAGS_MT_COLUMN_BITS   (4)
 Number of bad column bits.
#define BOOT_DIAGS_MT_ERRCNT_MASK   (0x000000FF)
 Memory test error count mask.
#define BOOT_DIAGS_MT_ERRCNT_SHIFT   (0)
 Memory test ERRCNT mask.
#define BOOT_DIAGS_MT_ERRCNT_BITS   (8)
 Number of bad error count bits.
#define BOOT_DIAGS_MT_RES_PASS   (1)
 Pass memory test result.
#define BOOT_DIAGS_MT_RES_FAIL_ZEROS   (2)
 Zeros memory test failing result.
#define BOOT_DIAGS_MT_RES_FAIL_ONES   (3)
 Ones memory test failing result.
#define BOOT_DIAGS_MT_RES_FAIL_TWOS   (4)
 Address memory test failing result.
#define BOOT_DIAGS_MT_RES_FAIL_FOURS   (5)
 Address memory test failing result.
#define BOOT_DIAGS_MT_RES_FAIL_EIGHTS   (6)
 Address memory test failing result.
#define BOOT_DIAGS_MT_RES_FAIL_ADDRS   (7)
 Address memory test failing result.
#define BOOT_DIAGS_MT_RES_FAIL_MEM_CNTL   (8)
 Memory test controller failing result.
#define BOOT_DIAGS_MT_RES_NOT_RUN   (0)
 Memory test not run result.
#define BOOT_DIAGS_MT_RES_FILLED   (14)
 Memory test filled result.
#define BOOT_DIAGS_MT_RES_SKIPPED   (15)
 Memory test skipped result.
#define BOOT_DIAGS_MT_RES_BITS   (4)
 Number of result code bits.
#define BOOT_DIAGS_MT_FIRST_PASS   (1)
 Indicator for first pass of memory test.
#define BOOT_DIAGS_MT_SECOND_PASS   (2)
 Indicator for second pass of memory test.
#define BOOT_DIAGS_MT_BAIL_OUT   (3)
 Indicator for bail-out state of memory test.

Boot Start Codes

#define BOOT_START_VXW   (0)
 Boot VxWorks start boot type. Indicates that the RAD750 is being started by an internal VxWorks reset. Possible sources:.
#define BOOT_START_COLD   (1)
 Boot cold start boot type.
#define BOOT_START_WDOG   (2)
 Boot watchdog start boot type.
#define BOOT_START_PANIC   (3)
 Boot panic start boot type.
#define BOOT_START_EXCEPTION   (4)
 Boot exception start boot type.
#define BOOT_START_COMMAND   (5)
 Boot commanded start boot type.

Detailed Description

Public defintions for Boot Diagnostics Area.

Author:
Ray Caperoon
Date:
Fri Aug 1 11:16:18 2003
Public defintions for Boot Diagnostics Area. This file must be usable from assembly language and C.

The structure of the boot diagnostics and the contents such as bitfields and definitions are defined here. A C structure BOOT_Diagnostics can be mapped to the boot diagnostics address (0x0000FF80) and accessed directly. Also, a set of definitions (BOOT_DAIGS_*_OFF) define byte offsets from the boot diagnostics address for access from assembly language.

The primary boot flags are defined here (BOOT_DIAGS_PBF_*). These are bit mask definitions that can be used to access the primary boot flags member of the diagnostics area. Two special definitions, BOOT_DIAGS_PBF_ROM_CLEAR_MASK and BOOT_DIAGS_PBF_ROM_PRESERVE_MASK, are used by the ROM init code to reset or preserve the contents of the primary boot flags during a warm boot.

The secondary boot flags are defined here (BOOT_DIAGS_SBF_*). These are bit mask definitions that can be used to access the secondary boot flags member of the diagnostics area.

Memory test results are defined here (BOOT_DIAGS_MT_*). These definitions are used to access the details of the memory test results in the boot diagnostics area.

Date
2007/02/05 18:49:34
Source
/nfs/slac/g/glast/flight/archive/VXW/h/BootDiagnostics.h,v
Author
dwood
Revision
1.12
Log
BootDiagnostics.h,v
Revision 1.12 2007/02/05 18:49:34 dwood Made data cache configuration dynamic by defining new secondary boot flag; changes in sysInit() and usrInit() to setup cache and MMU for either write-through or copy-back mode.

Revision 1.11 2006/12/15 20:25:18 apw Add the ability to trace exceptions

Revision 1.10 2004/10/15 18:10:53 dmay add mem test parms to primary boot flags; add RTOS result field to mem test result value; add 'FILLED' mem test result code

Revision 1.9 2004/09/03 17:50:33 dwood Added secondary boot definition macros BOOT_DIAGS_SBF_MOUNT_EE0 and BOOT_DIAGS_SBF_MOUNT_EE1.

Revision 1.8 2004/07/23 20:56:25 dmay reverse order of BOOT_DIAGS_PBF_xxx_RESET bits; add BOOT_DIAGS_PBF_PRI_RESET

Revision 1.7 2004/05/12 19:44:45 dmay Added mtCount, which is the number of RAM words tested

Revision 1.6 2004/04/02 16:03:08 dwood Added definition for start type BOOT_START_VXW.

Revision 1.5 2004/03/18 15:45:51 ray fixed typo

Revision 1.4 2004/03/16 20:00:35 dwood Added application definitions for boot diagnostics area; modified secondary boot flags to allow for multiple SBC file commit locations.

Revision 1.3 2004/02/25 13:03:37 ray update boot diagnostics and memory test result formats

Revision 1.2 2003/11/19 13:35:26 ray updates to boot diagnostics and memory map

Revision 1.1 2003/11/13 12:18:17 ray initial checkin for boot diagnostics

Revision 1.1.1.1 2003/08/04 19:19:41 ray Create package PBC


Define Documentation

#define BOOT_DIAGS_APP_INFO_OFF   (0x60)
 

Offset to application information in the boot diagnostics area.

Provides a numeric offset (in bytes) to application information in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_APP_NUM_WORD   (8)
 

The number of words in the boot diagnostics structure reserved for passing application information.

#define BOOT_DIAGS_BIST_750_OFF   (0x50)
 

Offset to RAD750 PPC BIST in the boot diagnostics area.

Provides a numeric offset (in bytes) to RAD750 PPC BIST in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_BIST_PPCI_MISR0_OFF   (0x54)
 

Offset to RAD750 PPCI MISR0 BIST in the boot diagnostics area.

Provides a numeric offset (in bytes) to RAD750 PPCI BIST MISR0 in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_BIST_PPCI_MISR1_OFF   (0x58)
 

Offset to RAD750 PPCI MISR1 BIST in the boot diagnostics area.

Provides a numeric offset (in bytes) to RAD750 PPCI BIST MISR1 in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_COUNT_OFF   (0x08)
 

Offset to exception count in the boot diagnostics area.

Provides a numeric offset (in bytes) to exception count in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_DAR_REG_OFF   (0x18)
 

Offset to DAR value in the boot diagnostics area.

Provides a numeric offset (in bytes) to DAR value in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_DSISR_REG_OFF   (0x1C)
 

Offset to DSISR value in the boot diagnostics area.

Provides a numeric offset (in bytes) to DSISR value in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_MEM_STS_REG_OFF   (0x24)
 

Offset to memory status value in the boot diagnostics area.

Provides a numeric offset (in bytes) to memory status value in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_PCI_STS2_REG_OFF   (0x20)
 

Offset to PCI status 2 value in the boot diagnostics area.

Provides a numeric offset (in bytes) to PCI status 2 value in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_SRR0_REG_OFF   (0x10)
 

Offset to SRR0 value in the boot diagnostics area.

Provides a numeric offset (in bytes) to SRR0 value in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_SRR1_REG_OFF   (0x14)
 

Offset to SRR1 value in the boot diagnostics area.

Provides a numeric offset (in bytes) to SRR1 value in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_TASK_ID_OFF   (0x28)
 

Offset to task ID value in the boot diagnostics area.

Provides a numeric offset (in bytes) to task ID value in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_EXC_VEC_OFF   (0x0C)
 

Offset to exception vector in the boot diagnostics area.

Provides a numeric offset (in bytes) to exception vector in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_MT_ACTUAL_OFF   (0x08)
 

Offset to memory test actual value in the boot diagnostics area.

Provides a numeric offset (in bytes) to memory test failure value in memory test data. Add this offset to either BOOT_DIAGS_MT_PRE_OFF or BOOT_DIAGS_MT_POST_OFF to calculate an offset from the start of the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_MT_ADDR_OFF   (0x04)
 

Offset to memory test address in the boot diagnostics area.

Provides a numeric offset (in bytes) to memory test failure address in memory test data. Add this offset to either BOOT_DIAGS_MT_PRE_OFF or BOOT_DIAGS_MT_POST_OFF to calculate an offset from the start of the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_MT_BAIL_OUT   (3)
 

Indicator for bail-out state of memory test.

Internal indicator for a bail-out state of the memory test. The memory test is in the "bail-out" state after a failure during the second pass or after a memory controller error.

#define BOOT_DIAGS_MT_COLUMN_BITS   (4)
 

Number of bad column bits.

The number of bits used to store the bad column index.

#define BOOT_DIAGS_MT_COLUMN_MASK   (0x00000F00)
 

Memory test column mask.

This macro provides a bit mask used to extract the bad column index from the memory test results in the boot diagnostics.

#define BOOT_DIAGS_MT_COLUMN_SHIFT   (8)
 

Memory test column mask.

This macro provides a shift that can be applied the memory test results in the boot diagnostics along with BOOT_DIAGS_MT_COLUMN_MASK to retrieve the bad column index.

#define BOOT_DIAGS_MT_COUNT_OFF   (0x5C)
 

Offset to memory test word count value in the boot diagnostics area.

Provides a numeric offset (in bytes) to memory test word count in memory test data. Usable by assembly language or C-code.

#define BOOT_DIAGS_MT_DIAGS_MASK   (0x00F00000)
 

boot memory test results mask.

This macro provides a bit mask that can be used to extract the 4 bits of memory test results (in the boot diagnostics) for the boot diagnostics SDRAM test are stored.

#define BOOT_DIAGS_MT_ERRCNT_BITS   (8)
 

Number of bad error count bits.

The number of bits used to store the memory controller error count.

#define BOOT_DIAGS_MT_ERRCNT_MASK   (0x000000FF)
 

Memory test error count mask.

This macro provides a bit mask used to extract the memory controller error count from the memory test results in the boot diagnostics.

#define BOOT_DIAGS_MT_ERRCNT_SHIFT   (0)
 

Memory test ERRCNT mask.

This macro provides a shift that can be applied the memory test results in the boot diagnostics along with BOOT_DIAGS_MT_ERRCNT_MASK to retrieve the memory controller error count.

#define BOOT_DIAGS_MT_FIRST_PASS   (1)
 

Indicator for first pass of memory test.

Internal indicator for first pass of memory test. The memory test only runs one pass unless errors are encountered.

#define BOOT_DIAGS_MT_HIGH_MASK   (0x0F000000)
 

High boot memory test results mask.

This macro provides a bit mask that can be used to extract the 4 bits of memory test results (in the boot diagnostics) for the high boot SDRAM test are stored.

#define BOOT_DIAGS_MT_HIGH_SHIFT   (24)
 

High boot memory test results shift.

This macro provides a shift that can be applied the memory test results in the boot diagnostics along with BOOT_DIAGS_MT_HIGH_MASK to make a number that can be compared to the BOOT_DIAGS_MT_RES_* macros.

#define BOOT_DIAGS_MT_LOW_MASK   (0xF0000000)
 

Low boot memory test results mask.

This macro provides a bit mask that can be used to extract the 4 bits of memory test results (in the boot diagnostics) for the low boot SDRAM test are stored.

#define BOOT_DIAGS_MT_LOW_SHIFT   (28)
 

Low boot memory test results shift.

This macro provides a shift that can be applied the memory test results in the boot diagnostics along with BOOT_DIAGS_MT_LOW_MASK to make a number that can be compared to the BOOT_DIAGS_MT_RES_* macros.

#define BOOT_DIAGS_MT_POST_OFF   (0x38)
 

Offset to post-remediation memory test data.

Provides a numeric offset (in bytes) to the second (post-remediation) set of memory test data in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_MT_PRE_OFF   (0x2C)
 

Offset to pre-remediation memory test data.

Provides a numeric offset (in bytes) to the first (pre-remediation) set of memory test data in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_MT_RES_BITS   (4)
 

Number of result code bits.

The number of bits used to store the memory test result code.

#define BOOT_DIAGS_MT_RES_FAIL_ADDRS   (7)
 

Address memory test failing result.

Indicates a memory test has failed the address test.

#define BOOT_DIAGS_MT_RES_FAIL_EIGHTS   (6)
 

Address memory test failing result.

Indicates a memory test has failed the eights test.

#define BOOT_DIAGS_MT_RES_FAIL_FOURS   (5)
 

Address memory test failing result.

Indicates a memory test has failed the fours test.

#define BOOT_DIAGS_MT_RES_FAIL_MEM_CNTL   (8)
 

Memory test controller failing result.

Indicates a memory test has failed the memory controller test.

#define BOOT_DIAGS_MT_RES_FAIL_ONES   (3)
 

Ones memory test failing result.

Indicates a memory test has failed the ones test.

#define BOOT_DIAGS_MT_RES_FAIL_TWOS   (4)
 

Address memory test failing result.

Indicates a memory test has failed twos test.

#define BOOT_DIAGS_MT_RES_FAIL_ZEROS   (2)
 

Zeros memory test failing result.

Indicates a memory test has failed the zeros test.

#define BOOT_DIAGS_MT_RES_FILLED   (14)
 

Memory test filled result.

Indicates a memory test only filled the region with data.

#define BOOT_DIAGS_MT_RES_NOT_RUN   (0)
 

Memory test not run result.

Indicates a memory test was not run.

#define BOOT_DIAGS_MT_RES_PASS   (1)
 

Pass memory test result.

Indicates a memory test has passed.

#define BOOT_DIAGS_MT_RES_SKIPPED   (15)
 

Memory test skipped result.

Indicates a memory test was skipped.

#define BOOT_DIAGS_MT_RESERVED_MASK   (0x000F0000)
 

Reserved memory test results mask.

This macro provides a bit mask that can be used to extract the 4 bits of memory test results (in the boot diagnostics) for the reserved SDRAM test are stored.

#define BOOT_DIAGS_MT_RESERVED_SHIFT   (16)
 

Reserved memory test results shift.

This macro provides a shift that can be applied the memory test results in the boot diagnostics along with BOOT_DIAGS_MT_RESERVED_MASK to make a number that can be compared to the BOOT_DIAGS_MT_RES_* macros.

#define BOOT_DIAGS_MT_RESULTS_OFF   (0x00)
 

Offset to memory test results.

Provides a numeric offset (in bytes) to memory test results in memory test data. Add this offset to either BOOT_DIAGS_MT_PRE_OFF or BOOT_DIAGS_MT_POST_OFF to calculate an offset from the start of the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_MT_RTOS_MASK   (0x0000F000)
 

RTOS region memory test results mask.

This macro provides a bit mask that can be used to extract the 4 bits of memory test results (in the boot diagnostics) for the RTOS region SDRAM test are stored.

#define BOOT_DIAGS_MT_RTOS_SHIFT   (12)
 

RTOS region memory test results shift.

This macro provides a shift that can be applied the memory test results in the boot diagnostics along with BOOT_DIAGS_MT_RTOS_MASK to make a number that can be compared to the BOOT_DIAGS_MT_RES_* macros.

#define BOOT_DIAGS_MT_SECOND_PASS   (2)
 

Indicator for second pass of memory test.

Internal indicator for second pass of memory test. The memory test runs a second pass after one failure and remediation.

#define BOOT_DIAGS_PBF_APP_RESET   (0x00002000)
 

Primary boot flags application reset flag.

Bit 18 of the primary boot flags. Read by the rom init code.

The CPU has been rebooted as the result of application critical error or warm reboot command. This flag is set to a '0' in the event of a hardware reboot.

#define BOOT_DIAGS_PBF_BOOT_FAST   (0x10000000)
 

Primary boot flags fast boot flag.

Bit 3 of the primary boot flags. Read by the rom init code.

When set, it indicates that the primary boot code should skip the initial command timeout procedure and immediately load the default RTOS image and start the secondary boot process. This flag is set to a '0' in the event of a hardware reboot.

#define BOOT_DIAGS_PBF_BOOT_MEM_TEST   (0x00000004)
 

Primary boot flags BOOT region memory test.

Bit 29 of the primary boot flags. Read by the rom init code.

Indicates the BOOT region memory test should be run. This flag can be set by the primary boot code or application code before a warm reset. When set, the rom init code will test the BOOT region of memory.

#define BOOT_DIAGS_PBF_DIAG_MEM_TEST   (0x00000008)
 

Primary boot flags DIAG region memory test.

Bit 28 of the primary boot flags. Read by the rom init code.

Indicates the BOOT DIAGNOSTICS region memory test should be run. This flag can be set by the primary boot code or application code before a warm reset. When set, the rom init code will test the BOOT DIAGNOSTICS region of memory.

#define BOOT_DIAGS_PBF_EXC_RESET   (0x00008000)
 

Primary boot flags exception reset flag.

Bit 16 of the primary boot flags. Read by the rom init code.

The CPU has been rebooted as the result of a software instruction exception. This flag is set to a '0' in the event of a hardware reboot.

#define BOOT_DIAGS_PBF_HARD_RESET   (0x20000000)
 

Primary boot flags hard reset bit flag.

Bit 2 of the primary boot flags. Set by the rom init code.

When set, it indicates that the CPU was reset in hardware. If this flag is set, the other flags indicating software settings will be forced to known values. The set of hardware reset cause flags (bits 8 - 11) may be interrogated to find the source of the hardware reset.

#define BOOT_DIAGS_PBF_JTAG_RESET   (0x00800000)
 

Primary boot flags JTAG reset flag.

Bit 8 of the primary boot flags. Set by the rom init code.

A hardware reset flag indicating that the RAD750 CPU board was reset by an external JTAG master interface. This flag is copied from the corresponding bit in the RAD750 BIST Status Register.

#define BOOT_DIAGS_PBF_MEM_ERROR   (0x00000080)
 

Primary boot flags memory error flag.

Bit 24 of the primary boot flags. Set by the rom init code.

A memory test error has been reported by the primary boot code. Details of this error are in the diagnostics region.

#define BOOT_DIAGS_PBF_MEM_SPARE_ENABLE   (0x00000010)
 

Primary boot flags memory sparing enable.

Bit 27 of the primary boot flags. Read by the rom init code.

Indicates that one of the spare RAM columns should be enabled. This flag can be set by the primary boot code or application code before a warm reset. When set, the rom init code will use the value in the BOOT_DIAGS_PBF_MEM_SPARE_SELECT field to enable one of the spare RAM columns.

#define BOOT_DIAGS_PBF_MEM_SPARE_SELECT   (0x00000F00)
 

Primary boot flags memory spare column selection.

Bits 20-23 of the primary boot flags. Read by the rom init code.

Indicates the assignment of the spare RAM column. The value in this field can be set by the primary boot code or application code before a warm reset. When the BOOT_DIAGS_PBF_MEM_SPARE_ENABLE flag is set, the rom init code will use the value in this field to assign the spare RAM column.

#define BOOT_DIAGS_PBF_POR_RESET   (0x00100000)
 

Primary boot flags power on reset flag.

Bit 11 of the primary boot flags. Set by the rom init code.

A hardware reset flag indicating that the RAD750 CPU board was reset by the external power on reset signal. This flag is copied from the corresponding bit in the RAD750 BIST Status Register.

#define BOOT_DIAGS_PBF_PPCI_ERR_RESET   (0x00200000)
 

Primary boot flags PPCI error reset flag.

Bit 10 of the primary boot flags. Set by the rom init code.

A hardware reset flag indicating that the RAD750 CPU board was reset by an internal error in the PPCI bridge chip. This flag is copied from the corresponding bit in the RAD750 BIST Status Register.

#define BOOT_DIAGS_PBF_PPCI_RESET   (0x00400000)
 

Primary boot flags PPCI reset flag.

Bit 9 of the primary boot flags. Set by the rom init code.

A hardware reset flag indicating that the RAD750 CPU board was reset by the PPCI on chip bus software reset command. This flag is copied from the corresponding bit in the RAD750 BIST Status Register.

#define BOOT_DIAGS_PBF_PRI_RESET   (0x00001000)
 

Primary boot flags primary boot reset flag.

Bit 19 of the primary boot flags. Read by the rom init code.

The CPU has been rebooted as the result of a primary boot process critical error. This flag is set to a '0' in the event of a hardware reboot.

#define BOOT_DIAGS_PBF_RES_MEM_TEST   (0x00000001)
 

Primary boot flags extended memory test.

Bit 31 of the primary boot flags. Read by the rom init code.

Indicates extended memory test should be run. This flag can be set by the primary boot code or application code before a warm reset. When set, the rom init code will run the extended memory test. This extended memory test includes the 120 megabytes of SDRAM not normally available to the primary boot code.

#define BOOT_DIAGS_PBF_ROM_CLEAR_MASK
 

Value:

Primary boot flags clear mask.

This macro provides a mask of bits in the primary boot flags that should be cleared during the boot process. These are all flags that are set by the primary boot code to indicate the source of a reset and diagnostic status.

#define BOOT_DIAGS_PBF_ROM_PRESERVE_MASK
 

Value:

Primary boot flags preserve mask.

This macro provides a mask of bits in the primary boot flags that should be preserved during the boot process. These are all flags that are not set by the primary boot code and provide information the primary or secondary boot can use to initialize the hardware and software envrionment.

#define BOOT_DIAGS_PBF_RTOS_MEM_TEST   (0x00000002)
 

Primary boot flags RTOS region memory test.

Bit 30 of the primary boot flags. Read by the rom init code.

Indicates the RTOS region memory test should be run. This flag can be set by the primary boot code or application code before a warm reset. When set, the rom init code will test the RTOS region of memory.

#define BOOT_DIAGS_PBF_SEC_RESET   (0x00004000)
 

Primary boot flags secondary boot reset flag.

Bit 17 of the primary boot flags. Read by the rom init code.

The CPU has been rebooted as the result of a secondary boot process critical error. This flag is set to a '0' in the event of a hardware reboot.

#define BOOT_DIAGS_PRIM_BOOT_FLAGS_OFF   (0x00)
 

Offset to primary boot flags in the boot diagnostics area.

Provides a numeric offset (in bytes) to primary boot flags in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_SBF_MOD0_SOURCE_EE0   (0x20000000)
 

Secondary boot flag set indicating RTOS source in EEPROM lower bank.

These values can be used in bits 2 and 3 of the secondary boot flags.

#define BOOT_DIAGS_SBF_MOD0_SOURCE_EE1   (0x10000000)
 

Secondary boot flag set indicating RTOS source in EEPROM upper bank.

These values can be used in bits 2 and 3 of the secondary boot flags.

#define BOOT_DIAGS_SBF_MOD0_SOURCE_MASK   (0x30000000)
 

Secondary boot flags module 0 source bit mask.

Bits 2 and 3 of the secondary boot flags.

Flag indicates the location from which the secondary boot process should source module 0.
BOOT_DIAGS_SBF_MOD0_SOURCE_RAM = SBC Module 0 should be sourced from RAM temporary area
BOOT_DIAGS_SBF_MOD0_SOURCE_EE0 = SBC Module 0 should be sourced from EEPROM boot region in lower bank
BOOT_DIAGS_SBF_MOD0_SOURCE_EE1 = SBC Module 0 should be sourced from EEPROM boot region in upper bank

#define BOOT_DIAGS_SBF_MOD0_SOURCE_RAM   (0x00000000)
 

Secondary boot flag set indicating SBC module 0 source in RAM.

These values can be used in bits 2 and 3 of the secondary boot flags.

#define BOOT_DIAGS_SBF_MOD1_SOURCE_EE0   (0x08000000)
 

Secondary boot flag set indicating SBC module 1 source in EEPROM lower bank.

These values can be used in bits 4 and 5 of the secondary boot flags.

#define BOOT_DIAGS_SBF_MOD1_SOURCE_EE1   (0x04000000)
 

Secondary boot flag set indicating SBC module 1 source in EEPROM upper bank.

These values can be used in bits 4 and 5 of the secondary boot flags.

#define BOOT_DIAGS_SBF_MOD1_SOURCE_MASK   (0x0c000000)
 

Secondary boot flags module 1 source bit mask.

Bits 4 and 5 of the secondary boot flags.

Flag indicates the location from which the secondary boot process should source module 1
BOOT_DIAGS_SBF_MOD1_SOURCE_RAM = SBC Module 1 should be sourced from RAM temporary area
BOOT_DIAGS_SBF_MOD1_SOURCE_EE0 = SBC Module 1 should be sourced from EEPROM boot region in lower bank
BOOT_DIAGS_SBF_MOD1_SOURCE_EE0 = SBC Module 1 should be sourced from EEPROM boot region in upper bank

#define BOOT_DIAGS_SBF_MOD1_SOURCE_RAM   (0x00000000)
 

Secondary boot flag set indicating SBC module 1 source in RAM.

These values can be used in bits 4 and 5 of the secondary boot flags.

#define BOOT_DIAGS_SBF_RTOS_SOURCE_EE0   (0x80000000)
 

Secondary boot flag set indicating RTOS source in EEPROM lower bank.

These values can be used in bits 0 and 1 of the secondary boot flags.

#define BOOT_DIAGS_SBF_RTOS_SOURCE_EE1   (0x40000000)
 

Secondary boot flag set indicating RTOS source in EEPROM upper bank.

These values can be used in bits 0 and 1 of the secondary boot flags.

#define BOOT_DIAGS_SBF_RTOS_SOURCE_MASK   (0xc0000000)
 

Secondary boot flags RTOS source bit mask.

Bits 0 and 1 of the secondary boot flags.

RTOS image source flag indicates the location from which the RTOS executable was taken when starting the secondary boot process.
BOOT_DIAGS_SBF_RTOS_SOURCE_RAM = RTOS image was sourced from RAM temporary area
BOOT_DIAGS_SBF_RTOS_SOURCE_EE0 = RTOS image was sourced from EEPROM boot region in lower bank
BOOT_DIAGS_SBF_RTOS_SOURCE_EE1 = RTOS image was sourced from EEPROM boot region in upper bank

#define BOOT_DIAGS_SBF_RTOS_SOURCE_RAM   (0x00000000)
 

Secondary boot flag set indicating RTOS source in RAM.

These values can be used in bits 0 and 1 of the secondary boot flags.

#define BOOT_DIAGS_SEC_BOOT_FAIL_DATA_OFF   (0x4C)
 

Offset to secondary boot failure data in the boot diagnostics area.

Provides a numeric offset (in bytes) to secondary boot failure data in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_SEC_BOOT_FAIL_IDX_OFF   (0x48)
 

Offset to secondary boot failure index in the boot diagnostics area.

Provides a numeric offset (in bytes) to secondary boot failure index in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_SEC_BOOT_FAIL_OFF   (0x44)
 

Offset to secondary boot failure in the boot diagnostics area.

Provides a numeric offset (in bytes) to secondary boot failure in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_DIAGS_SEC_BOOT_FLAGS_OFF   (0x04)
 

Offset to secondary boot flags in the boot diagnostics area.

Provides a numeric offset (in bytes) to secondary boot flags in the boot diagnostics area. Usable by assembly language or C-code.

#define BOOT_START_COLD   (1)
 

Boot cold start boot type.

Indicates the RAD750 is being started by a cold boot reset. Passed to the PBC_BootShell() on power on reset cases.

#define BOOT_START_COMMAND   (5)
 

Boot commanded start boot type.

Indicates the RAD750 is being started as a result of an reset command from the ground.

#define BOOT_START_EXCEPTION   (4)
 

Boot exception start boot type.

Indicates the RAD750 is being started as a result of an exception.

#define BOOT_START_PANIC   (3)
 

Boot panic start boot type.

Indicates the RAD750 is being started during a panic. A panic indicates *BAD* things happened to cause a reboot. Possible sources of panic:

PBC_BootShell function returns to caller. Secondary boot entry point returns to caller. Applicatons encounter critical error.

#define BOOT_START_VXW   (0)
 

Boot VxWorks start boot type. Indicates that the RAD750 is being started by an internal VxWorks reset. Possible sources:.

VxWorks nested exception panic. VxWorks kernel panic. VxWorks shell ^X.

#define BOOT_START_WDOG   (2)
 

Boot watchdog start boot type.

Indicates the RAD750 is being started by a watchdog reset. Passed to the PBC_BootShell() on watchdog on reset cases.


Generated on Tue Dec 18 09:49:28 2007 by  doxygen 1.4.4