Revision e03ba136 target-s390x/mem_helper.c
b/target-s390x/mem_helper.c | ||
---|---|---|
344 | 344 |
env->retxl = str; |
345 | 345 |
|
346 | 346 |
/* Lest we fail to service interrupts in a timely manner, limit the |
347 |
amount of work we're willing to do. For now, lets cap at 8k. */ |
|
347 |
amount of work we're willing to do. For now, let's cap at 8k. */
|
|
348 | 348 |
for (len = 0; len < 0x2000; ++len) { |
349 | 349 |
if (str + len == end) { |
350 | 350 |
/* Character not found. R1 & R2 are unmodified. */ |
... | ... | |
375 | 375 |
s2 = fix_address(env, s2); |
376 | 376 |
|
377 | 377 |
/* Lest we fail to service interrupts in a timely manner, limit the |
378 |
amount of work we're willing to do. For now, lets cap at 8k. */ |
|
378 |
amount of work we're willing to do. For now, let's cap at 8k. */
|
|
379 | 379 |
for (len = 0; len < 0x2000; ++len) { |
380 | 380 |
uint8_t v1 = cpu_ldub_data(env, s1 + len); |
381 | 381 |
uint8_t v2 = cpu_ldub_data(env, s2 + len); |
... | ... | |
424 | 424 |
s = fix_address(env, s); |
425 | 425 |
|
426 | 426 |
/* Lest we fail to service interrupts in a timely manner, limit the |
427 |
amount of work we're willing to do. For now, lets cap at 8k. */ |
|
427 |
amount of work we're willing to do. For now, let's cap at 8k. */
|
|
428 | 428 |
for (len = 0; len < 0x2000; ++len) { |
429 | 429 |
uint8_t v = cpu_ldub_data(env, s + len); |
430 | 430 |
cpu_stb_data(env, d + len, v); |
... | ... | |
708 | 708 |
uint64_t cksm = (uint32_t)r1; |
709 | 709 |
|
710 | 710 |
/* Lest we fail to service interrupts in a timely manner, limit the |
711 |
amount of work we're willing to do. For now, lets cap at 8k. */ |
|
711 |
amount of work we're willing to do. For now, let's cap at 8k. */
|
|
712 | 712 |
max_len = (src_len > 0x2000 ? 0x2000 : src_len); |
713 | 713 |
|
714 | 714 |
/* Process full words as available. */ |
Also available in: Unified diff