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:
imp 2004-06-28 05:37:22 +00:00
parent f4231a77eb
commit dde16666cb
2 changed files with 0 additions and 3 deletions

View File

@ -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);

View File

@ -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