Lines Matching defs:seg
658 int seg = flags & SegmentFlagMask;
661 assert(seg != SEGMENT_REG_MS);
706 int seg = flags & SegmentFlagMask;
711 if (seg == SEGMENT_REG_MS) {
730 if (!(seg == SEGMENT_REG_TSG || seg == SYS_SEGMENT_REG_IDTR ||
731 seg == SEGMENT_REG_HS || seg == SEGMENT_REG_LS)
732 && !tc->readMiscRegNoEffect(MISCREG_SEG_SEL(seg))) {
737 SegAttr attr = tc->readMiscRegNoEffect(MISCREG_SEG_ATTR(seg));
739 if (seg >= SEGMENT_REG_ES && seg <= SEGMENT_REG_HS) {
751 Addr base = tc->readMiscRegNoEffect(MISCREG_SEG_BASE(seg));
752 Addr limit = tc->readMiscRegNoEffect(MISCREG_SEG_LIMIT(seg));