Lines Matching defs:base
37 unsigned long base, unsigned long limit, unsigned char type, unsigned char flags)
39 *a = ((base & 0xffff) << 16) | (limit & 0xffff);
40 *b = (base & 0xff000000) | ((base & 0xff0000) >> 16) |
45 unsigned long base, unsigned short seg, unsigned char type, unsigned char flags)
47 *a = (seg << 16) | (base & 0xffff);
48 *b = (base & 0xffff0000) | ((type & 0xff) << 8) | (flags & 0xff);
212 unsigned long base;
213 base = ((desc[0] >> 16) & 0x0000ffff) |
216 return base;
222 * GET_DESC_BASE reads the descriptor base of the specified segment.
227 * base - 32bit register to which the base will be written
228 * lo_w - lo word of the "base" register
229 * lo_b - lo byte of the "base" register
230 * hi_b - hi byte of the low word of the "base" register
234 * Will read the base address of GDT_ENTRY_ESPFIX_SS and put it into %eax.
236 #define GET_DESC_BASE(idx, gdt, base, lo_w, lo_b, hi_b) \
239 shll $16, base; \