/* * Broadcom SiliconBackplane MIPS definitions * * SB MIPS cores are custom MIPS32 processors with SiliconBackplane * OCP interfaces. The CP0 processor ID is 0x00024000, where bits * 23:16 mean Broadcom and bits 15:8 mean a MIPS core with an OCP * interface. The core revision is stored in the SB ID register in SB * configuration space. * * Copyright (C) 2010, Broadcom Corporation. All Rights Reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * * $Id: mips33_core.h,v 13.3 2008/03/25 22:43:52 Exp $ */ #ifndef _mips33_core_h_ #define _mips33_core_h_ #include #ifndef _LANGUAGE_ASSEMBLY /* cpp contortions to concatenate w/arg prescan */ #ifndef PAD #define _PADLINE(line) pad ## line #define _XSTR(line) _PADLINE(line) #define PAD _XSTR(__LINE__) #endif /* PAD */ typedef volatile struct { uint32 corecontrol; uint32 PAD[2]; uint32 biststatus; uint32 PAD[4]; uint32 intstatus; uint32 intmask; uint32 timer; } mips33regs_t; #endif /* _LANGUAGE_ASSEMBLY */ #endif /* _mips33_core_h_ */