1 /**
2 * @file bis.h
3 *
4 * @brief
5 * The file has definitions for the BIS specification.
6 *
7 * \par
8 * NOTE:
9 * (C) Copyright 2008, Texas Instruments, Inc.
10 *
11 * \par
12 */
13 #ifndef __BIS_H__
14 #define __BIS_H__
16 /* Boot Image Script (BIS) Magic number definition
17 * Every boot image should begin with TIBI (TI Boot Image) */
18 #define BIS_MAGIC_NUMBER (0x54494249u) // 'T','I','B','I'
20 /* Boot Image Script (BIS) Command Definitions
21 * Every BIS command will read 'B','I','S',XXh, where XXh is the command number */
22 #define BIS_CMD_PREFIX (0x42495300u) // 'B','I','S',xxx
23 #define BIS_CMD_MASK (0xFFFFFF00u)
24 #define BIS_CMD_SECTION_LOAD (0x42495301u)
25 #define BIS_CMD_FUNCTION_LOAD (0x42495302u)
26 #define BIS_CMD_FUNCTION_EXEC (0x42495303u)
27 #define BIS_CMD_MEMORY_ACCESS (0x42495304u)
28 #define BIS_CMD_SECTION_TERMINATE (0x424953FFu)
31 Int32 iblBootBis (BOOT_MODULE_FXN_TABLE *bootFxn, Uint32* entry_point);
33 #endif /* __BIS_H__ */