/* * Copyright (C) 2012 Regents of the University of California * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _ASM_RISCV_IRQFLAGS_H #define _ASM_RISCV_IRQFLAGS_H #include <asm/processor.h> #include <asm/csr.h> /* read interrupt enabled status */
static inline unsigned long arch_local_save_flags(void) { return csr_read(sstatus); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 15 | 93.75% | 1 | 50.00% |
Christoph Hellwig | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 15 | 93.75% | 1 | 50.00% |
Christoph Hellwig | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 17 | 94.44% | 1 | 50.00% |
Christoph Hellwig | 1 | 5.56% | 1 | 50.00% |
Total | 18 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 18 | 94.74% | 1 | 50.00% |
Christoph Hellwig | 1 | 5.26% | 1 | 50.00% |
Total | 19 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 16 | 100.00% | 1 | 100.00% |
Total | 16 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 19 | 95.00% | 1 | 50.00% |
Christoph Hellwig | 1 | 5.00% | 1 | 50.00% |
Total | 20 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Palmer Dabbelt | 139 | 96.53% | 1 | 50.00% |
Christoph Hellwig | 5 | 3.47% | 1 | 50.00% |
Total | 144 | 100.00% | 2 | 100.00% |