mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
SMC: log written value
This commit is contained in:
parent
80917ab8b9
commit
1ab04fe419
1 changed files with 3 additions and 2 deletions
|
|
@ -3542,10 +3542,11 @@ pub unsafe fn safe_write_slow_jit(
|
|||
if Page::page_of(*instruction_pointer as u32) == Page::page_of(addr as u32) {
|
||||
// XXX: Check based on virtual address
|
||||
dbg_log!(
|
||||
"SMC: bits={} eip={:x} writeaddr={:x}",
|
||||
"SMC: bits={} eip={:x} writeaddr={:x} value={:x}",
|
||||
bitsize,
|
||||
(*instruction_pointer & !0xFFF | eip_offset_in_page) as u32,
|
||||
addr as u32
|
||||
addr as u32,
|
||||
value_low,
|
||||
);
|
||||
}
|
||||
let crosses_page = (addr & 0xFFF) + bitsize / 8 > 0x1000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue