attribute tweak
This commit is contained in:
parent
8173fa792a
commit
4d9077df2d
1 changed files with 2 additions and 4 deletions
6
bus.cpp
6
bus.cpp
|
@ -626,8 +626,7 @@ uint32_t bus::calculate_physical_address(const int run_mode, const uint16_t a, c
|
||||||
uint32_t io_base = get_io_base();
|
uint32_t io_base = get_io_base();
|
||||||
bool is_io = m_offset >= io_base;
|
bool is_io = m_offset >= io_base;
|
||||||
|
|
||||||
[[unlikely]]
|
if (trap_on_failure) [[unlikely]] {
|
||||||
if (trap_on_failure) {
|
|
||||||
{
|
{
|
||||||
auto rc = get_trap_action(run_mode, d, apf, is_write);
|
auto rc = get_trap_action(run_mode, d, apf, is_write);
|
||||||
auto trap_action = rc.first;
|
auto trap_action = rc.first;
|
||||||
|
@ -674,8 +673,7 @@ uint32_t bus::calculate_physical_address(const int run_mode, const uint16_t a, c
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[[unlikely]]
|
if (m_offset >= n_pages * 8192l && !is_io) [[unlikely]] {
|
||||||
if (m_offset >= n_pages * 8192l && !is_io) {
|
|
||||||
DOLOG(debug, !peek_only, "bus::calculate_physical_address %o >= %o", m_offset, n_pages * 8192l);
|
DOLOG(debug, !peek_only, "bus::calculate_physical_address %o >= %o", m_offset, n_pages * 8192l);
|
||||||
DOLOG(debug, false, "TRAP(04) (throw 6) on address %06o", a);
|
DOLOG(debug, false, "TRAP(04) (throw 6) on address %06o", a);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue