bde points out that this can't do anything useful. The full patch has
other parts that I can't locat at the moment, so back it out until I can.
This commit is contained in:
parent
770fffe05b
commit
dc7949f45f
@ -98,7 +98,6 @@ mmclose(struct cdev *dev, int flags, int fmt, struct thread *td)
|
||||
{
|
||||
switch (minor(dev)) {
|
||||
case 14:
|
||||
td->td_proc->p_md.md_iopl = 0;
|
||||
td->td_frame->tf_eflags &= ~PSL_IOPL;
|
||||
}
|
||||
return (0);
|
||||
@ -126,7 +125,6 @@ mmopen(struct cdev *dev, int flags, int fmt, struct thread *td)
|
||||
if (error != 0)
|
||||
return (error);
|
||||
td->td_frame->tf_eflags |= PSL_IOPL;
|
||||
td->td_proc->p_md.md_iopl = PSL_IOPL;
|
||||
break;
|
||||
}
|
||||
return (0);
|
||||
|
@ -52,7 +52,6 @@ struct mdthread {
|
||||
|
||||
struct mdproc {
|
||||
struct proc_ldt *md_ldt; /* (j) per-process ldt */
|
||||
uint32_t md_iopl; /* process' iopl level */
|
||||
};
|
||||
|
||||
#ifdef _KERNEL
|
||||
|
Loading…
Reference in New Issue
Block a user