]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blob - src/interp/btbl/btblloc.h
Port makefiles to Linux (while still supporting Windows)
[keystone-rtos/ibl.git] / src / interp / btbl / btblloc.h
1 #ifndef __BTBLLOC_H__
2 #define __BTBLLOC_H__
3 /*******************************************************************************
4  * FILE PURPOSE: Macros and definitions private to BTBL 
5  *******************************************************************************
6  * FILE NAME: BTBLLOC.h  
7  *
8  * DESCRIPTION: Defines macros and definitions seen only by the BTBL processing
9  *              module
10  *
11  * (C) Copyright 2004, TELOGY Networks, Inc.
12  ******************************************************************************/
13 /* System level header files */
14 #include "types.h"
16 /* BTBL header files */
17 #include "btbl.h"
19 /*******************************************************************************
20  *  Data Definition :  Define I/O Register Opcode
21  ******************************************************************************/
22 #define BOOT_TBL_IO_CFG_DELAY       0xFFFF
23 #define BOOT_TBL_IO_CFG_START_CORE  0xFFFE
25 /*******************************************************************************
26  *  Data Definition :  BOOT_TBL_STATE_T
27  *******************************************************************************
28  *  DESCRIPTION :  
29  *    The following definitions describe the boot table processing state.  
30  ******************************************************************************/
31 typedef UINT16 BOOT_TBL_STATE_T;
33 #define BOOT_TBL_STATE_INIT         0
34 #define BOOT_TBL_STATE_IO_CNT       1 
35 #define BOOT_TBL_STATE_IO_REGS      2 
36 #define BOOT_TBL_STATE_SIZE         3
37 #define BOOT_TBL_STATE_ADDR         4 
38 #define BOOT_TBL_STATE_DATA         5 
39 #define BOOT_TBL_STATE_FLUSH        6 
40 #define BOOT_TBL_LAST_STATE         BOOT_TBL_STATE_FLUSH
41 #define BOOT_TBL_NUM_STATES         (BOOT_TBL_LAST_STATE + 1)
44 /******************************************************************************
45  * DATA DEFINITION: Boot Table Procssing Function
46  *****************************************************************************/
47 typedef void (*BootTblProcFcn_t) (BOOT_TBL_CB_T* p_inst);
49 #endif  /* __BTBLLOC_H__ */
51 /* Nothing past this point */