Revision 0bfcd599 darwin-user/commpage.c
b/darwin-user/commpage.c | ||
---|---|---|
237 | 237 |
uint64_t *value = (uint64_t*)((CPUX86State*)cpu_env)->regs[R_ESI]; |
238 | 238 |
old = (uint64_t)((uint64_t)((CPUX86State*)cpu_env)->regs[R_EDX]) << 32 | (uint64_t)((CPUX86State*)cpu_env)->regs[R_EAX]; |
239 | 239 |
|
240 |
DPRINTF("commpage: compare_and_swap64(%llx,new,%p)\n", old, value);
|
|
240 |
DPRINTF("commpage: compare_and_swap64(%" PRIx64 ",new,%p)\n", old, value);
|
|
241 | 241 |
swapped_val = tswap64(*value); |
242 | 242 |
|
243 | 243 |
if(old == swapped_val) |
Also available in: Unified diff