From d82893e6762433665a192f6ffe2dad2a1a6c0678 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 29 Jun 2001 11:10:41 +0000 Subject: Add a new MI pointer to the process' trapframe p_frame instead of using various differently named pointers buried under p_md. Reviewed by: jake (in principle) --- sys/dev/syscons/syscons.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/syscons/syscons.c') diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 1ea90f3..8a4a226 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -1017,13 +1017,13 @@ scioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) if (securelevel > 0) return EPERM; #ifdef __i386__ - p->p_md.md_regs->tf_eflags |= PSL_IOPL; + p->p_frame->tf_eflags |= PSL_IOPL; #endif return 0; case KDDISABIO: /* disallow io operations (default) */ #ifdef __i386__ - p->p_md.md_regs->tf_eflags &= ~PSL_IOPL; + p->p_frame->tf_eflags &= ~PSL_IOPL; #endif return 0; -- cgit v1.1