fixed typo

This commit is contained in:
Stanislav Shwartsman 2011-07-18 21:47:14 +00:00
parent cddd1e3758
commit cac3c836fa

View File

@ -499,7 +499,7 @@ bx_bool BX_CPU_C::is_monitor(bx_phy_address begin_addr, unsigned len)
if (! BX_CPU_THIS_PTR monitor.armed) return 0;
bx_phy_address monitor_begin = BX_CPU_THIS_PTR monitor.monitor_addr;
bx_phy_address monitor_end = monitor_start + CACHE_LINE_SIZE - 1;
bx_phy_address monitor_end = monitor_begin + CACHE_LINE_SIZE - 1;
bx_phy_address end_addr = begin_addr + len;
if (begin_addr >= monitor_end || end_addr <= monitor_begin)