Remove some duplicate definitions, as suggested by Alan Cox.

This commit is contained in:
Mike Smith 1999-07-29 07:10:35 +00:00
parent 27e901101c
commit 64ecbc4d0b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49204
3 changed files with 7 additions and 8 deletions

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
* $Id: genassym.c,v 1.72 1999/07/06 07:13:32 cracauer Exp $
* $Id: genassym.c,v 1.73 1999/07/09 04:15:39 jlemon Exp $
*/
#include "opt_user_ldt.h"
@ -232,6 +232,8 @@ main()
#ifdef SMP
printf("#define\tKPSEL %#x\n", GSEL(GPRIV_SEL, SEL_KPL));
#endif
printf("#define\tBC32SEL %#x\n", GSEL(GBIOSCODE32_SEL, SEL_KPL));
printf("#define\tBSSSEL %#x\n", GSEL(GBIOSSTACK_SEL, SEL_KPL));
printf("#define\tGPROC0_SEL %#x\n", GPROC0_SEL);
printf("#define\tVM86_FRAMESIZE %#x\n", sizeof(struct vm86frame));

View file

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: bioscall.s,v 1.1 1997/08/01 06:07:13 msmith Exp $
* $Id: bioscall.s,v 1.2 1999/07/29 01:49:18 msmith Exp $
*/
/*
@ -34,11 +34,6 @@
#include "assym.s"
#define KCSEL 0x08 /* GSEL(GCODE_SEL, SEL_KPL) */
#define KDSEL 0x10 /* GSEL(GDATA_SEL, SEL_KPL) */
#define BC32SEL 0x40 /* GSEL(GBIOSCODE32_SEL, SEL_KPL) */
#define BSSEL 0x60 /* GSEL(GBIOSSTACK_SEL, SEL_KPL) */
#define data16 .byte 0x66
.data

View file

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
* $Id: genassym.c,v 1.72 1999/07/06 07:13:32 cracauer Exp $
* $Id: genassym.c,v 1.73 1999/07/09 04:15:39 jlemon Exp $
*/
#include "opt_user_ldt.h"
@ -232,6 +232,8 @@ main()
#ifdef SMP
printf("#define\tKPSEL %#x\n", GSEL(GPRIV_SEL, SEL_KPL));
#endif
printf("#define\tBC32SEL %#x\n", GSEL(GBIOSCODE32_SEL, SEL_KPL));
printf("#define\tBSSSEL %#x\n", GSEL(GBIOSSTACK_SEL, SEL_KPL));
printf("#define\tGPROC0_SEL %#x\n", GPROC0_SEL);
printf("#define\tVM86_FRAMESIZE %#x\n", sizeof(struct vm86frame));