Files
reactos/boot
Hermès Bélusca-Maïto 231de344d0 [FREELDR:ARCH] Improve configuration resource list size calculations (#8629)
Prefer using the syntax:
`FIELD_OFFSET(CM_PARTIAL_RESOURCE_LIST, PartialDescriptors[k]) + ...;`
which is in general clearer and explicitly specifies the actual
number of resource descriptors used, over the other one:
`sizeof(CM_PARTIAL_RESOURCE_LIST) + (k-1) * sizeof(CM_PARTIAL_RESOURCE_DESCRIPTOR) + ...;`

Based on a suggestion by Dmitry Borisov.
2026-01-30 13:48:08 +01:00
..