void __constructor __syslinux_detect_features(void)
{
- static com32sys_t reg;
+ static com32sys_t reg;
- memset(®, 0, sizeof reg);
- reg.eax.w[0] = 0x0015;
- __intcall(0x22, ®, ®);
+ memset(®, 0, sizeof reg);
+ reg.eax.w[0] = 0x0015;
+ __intcall(0x22, ®, ®);
- __syslinux_feature_flags.len = reg.ecx.w[0];
- __syslinux_feature_flags.ptr = MK_PTR(reg.es, reg.ebx.w[0]);
+ __syslinux_feature_flags.len = reg.ecx.w[0];
+ __syslinux_feature_flags.ptr = MK_PTR(reg.es, reg.ebx.w[0]);
}