Changeset 295ee02 in mainline for kernel/arch/riscv64/src/boot/boot.S


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/src/boot/boot.S

    rbb3ba51 r295ee02  
    2929#include <abi/asmtool.h>
    3030#include <arch/boot/boot.h>
     31#include <arch/cpu.h>
    3132
    3233.section K_TEXT_START, "ax"
     
    4647       
    4748        /* Not reached */
    48         /* FIXME: Disable interrupts */
     49        csrci sstatus, SSTATUS_SIE_MASK
    4950        hlt0:
    5051                wfi
Note: See TracChangeset for help on using the changeset viewer.