Only use 64 as a static guarantee of the number of shuffle
descriptors; corresponding to 768 bytes of memory.
reg.eax.w[0] = 0x0011;
__intcall(0x22, ®, ®);
- desc_block_size = (reg.eflags.l & EFLAGS_CF) ? 256 : reg.ecx.w[0];
+ desc_block_size = (reg.eflags.l & EFLAGS_CF) ? 64 : reg.ecx.w[0];
}
/* Allocate descriptor memory in these chunks */
Output: CX maximum number of descriptors
This routine reports the maximum number of shuffle descriptors
- permitted in a call to function 0012h.
+ permitted in a call to functions 0012h, 001Ah and 001Bh.
- This is guaranteed to be at least 256. For the current
+ This is guaranteed to be at least 64. For the current
version, this is 682 for all derivatives.