next_power_of_2
const size_t newBufferSize = max_c(next_power_of_2(newSize),
= memalign_etc(size >= PAGESIZE ? PAGESIZE : next_power_of_2(size), size,
int maxLogicalID = next_power_of_2((cpuid.regs.ebx >> 16) & 0xff);
maxCoreID = next_power_of_2((cpuid.regs.edx & 0xf) + 1);
int coresCount = next_power_of_2(((cpuid.regs.eax >> 14) & 0x3f) + 1);
int maxLogicalID = next_power_of_2((cpuid.regs.ebx >> 16) & 0xff);
maxCoreID = next_power_of_2((cpuid.regs.eax >> 26) + 1);
= next_power_of_2(((cpuid.regs.eax >> 14) & 0x3f) + 1);
int32 count = next_power_of_2(numCPUs);