1 /* 2 * Copyright (c) 2023 Arm Limited (or its affiliates). All rights reserved. 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6 /** 7 * @file 8 * @brief Definitions for boot code 9 */ 10 11 #ifndef _BOOT_H_ 12 #define _BOOT_H_ 13 14 #ifndef _ASMLANGUAGE 15 16 extern void *_vector_table[]; 17 extern void __start(void); 18 19 #endif /* _ASMLANGUAGE */ 20 21 /* Offsets into the boot_params structure */ 22 #define BOOT_PARAM_MPID_OFFSET 0 23 #define BOOT_PARAM_IRQ_SP_OFFSET 4 24 #define BOOT_PARAM_FIQ_SP_OFFSET 8 25 #define BOOT_PARAM_ABT_SP_OFFSET 12 26 #define BOOT_PARAM_UDF_SP_OFFSET 16 27 #define BOOT_PARAM_SVC_SP_OFFSET 20 28 #define BOOT_PARAM_SYS_SP_OFFSET 24 29 #define BOOT_PARAM_VOTING_OFFSET 28 30 31 #endif /* _BOOT_H_ */ 32