bootmode.h File Reference


Detailed Description

Basicboot module C header file.

REVISION

Definition in file bootmode.h.

#include "../feature.h"

Include dependency graph for bootmode.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Defines

#define PWR_MODE_ADDR   0xffff
 Address to set Power Mode (HOLD_PLAY or HOLD_HISI).
#define MW_LAUNCH   0x5555
 'Magic word' to auto launch app defined by BASIC_BOOT_MODE @ PWR_MODE_ADDR

Enumerations

enum  BASIC_BOOT_MODE {
  BOOT_AUTOLAUNCH1, BOOT_AUTOLAUNCH2, BOOT_MFT, BOOT_MAIN, BOOT_HPLAY, BOOT_HHISI,
  BOOT_RTC, BOOT_invalid
}
 The following enum, if MW_LAUNCH is @ MAGIC_WORD_ADDR, basicboot reads PWR_MODE_ADDR for the following:. More...
enum  POWER_MODE
 The following enum, defines modes power mode @ PWR_MODE_ADDR. More...


Enumeration Type Documentation

enum BASIC_BOOT_MODE
 

The following enum, if MW_LAUNCH is @ MAGIC_WORD_ADDR, basicboot reads PWR_MODE_ADDR for the following:.

Enumeration values:
BOOT_AUTOLAUNCH1  load boot_copy 1, or boot_copy 2 as needed.
BOOT_AUTOLAUNCH2  This launches BTLDR copy 2---- THIS ENUM CAN BE DELETED @ CRC ALG. WORKS.
BOOT_MFT  load MFT code
BOOT_MAIN  load main application, (with a power mode PWR_REBOOT)
BOOT_HPLAY  load main app, (with a power mode PWR_HPLAY)
BOOT_HHISI  load main app, (with a power mode PWR_HHISI)
BOOT_RTC  boot to RTC mode.
BOOT_invalid  invalid boot specifier, load main app, (with a power mode PWR_DEFAULT)

Definition at line 59 of file bootmode.h.

00060 {          
00061     BOOT_AUTOLAUNCH1,   
00062     BOOT_AUTOLAUNCH2,   
00063     BOOT_MFT,           
00064     BOOT_MAIN,          
00065     BOOT_HPLAY,         
00066     BOOT_HHISI,         
00067     BOOT_RTC,           
00068     BOOT_invalid        
00069 };

enum POWER_MODE
 

The following enum, defines modes power mode @ PWR_MODE_ADDR.

Basicboot sets these values

Definition at line 74 of file bootmode.h.

00075 {
00076     PWR_HPLAY,          /* hold play to start up */
00077     PWR_HHISI,          /* hold hisi to start up */
00078     PWR_RTC,            /* real time clock to start up */
00079     PWR_REBOOT,         /* restart on user request */
00080     PWR_DEFAULT,        /* restart on default */
00081     PWR_TESTING         /* restarts to main app, in test mode of basicboot */
00082 };


Generated on Wed Jan 19 01:12:48 2005 for neuros-firmware by  doxygen 1.3.9.1