Skip to contentSkip to conversation

Assorted VMX patches

PATCH Leendert van Doorn 2 participants 2 messages Apr 25, 2005

lore
Share & tools
lore
#0 lore raw

#> - ioemu: Update the address when doing a stosb/stosw/stosl. Without this
#> patch stosb writes req->count times at the same location req->addr. Not
#> exactly the intended semantics.
#
# The string operations should go to the if (req->pdata_valid) clause. # Is pdata_valid==0 for your stos* cases?

Yes. stos* only uses a value parameter (al, ax,or eax), so pdata_valid == 0. Addr, size and count are still valid

Leendert

#1 lore raw
Quoted 9 lines · Leendert van Doorn

#> - ioemu: Update the address when doing a stosb/stosw/stosl. Without this
#> patch stosb writes req->count times at the same location req->addr. Not
#> exactly the intended semantics.
# # The string operations should go to the if (req->pdata_valid) clause. # Is pdata_valid==0 for your stos* cases?

Yes. stos* only uses a value parameter (al, ax,or eax), so pdata_valid == 0. Addr, size and count are still valid

ok - makes sense. Though pdata_valid is generally 1 for string operations (this is always true for the port i/o case), this case is an exception.

-Arun