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:
parent
b9fa8ef024
commit
58b63ba248
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user