mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
Fixed comments that start within a comment, so code compiles cleanly with
-Wcomment.
This commit is contained in:
parent
e13cc161a1
commit
35089dd415
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=778
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.16 1993/11/13 02:25:02 davidg Exp $
|
||||
* $Id: machdep.c,v 1.17 1993/11/16 09:54:47 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -813,7 +813,7 @@ unsigned char ldt[5][DESCRIPTOR_SIZE];
|
||||
#define LUCODE_SEL 3
|
||||
#define LUDATA_SEL 4
|
||||
/* seperate stack, es,fs,gs sels ? */
|
||||
/* #define LPOSIXCALLS_SEL 5 /* notyet */
|
||||
/* #define LPOSIXCALLS_SEL 5*/ /* notyet */
|
||||
|
||||
struct i386tss tss, panic_tss;
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)frame.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: frame.h,v 1.2 1993/10/08 20:50:59 rgrimes Exp $
|
||||
* $Id: frame.h,v 1.3 1993/11/07 17:42:56 wollman Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_FRAME_H_
|
||||
@ -127,7 +127,7 @@ struct syscframe {
|
||||
int sf_eax;
|
||||
int sf_eflags;
|
||||
/* below portion defined in 386 hardware */
|
||||
/* int sf_args[N]; /* if call gate copy args enabled!*/
|
||||
/* int sf_args[N];*/ /* if call gate copy args enabled!*/
|
||||
int sf_eip;
|
||||
int sf_cs;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)tss.h 5.4 (Berkeley) 1/18/91
|
||||
* $Id: tss.h,v 1.2 1993/10/16 14:39:38 rgrimes Exp $
|
||||
* $Id: tss.h,v 1.3 1993/11/07 17:43:16 wollman Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_TSS_H_
|
||||
@ -53,7 +53,6 @@ struct i386tss {
|
||||
int tss_ss1; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp2; /* kernel stack pointer priviledge level 2 */
|
||||
int tss_ss2; /* actually 16 bits: top 16 bits must be zero */
|
||||
/* struct ptd *tss_cr3; /* page table directory */
|
||||
int tss_cr3; /* page table directory */
|
||||
#define tss_ptd tss_cr3
|
||||
int tss_eip; /* program counter */
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
|
||||
* $Id: machdep.c,v 1.16 1993/11/13 02:25:02 davidg Exp $
|
||||
* $Id: machdep.c,v 1.17 1993/11/16 09:54:47 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -813,7 +813,7 @@ unsigned char ldt[5][DESCRIPTOR_SIZE];
|
||||
#define LUCODE_SEL 3
|
||||
#define LUDATA_SEL 4
|
||||
/* seperate stack, es,fs,gs sels ? */
|
||||
/* #define LPOSIXCALLS_SEL 5 /* notyet */
|
||||
/* #define LPOSIXCALLS_SEL 5*/ /* notyet */
|
||||
|
||||
struct i386tss tss, panic_tss;
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)frame.h 5.2 (Berkeley) 1/18/91
|
||||
* $Id: frame.h,v 1.2 1993/10/08 20:50:59 rgrimes Exp $
|
||||
* $Id: frame.h,v 1.3 1993/11/07 17:42:56 wollman Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_FRAME_H_
|
||||
@ -127,7 +127,7 @@ struct syscframe {
|
||||
int sf_eax;
|
||||
int sf_eflags;
|
||||
/* below portion defined in 386 hardware */
|
||||
/* int sf_args[N]; /* if call gate copy args enabled!*/
|
||||
/* int sf_args[N];*/ /* if call gate copy args enabled!*/
|
||||
int sf_eip;
|
||||
int sf_cs;
|
||||
/* below only when transitting rings (e.g. user to kernel) */
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)tss.h 5.4 (Berkeley) 1/18/91
|
||||
* $Id: tss.h,v 1.2 1993/10/16 14:39:38 rgrimes Exp $
|
||||
* $Id: tss.h,v 1.3 1993/11/07 17:43:16 wollman Exp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_TSS_H_
|
||||
@ -53,7 +53,6 @@ struct i386tss {
|
||||
int tss_ss1; /* actually 16 bits: top 16 bits must be zero */
|
||||
int tss_esp2; /* kernel stack pointer priviledge level 2 */
|
||||
int tss_ss2; /* actually 16 bits: top 16 bits must be zero */
|
||||
/* struct ptd *tss_cr3; /* page table directory */
|
||||
int tss_cr3; /* page table directory */
|
||||
#define tss_ptd tss_cr3
|
||||
int tss_eip; /* program counter */
|
||||
|
@ -12,7 +12,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: aha1542.c,v 1.12 1993/10/16 12:27:20 rgrimes Exp $
|
||||
* $Id: aha1542.c,v 1.13 1993/10/28 02:38:36 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -562,7 +562,6 @@ struct isa_dev *dev;
|
||||
register ihandler_t *chp = &aha_handler[unit];;
|
||||
#endif /* defined(OSF) */
|
||||
|
||||
/***********************************************\
|
||||
/***********************************************\
|
||||
* find unit and check we have that many defined *
|
||||
\***********************************************/
|
||||
|
@ -12,7 +12,7 @@
|
||||
* on the understanding that TFS is not responsible for the correct
|
||||
* functioning of this software in any circumstances.
|
||||
*
|
||||
* $Id: bt742a.c,v 1.7 1993/08/28 03:07:42 rgrimes Exp $
|
||||
* $Id: bt742a.c,v 1.8 1993/10/12 07:15:35 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -205,7 +205,7 @@ struct bt_mbx
|
||||
extern struct bt_mbx bt_mbx[];
|
||||
|
||||
#if defined(BIG_DMA)
|
||||
/* #define BT_NSEG 8192 /* Number of scatter gather segments - to much vm */
|
||||
/* #define BT_NSEG 8192*/ /* Number of scatter gather segments - to much vm */
|
||||
#define BT_NSEG 512
|
||||
#else
|
||||
#define BT_NSEG 33
|
||||
|
@ -234,7 +234,7 @@ extern int hz;
|
||||
*
|
||||
*/
|
||||
#define GET_TIME() get_time()
|
||||
/*#define GET_TIME() (lbolt) /* Returns current time (1/HZ secs since boot) */
|
||||
/*#define GET_TIME() (lbolt)*/ /* Returns current time (1/HZ secs since boot) */
|
||||
|
||||
/*
|
||||
* The following three macros are called before and after atomic
|
||||
|
@ -18,7 +18,7 @@
|
||||
* commenced: Sun Sep 27 18:14:01 PDT 1992
|
||||
* slight mod to make work with 34F as well: Wed Jun 2 18:05:48 WST 1993
|
||||
*
|
||||
* $Id: ultra14f.c,v 1.9 1993/10/12 07:15:38 rgrimes Exp $
|
||||
* $Id: ultra14f.c,v 1.10 1993/10/14 00:07:04 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -147,7 +147,7 @@ extern int delaycount; /* from clock setup code */
|
||||
|
||||
#define UHA_SINTEN 0x80 /* system doorbell interupt Enabled */
|
||||
#define UHA_ABORT_COMPLETE_EN 0x10 /* abort MSCP command complete int Enabled */
|
||||
#define UHA_ICM_ENABLED 0x01 /* ICM interrupt enabled
|
||||
#define UHA_ICM_ENABLED 0x01 /* ICM interrupt enabled */
|
||||
|
||||
/*
|
||||
* UHA_SMASK bits (write)
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
|
||||
* $Id$
|
||||
* $Id: wd.c,v 1.11 1993/10/16 13:46:31 rgrimes Exp $
|
||||
*/
|
||||
|
||||
/* TODO:peel out buffer at low ipl, speed improvement */
|
||||
@ -1235,7 +1235,7 @@ wddump(dev_t dev) /* dump core after a system crash */
|
||||
if ((dumplo < 0) || ((dumplo + num) > nblocks))
|
||||
return(EINVAL);
|
||||
|
||||
/*wdtab.b_active = 1; /* mark controller active for if we
|
||||
/*wdtab.b_active = 1;*/ /* mark controller active for if we
|
||||
panic during the dump */
|
||||
wddoingadump = 1 ; i = 100000 ;
|
||||
while ((inb(wdc+wd_status) & WDCS_BUSY) && (i-- > 0)) ;
|
||||
|
Loading…
Reference in New Issue
Block a user