summaryrefslogtreecommitdiff
path: root/com32/lib/syslinux/shuffle.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-12 16:53:20 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-12 16:53:20 -0800
commit4980115d540a6ccfcfb141312c7f4f017972d316 (patch)
tree7698e7bc3822bf45b0e188803a28193e44ec1d7f /com32/lib/syslinux/shuffle.c
parentfc38cbecfcdb8237f22e8def62bced022260b035 (diff)
downloadsyslinux-4980115d540a6ccfcfb141312c7f4f017972d316.tar.gz
Change the minimum number of shuffle descriptors to 64.
Only use 64 as a static guarantee of the number of shuffle descriptors; corresponding to 768 bytes of memory.
Diffstat (limited to 'com32/lib/syslinux/shuffle.c')
-rw-r--r--com32/lib/syslinux/shuffle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/syslinux/shuffle.c b/com32/lib/syslinux/shuffle.c
index bb020a15..708382c7 100644
--- a/com32/lib/syslinux/shuffle.c
+++ b/com32/lib/syslinux/shuffle.c
@@ -64,7 +64,7 @@ static void __constructor __syslinux_get_desc_block_size(void)
reg.eax.w[0] = 0x0011;
__intcall(0x22, &reg, &reg);
- 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 */