Go to the documentation of this file.
9 #ifndef _ASM_MICROBLAZE_IRQFLAGS_H
10 #define _ASM_MICROBLAZE_IRQFLAGS_H
12 #include <linux/types.h>
13 #include <asm/registers.h>
15 #if CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR
20 asm volatile(
" msrclr %0, %1 \n"
31 asm volatile(
" msrclr r0, %0 \n"
41 asm volatile(
" msrset r0, %0 \n"
53 asm volatile (
" mfs %0, rmsr \n"
58 :
"=r"(
flags),
"=r"(tmp)
67 asm volatile(
" mfs %0, rmsr \n"
80 asm volatile(
" mfs %0, rmsr \n"
95 asm volatile(
" mfs %0, rmsr \n"
105 asm volatile(
" mts rmsr, %0 \n"
114 return (flags &
MSR_IE) == 0;