Lines Matching defs:seg
274 int seg = flags & SegmentFlagMask;
281 if (seg == SEGMENT_REG_MS) {
297 if (!(seg == SEGMENT_REG_TSG || seg == SYS_SEGMENT_REG_IDTR ||
298 seg == SEGMENT_REG_HS || seg == SEGMENT_REG_LS)
299 && !tc->readMiscRegNoEffect(MISCREG_SEG_SEL(seg)))
302 SegAttr attr = tc->readMiscRegNoEffect(MISCREG_SEG_ATTR(seg));
303 if (seg >= SEGMENT_REG_ES && seg <= SEGMENT_REG_HS) {
311 Addr base = tc->readMiscRegNoEffect(MISCREG_SEG_BASE(seg));
312 Addr limit = tc->readMiscRegNoEffect(MISCREG_SEG_LIMIT(seg));