mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-16 18:30:32 +00:00
Provide full access to stored registers.
This commit is contained in:
parent
d059e7c5d8
commit
a4cf86268e
@ -550,6 +550,12 @@ struct Executor {
|
||||
return registers_;
|
||||
}
|
||||
|
||||
// Included primarily for testing; my full opinion on this is still
|
||||
// incompletely-formed.
|
||||
Registers ®isters() {
|
||||
return registers_;
|
||||
}
|
||||
|
||||
/// Indicates a prefetch abort exception.
|
||||
void prefetch_abort() {
|
||||
registers_.exception<Registers::Exception::PrefetchAbort>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user