/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  and  are protected by Federal copyright law. They may not be disclosed
 *  to  third  parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 */
#ifndef __ARM_H__
#define __ARM_H__

#define ARM_MODE_USR 0x10
#define ARM_MODE_FIQ 0x11
#define ARM_MODE_IRQ 0x12
#define ARM_MODE_SVC 0x13
#define ARM_MODE_ABT 0x17
#define ARM_MODE_UND 0x1b
#define ARM_MODE_SYS 0x1f
#define ARM_MODE_MASK 0x1f

#define ARM_IRQ 0x80
#define ARM_FIQ 0x40

#define ARM_THUMB_STATE 0x20

#define CLINE 5         /* Cache line size = (1 << CLINE)  */
#define DCACHE_SIZE 14  /* (1 << 14) bytes of data cache */
#define ICACHE_SIZE 14  /* (1 << 14) bytes of instruction cache */
#endif /* __ARM_H__ */
