Ignore:
Timestamp:
2017-08-22T18:41:26Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83b7f4d
Parents:
bb3ba51
Message:

riscv64: disable interrupts when halting the CPU
move all CPU-related control constants to arch/cpu.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/riscv64/include/arch/asm.h

    rbb3ba51 r295ee02  
    3636#define KERN_riscv64_ASM_H_
    3737
     38#include <arch/cpu.h>
    3839#include <typedefs.h>
    3940#include <config.h>
    4041#include <arch/mm/asid.h>
    4142#include <trace.h>
    42 
    43 #define SSTATUS_SIE_MASK  0x00000002
    4443
    4544NO_TRACE static inline ipl_t interrupts_enable(void)
Note: See TracChangeset for help on using the changeset viewer.