bit mask conversion fix (Harald Welte
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1129 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e0fe67aa72
commit
7a987127f4
2
thunk.c
2
thunk.c
|
@ -236,7 +236,7 @@ unsigned int host_to_target_bitmask(unsigned int alpha_mask,
|
||||||
|
|
||||||
for(btp = trans_tbl; btp->x86_mask && btp->alpha_mask; btp++) {
|
for(btp = trans_tbl; btp->x86_mask && btp->alpha_mask; btp++) {
|
||||||
if((alpha_mask & btp->alpha_mask) == btp->alpha_bits) {
|
if((alpha_mask & btp->alpha_mask) == btp->alpha_bits) {
|
||||||
x86_mask |= btp->x86_mask;
|
x86_mask |= btp->x86_bits;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return(x86_mask);
|
return(x86_mask);
|
||||||
|
|
Loading…
Reference in New Issue