| 
									
										
										
										
											2013-01-18 15:12:16 +05:30
										 |  |  | /*
 | 
					
						
							| 
									
										
										
										
											2015-03-05 19:13:56 +05:30
										 |  |  |  * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) | 
					
						
							| 
									
										
										
										
											2013-01-18 15:12:16 +05:30
										 |  |  |  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License version 2 as | 
					
						
							|  |  |  |  * published by the Free Software Foundation. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __ASM_ARC_IRQFLAGS_H
 | 
					
						
							|  |  |  | #define __ASM_ARC_IRQFLAGS_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
											
												ARCv2: Support for ARCv2 ISA and HS38x cores
The notable features are:
    - SMP configurations of upto 4 cores with coherency
    - Optional L2 Cache and IO-Coherency
    - Revised Interrupt Architecture (multiple priorites, reg banks,
        auto stack switch, auto regfile save/restore)
    - MMUv4 (PIPT dcache, Huge Pages)
    - Instructions for
	* 64bit load/store: LDD, STD
	* Hardware assisted divide/remainder: DIV, REM
	* Function prologue/epilogue: ENTER_S, LEAVE_S
	* IRQ enable/disable: CLRI, SETI
	* pop count: FFS, FLS
	* SETcc, BMSKN, XBFU...
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
											
										 
											2013-05-13 18:30:41 +05:30
										 |  |  | #ifdef CONFIG_ISA_ARCOMPACT
 | 
					
						
							| 
									
										
										
										
											2015-03-05 19:13:56 +05:30
										 |  |  | #include <asm/irqflags-compact.h>
 | 
					
						
							| 
									
										
										
											
												ARCv2: Support for ARCv2 ISA and HS38x cores
The notable features are:
    - SMP configurations of upto 4 cores with coherency
    - Optional L2 Cache and IO-Coherency
    - Revised Interrupt Architecture (multiple priorites, reg banks,
        auto stack switch, auto regfile save/restore)
    - MMUv4 (PIPT dcache, Huge Pages)
    - Instructions for
	* 64bit load/store: LDD, STD
	* Hardware assisted divide/remainder: DIV, REM
	* Function prologue/epilogue: ENTER_S, LEAVE_S
	* IRQ enable/disable: CLRI, SETI
	* pop count: FFS, FLS
	* SETcc, BMSKN, XBFU...
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
											
										 
											2013-05-13 18:30:41 +05:30
										 |  |  | #else
 | 
					
						
							|  |  |  | #include <asm/irqflags-arcv2.h>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2013-01-18 15:12:16 +05:30
										 |  |  | 
 | 
					
						
							|  |  |  | #endif
 |