STATUS32.DZ(bit 13) is the EV_DivZero exception enable bit, and it's not enabled by default. we need to set it explicitly to enable divide zero exception on early boot and each thread's setup. The DZ bit is ignored on write and read as zero when there is no hardware division configured. So we can simply set DZ bit even if there is no hardware division configured. Signed-off-by: Watson Zeng <zhiwei@synopsys.com> |
||
|---|---|---|
| .. | ||
| mpu | ||
| secureshield | ||
| arc_connect.h | ||
| arcv2_irq_unit.h | ||
| asm_inline_gcc.h | ||
| asm_inline.h | ||
| aux_regs.h | ||
| error.h | ||
| exc.h | ||
| irq.h | ||
| linker.ld | ||
| misc.h | ||
| sys_io.h | ||