Lines Matching defs:base
59 #include "base/bitfield.hh"
127 findRegArrayMSB(ApicRegIndex base)
131 if (regs[base + offset] != 0) {
132 return offset * 32 + findMsbSet(regs[base + offset]);
151 setRegArrayBit(ApicRegIndex base, uint8_t vector)
153 regs[base + (vector / 32)] |= (1 << (vector % 32));
157 clearRegArrayBit(ApicRegIndex base, uint8_t vector)
159 regs[base + (vector / 32)] &= ~(1 << (vector % 32));
163 getRegArrayBit(ApicRegIndex base, uint8_t vector)
165 return bits(regs[base + (vector / 32)], vector % 32);