Re: mtvec question
Joe Xie
Are we going to use bit1 soon in the future? We are wondering if we can use bit1 to indicate there’s illegal value (WLRL) – if bit1 is written with 1 then fire exception.
From: <tech-privileged@...> on behalf of Andrew Waterman <andrew@...>
I have been bitten by this, too, but I have little in the way of advice.
There are various software approaches to reduce the likelihood of encountering this problem, even if the programmer forgets to insert the alignment directive. The first one that comes to mind is to put a trap handler in its own ELF section so that the linker script can forcibly align them.
On Thu, Jun 18, 2020 at 6:22 PM Joe Xie <joxie@...> wrote:
|
|
|