Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD.
This commit is contained in:
parent
ae11bd216c
commit
87b25c7f5c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: icu.s,v 1.40 1995/04/22 01:25:41 mycroft Exp $ */
|
||||
/* $NetBSD: icu.s,v 1.41 1995/05/01 08:25:30 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved.
|
||||
@ -108,7 +108,7 @@ IDTVEC(doreti)
|
||||
cli
|
||||
cmpb $0,_astpending
|
||||
je 3f
|
||||
testb $SEL_RPL_MASK,TF_CS(%esp)
|
||||
testb $SEL_RPL,TF_CS(%esp)
|
||||
jz 3f
|
||||
movb $0,_astpending
|
||||
sti
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: npx.c,v 1.36 1995/05/01 04:47:43 mycroft Exp $ */
|
||||
/* $NetBSD: npx.c,v 1.37 1995/05/01 08:25:34 mycroft Exp $ */
|
||||
|
||||
#if 0
|
||||
#define iprintf(x) printf x
|
||||
@ -430,7 +430,7 @@ npxintr(arg)
|
||||
* in doreti, and the frame for that could easily be set up
|
||||
* just before it is used).
|
||||
*/
|
||||
p->p_md.md_regs = (int *)&frame->if_es;
|
||||
p->p_md.md_regs = (struct trapframe *)&frame->if_es;
|
||||
#ifdef notyet
|
||||
/*
|
||||
* Encode the appropriate code for detailed information on
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pccons.c,v 1.86 1995/04/21 19:44:52 mycroft Exp $ */
|
||||
/* $NetBSD: pccons.c,v 1.87 1995/05/01 08:25:38 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1993, 1994, 1995 Charles Hannum. All rights reserved.
|
||||
@ -1627,7 +1627,7 @@ pc_xmode_on()
|
||||
get_cursor_shape();
|
||||
#endif
|
||||
|
||||
fp = (struct trapframe *)curproc->p_md.md_regs;
|
||||
fp = curproc->p_md.md_regs;
|
||||
fp->tf_eflags |= PSL_IOPL;
|
||||
}
|
||||
|
||||
@ -1645,6 +1645,6 @@ pc_xmode_off()
|
||||
#endif
|
||||
async_update();
|
||||
|
||||
fp = (struct trapframe *)curproc->p_md.md_regs;
|
||||
fp = curproc->p_md.md_regs;
|
||||
fp->tf_eflags &= ~PSL_IOPL;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
/* $NetBSD: vector.s,v 1.26 1995/04/22 00:30:47 mycroft Exp $ */
|
||||
/* $NetBSD: vector.s,v 1.27 1995/05/01 08:25:42 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993, 1994 Charles Hannum. All rights reserved.
|
||||
* Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@ -13,7 +13,7 @@
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Charles Hannum.
|
||||
* This product includes software developed by Charles M. Hannum.
|
||||
* 4. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
@ -140,7 +140,7 @@ IDTVEC(fast/**/irq_num) ;\
|
||||
pushl %edx ;\
|
||||
pushl %ds ;\
|
||||
pushl %es ;\
|
||||
movl $KDSEL,%eax ;\
|
||||
movl $GSEL(GDATA_SEL, SEL_KPL),%eax ;\
|
||||
movl %ax,%ds ;\
|
||||
movl %ax,%es ;\
|
||||
/* have to do this here because %eax is lost on call */ ;\
|
||||
|
Loading…
Reference in New Issue
Block a user