Skip to content
Commit 78c87cd1 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

include: Make mstatus parameter optional for get_insn()



The mstatus parameter of get_insn() is used to return MSTATUS CSR
value which get_insn() saw. Most of the get_insn() callers don't
use the value returned in mstatus so this patch makes mstatus
parameter optional for get_insn().

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
parent 13877c3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment