1 /* *********************************************************************
2 * Broadcom Common Firmware Environment (CFE)
4 * CPU Configuration file File: cpu_config.h
6 * This file contains the names of the routines to be used
7 * in the dispatch table in init_mips.S
9 * It lives here in the CPU directory so we can direct
10 * the init calls to routines named in this directory.
12 * Author: Mitch Lichtenberg (mpl@broadcom.com)
14 *********************************************************************
16 * XX Copyright 2000,2001
17 * Broadcom Corporation. All rights reserved.
19 * BROADCOM PROPRIETARY AND CONFIDENTIAL
21 * This software is furnished under license and may be used and
22 * copied only in accordance with the license.
23 ********************************************************************* */
28 #define CPUCFG_CPUINIT bcmcore_cpuinit
29 #define CPUCFG_ALTCPU_START1 bcmcore_null
30 #define CPUCFG_ALTCPU_START2 bcmcore_null
31 #define CPUCFG_ALTCPU_RESET bcmcore_null
32 #define CPUCFG_CPURESTART bcmcore_cpurestart
33 #define CPUCFG_DRAMINIT board_draminit /* no dram on CPU */
34 #define CPUCFG_CACHEOPS bcmcore_cacheops
35 #define CPUCFG_ARENAINIT bcmcore_arena_init
36 #define CPUCFG_PAGETBLINIT bcmcore_pagetable_init
37 #define CPUCFG_TLBHANDLER bcmcore_tlbhandler
38 #define CPUCFG_DIAG_TEST1 bcmcore_null
39 #define CPUCFG_DIAG_TEST2 bcmcore_null
42 * The BCMCORE ticks CP0 every other cycle.
45 #define CPUCFG_CYCLESPERCPUTICK 2
51 #define HAZARD nop ; nop ; nop ; nop ; nop ; nop ; nop
54 * Return from exception macro