1069a1070
> // Check permissions.
1072a1074,1078
> // Make sure the gate's the right type.
> if (m5reg.mode == LongMode && ((desc.type & 0xe) != 0xe) ||
> ((desc.type & 0x6) != 0x6)) {
> fault = new GeneralProtection(0);
> }