Commit Graph

4581 Commits

Author SHA1 Message Date
ache
3affdfe7d7 Make shadow more 'real': now shadowed letters appearse as dim ones. 1994-11-15 17:32:05 +00:00
bde
558b1f4747 Add prototype for Debugger(). 1994-11-15 14:55:25 +00:00
bde
f9fa8b10f4 Fix it to compile without a leftover ddb.h.
Remove bogus declaration of Debugger().  Call Debugger() even if DDB is
not defined, but still call panic() after Debugger() returns, although
most other SCSI drivers just call Debugger().
1994-11-15 14:54:13 +00:00
bde
b8a97a385a Remove bogus declaration of Debugger(). Call Debugger() even if DDB is
not defined, but still call panic() after Debugger() returns, although
most other SCSI drivers just call Debugger().
1994-11-15 14:53:09 +00:00
bde
e4106fb3ad Remove bogus and unused declaration and definition of Debugger(). 1994-11-15 14:49:56 +00:00
bde
9fb49107aa Remove unused definition of Debugger(). 1994-11-15 14:49:12 +00:00
bde
558e14bfc6 Remove bogus declaration of Debugger(). Change the macro for Debugger()
to call the function instead of doing nothing.
1994-11-15 14:47:49 +00:00
bde
38ef2158dd Don't define KERNEL for compiling genassym. The prototype for the system
printf() is inconsistent with the prototype for the library printf() and
gets declared if DIAGNOSTIC is defined because <vm/vm_page.h> includes
<sys/systm.h>.
1994-11-15 14:43:45 +00:00
bde
480097ce44 Include <sys/socket.h> for declaration of struct sockaddr. This helps
genassym compile when KERNEL is not defined.

Uniformize idempotency ifdef.
1994-11-15 14:41:38 +00:00
bde
0f7f4eaa5a Include <sys/time.h> so that we compile again provided <sys/param.h> is
included first (rtprio stuff broke this).

Add missing __dead2's.
1994-11-15 14:37:39 +00:00
bde
0f46fe14ed Include <sys/disklabel.h> to prepare for slices. Don't include the
unused <sys/dkbad.h>.
1994-11-15 14:34:42 +00:00
bde
e8bd9bf0b4 The SYMTAB_SPACE bloatometer was 40% out of date. 1994-11-15 14:28:46 +00:00
bde
2ce33c5de0 Include <sys/systm.h> to get inlines for spl*() so that LINT kernel links. 1994-11-15 14:26:31 +00:00
bde
ad7219752c Disable prototypes that conflict with ones in <netinet/in_pcb.h>. The
conflicts stopped the LINT kernel from being buildable.
1994-11-15 14:23:06 +00:00
bde
a7e2537b02 Make gdt_segs[] public again for APM.
Make ldt[] public again and restore currentldt and _default_ldt for
USER_LDT.
1994-11-15 14:12:55 +00:00
bde
847c2f9738 Fix type mismatches exposed by a recently added prototype. 1994-11-15 14:09:18 +00:00
ache
aa56ad7f1e Add malloc.h for better SYSV/Linux compatibility like most
providers (like SUN f.e.) does.
malloc.h have comment about its SYSVism
1994-11-15 13:42:20 +00:00
jkh
cd1ac97941 Change CD devices to the correct ones. 1994-11-15 13:40:00 +00:00
ache
055d9a45b5 Add comment about SYSV-ism 1994-11-15 13:32:35 +00:00
ache
62c5bc791b Fix bug: only one second-level shadow drawed 1994-11-15 12:42:14 +00:00
ache
b268748ec9 Use autodetected dimensions in Sorry! window 1994-11-15 12:17:42 +00:00
ache
a7080ca0ef Use TellEm instead of dialog_msgbox 1994-11-15 12:15:51 +00:00
jkh
8cdad68b06 Make depends a separate target. Now you can select when the dependency
list is traversed.
1994-11-15 10:16:56 +00:00
jkh
32a984123c Add back tar - I'm not sure where it went again! I know that
cpio reads tar files, but this gives you "tar" in its old familar
way, which is important for those trying to read the old extract.sh'd
bindist.
1994-11-15 08:10:35 +00:00
phk
0a7f3ebca3 Integrated GCC-2.6.1 -> GCC-2.6.2 changes.
Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
1994-11-15 04:52:19 +00:00
jkh
e6a9926ecf sendbug -> send_pr 1994-11-14 23:52:42 +00:00
ats
d21ec166f3 scsiconf.h:
Change the sc_link structure from 8 targets with 8 lun's to
16 targets with 8 lun's. Wide scsi and the ncr 825 does support 16 targets.
scsiconf.c:
move the addition of the trailing NUL's out of a then clause, they are also
needed in the else clause for an unknown device.
1994-11-14 23:39:33 +00:00
phk
1900b3c4de A little fix for "make distribute". 1994-11-14 21:28:46 +00:00
phk
09e37dc3e3 Final changes. Now "make distribute" should work as advertised. 1994-11-14 20:56:17 +00:00
phk
691e3da728 More changes for the "distribute" target. 1994-11-14 20:52:54 +00:00
phk
277a5cfc85 Make the "distribute" target build the "des" distribution. Make des'ed
init and ed, by pointing to real sources.
1994-11-14 20:45:35 +00:00
ache
48765f90e3 strncmp use wrong utmp name size
Submitted by: rlz@zeus.id.net
1994-11-14 20:26:52 +00:00
ache
75b7af8528 Check exit code of the dialer, from asa@gw.cronyx.msk.su
Set HUPCL as default modem flag, idea from asa@gw.cronyx.msk.su
but different implementation.
1994-11-14 20:17:36 +00:00
phk
12e7d94646 "distribute" games into their own distribution.
Reviewed by:
Submitted by:
Obtained from:
1994-11-14 20:10:49 +00:00
ache
fe6daf4a9e Remove unused variable from previous commit 1994-11-14 19:32:11 +00:00
ache
4d834e76be Add model autodetection code, idea from burgess@s069.infonet.net
This change affects probe printout, disklabel, devconf stuff
1994-11-14 19:25:43 +00:00
bde
0a69e97a70 Rewrite almost everything.
Alphabetize.

Write all i/o functions in sleep so that we don't use anything from
NetBSD.

Restore the correct type of u_int for ports.  This saves a whole cycle
per i/o on 486's.

Change `inline' back to __inline to avoid compiler warnings with
-Wreally-all.

Don't implement bdb() unless BDE_DEBUGGER is defined.  Declare bdb_exists
outside the function to avoid hundreds of compiler warnings.

Let the compiler pick the register in asms if possible.

Implement ffs() using inline asm().  gcc provides a slightly different
one.  It was broken in gcc-2.4.5 but works now.  Declaring a correct
version inline ensures getting a correct version.  FreeBSD-1.1.5 has
an slow inline version but FreeBSD-2.0 has a library version (which
probably never gets used).

Do inb() and outb() without using %edx for constant ports below 0x100.

Remove casts to the same type in queue functions.

Declare prototypes for everything implemented i386/*.s and also for
everything that is normally implemented as an inline here (I don't
like the current complete dependency on gcc).  Ifdef out the prototypes
that are declared elsewhere.  THere should be a separate header to
declare things implemented in i386/*.s, but then it would be harder
to override declarations with inlines.

${UII}
1994-11-14 15:04:06 +00:00
bde
b52c9d7b5b Log processes that exit with an masked npx exception that would trap
with the current default exception (un)mask.  There should be no such
processes unless you change the mask.  Someday the mask should be
changed to the IEEE default of everything masked.  The npx state
gets saved so that it can be checked and this may have the side effect
of fixing a bug that was reported for 1.1.5.  (npx exceptions may
sometimes leak across exits and clobber another process.  I can't see
how this can happen.)

Get some missing/wrong declarations from headers now that the headers
have them.
1994-11-14 14:59:06 +00:00
bde
8332f818bd Hide the declaration of ffs() if an inline ffs() is implemented.
I couldn't find a better way to avoid compiler warnings about
redundant and/or inconsistent declaration of ffs().  I'd like to
be able to declare prototypes in general headers without committing
to implementing them as `static inline' or `extern', but there
seems to be no way to do this with gcc-2.6.1.  E.g.,

	int foo(void);
	static __inline int foo(void) { return 1; }

causes a warning about the linkage mismatch, while the opposite
order causes a warning about the redundant declaration.
1994-11-14 14:56:46 +00:00
bde
63ee9096f2 Oops, the previous commit got the diff for the log message instead of
the following.

Move declarations to and from <machine/segments.h>.  Make segment stuff
static if possible.

Remove unused (although initialized) global variables _default_ldt,
currentldt, _gsel_tss (rename the latter to the auto variable
gtel_tss).

Use "correct" and consistent types for interrupt handlers.

Remove a mailing address from the code.

Fix type mismatches found by adding prototypes.
1994-11-14 14:23:54 +00:00
bde
8f65c578e5 (Bogus several hundred line diff for a log message deleted. See rev 1.91
for the intended log message. -DG)
1994-11-14 14:19:54 +00:00
bde
9cab2e99d7 Move declarations of atdevbase and rtcin() to cpufunc.h (a less wrong
place).

Fix spelling error.

Uniformize idempotency ifdef.
1994-11-14 14:19:10 +00:00
bde
03c6bfcbf9 Remove 1.5+K of bloat for unused idt entries.
Partly support BDE_DEBUGGER.  Still broken by conflict with APM.  Does
nothing if BDE_DEBUGGER is not defined.

Clean up prototypes and data declarations.  Declare most of the segment
functions that are implemented in support.s.  Make data private in
machdep.c if possible.

Parenthesize expressions in macros properly!

${Uniformize idempotency ifdef}.
1994-11-14 14:18:15 +00:00
bde
245279f8fa Remove extra idempotency ifdef and uniformize the other one.
Comment about support for 4 different spellings of KERNEL.
1994-11-14 14:13:13 +00:00
bde
0e64300c79 Declare inline functions as __inline and with new-style parameter lists
to avoid compiler warnings.

Clean up prototypes: alphabetize; don't use redundant `extern' or
meaningless `extern inline'.

Uniformize idempotency ifdef.
1994-11-14 14:12:24 +00:00
bde
cd615052dd Declare fuswintr() and suswintr() the same as fusword() and susword().
(These functions are implemented in assembler so the compiler can't
check the declarations.)

Clean up prototypes: restore CSRG's alphabetical order, arg names in
prototypes, formatting to fit in 80 columns
1994-11-14 14:09:38 +00:00
bde
37abb2da7a if.h:
Declare a complete prototype for the function pointer *ifa_rtrequest.

radix.h:
Declare a complete prototype for the function pointer *rnh_walktree
and for the function rn_walktree.

Uniformize idempotency ifdef.
1994-11-14 14:06:06 +00:00
bde
bb89e3d6c3 Update stupid declaration in comment to match code.
Declare all public syscntlfn's here.
1994-11-14 13:59:09 +00:00
bde
ae45316bf1 Move declarations of public functions to <sys/sysctl.h>.
Make some private data static.

Comment about MAXPATHLEN bytes of bloat for the kernel name.
1994-11-14 13:58:30 +00:00
bde
68a749e066 Declare a complete prototype for the function pointer *ext_free and the
function m_devget.

Uniformize idempotency ifdef.
1994-11-14 13:54:20 +00:00