1079,1080c1079,1086
< panic("CS selector checks for interrupts and exceptions"
< "not implemented.\\n");
---
> if (m5reg.mode == LongMode) {
> if (desc.l != 1 || desc.d != 0) {
> return new GeneralProtection(selector);
> }
> } else {
> panic("Interrupt CS checks not implemented "
> "in legacy mode.\\n");
> }