Make sure icache is sync'd whenever memory is touched. It may

be more optimal to override the BKPT_WRITE macro, but DDB performance
isn't really a goal at this stage...
This commit is contained in:
grehan 2004-07-27 07:04:58 +00:00
parent b9fa8ef024
commit 58b63ba248

View File

@ -74,6 +74,8 @@ db_write_bytes(vm_offset_t addr, size_t size, char *data)
while (size-- > 0)
*dst++ = *data++;
}
__syncicache((void *)addr, size);
(void)kdb_jmpbuf(prev_jb);
return (ret);
}