handle case where eflags represents actual flags value when

restoring interrupts
This commit is contained in:
kmacy 2008-10-25 04:46:02 +00:00
parent fed9d33665
commit e1cd1f8e48

View File

@ -345,6 +345,8 @@ xen_load_cr3(u_int val)
void
xen_restore_flags(u_int eflags)
{
if (eflags > 1)
eflags = ((eflags & PSL_I) == 0);
__restore_flags(eflags);
}