Age | Commit message (Collapse) | Author |
|
This fault can used to flush the pipe, not including the faulting instruction.
The particular case I needed this was for a self-modifying code. It needed to
drain the store queue and force the following instruction to refetch from
icache. DCCMVAC cp15 mcr instruction is modified to raise this fault.
|
|
access is disabled.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This simplifies the decoder slightly, and makes the system call mechanism
very slightly more realistic.
|
|
Instead of panic immediately when these instructions are executed, an
UndefinedInstruction fault is returned. In FS mode (not currently
implemented), this is the fault that should, to my knowledge, be triggered in
these situations and should be handled using the normal architected
mechanisms. In SE mode, the fault causes a panic when it's invoked that gives
the same information as the instruction did. When/if support for speculative
execution of ARM is supported, this will allow a mispeculated and unrecognized
and/or unimplemented instruction from causing a panic. Only once the
instruction is going to be committed will the fault be invoked, triggering the
panic.
|
|
|
|
Implement some fault classes using the curriously recurring template pattern,
similar to SPARCs.
|
|
|
|
|