christos
40ecbf8e72
backout previous kprintf change
1996-10-13 03:21:13 +00:00
christos
bd73314ed9
backout previous kprintf changes
1996-10-13 03:19:38 +00:00
christos
9dc680b6a4
backout previous kprintf change
1996-10-13 03:19:10 +00:00
christos
30efd6881a
use in_addr_t and in_port_t
1996-10-13 03:16:41 +00:00
christos
30b3cc3d09
backout previous kprintf changes
1996-10-13 03:14:05 +00:00
christos
7c9b908394
use in_addr_t and in_port_t
1996-10-13 03:12:38 +00:00
christos
ca36ac9ef4
backout previous kprintf change
1996-10-13 03:05:43 +00:00
jonathan
986daa1436
Split sii driver into bus-dependent front-end and chip-specific back-end:
...
sii_ds.c -- front-end for Decstation 2100, 3100, 5100(?)
sii.c -- driver for DEC scsi asic used in decstations and vax 3400s
siivar.h -- shared softc
1996-10-13 03:02:39 +00:00
christos
de83b4558f
use in_addr_t and in_port_t
1996-10-13 03:02:26 +00:00
christos
8d9699acda
backout previous kprintf change
1996-10-13 02:59:55 +00:00
christos
cabe1f09ff
use in_addr_t and in_port_t
1996-10-13 02:59:54 +00:00
christos
7d1960f502
backout previous kprintf change
1996-10-13 02:59:38 +00:00
christos
55ff7d5106
backout previous kprintf changes
1996-10-13 02:59:37 +00:00
christos
0039d4aa0c
backout previous kprintf change
1996-10-13 02:59:25 +00:00
christos
d7363b596f
backout previous kprintf changes
1996-10-13 02:59:23 +00:00
christos
e43661dda6
use in_addr_t and in_port_t
1996-10-13 02:57:47 +00:00
christos
b078069824
in_addr_t and in_port_t changes
1996-10-13 02:55:48 +00:00
christos
520aa2aeba
backout previous kprintf change
1996-10-13 02:52:06 +00:00
christos
f443b89c92
backout previous kprintf change
1996-10-13 02:32:29 +00:00
christos
e44c1d1f33
backout previous kprintf changes
1996-10-13 02:28:58 +00:00
christos
ee3d88fbdf
fix uiomove's first argument and remove unnecessary casts
1996-10-13 02:27:52 +00:00
christos
92a808f167
backout previous kprintf changes
1996-10-13 02:21:25 +00:00
christos
a1dcf4b026
backout previous kprintf change
1996-10-13 02:10:01 +00:00
christos
5545959d0b
backout previous kprintf changes
1996-10-13 02:03:00 +00:00
christos
cb32007a8b
backout previous kprintf change
1996-10-13 01:59:55 +00:00
christos
bcf4552fb1
revert kprintf changes
1996-10-13 01:39:03 +00:00
christos
86373f8cf9
backout kprintf changes
1996-10-13 01:37:04 +00:00
christos
4d99ae39b0
Remove STACKGAPBASE dependencies.
1996-10-13 01:16:19 +00:00
christos
e14a71a3ae
catch up with Jason's changes.
1996-10-13 00:56:02 +00:00
christos
53e42f3487
Backout previous kprintf change.
1996-10-13 00:46:49 +00:00
christos
dcf74c0b02
Catch up with Jason changes.
...
Backout kprintf stuff
1996-10-13 00:08:26 +00:00
jonathan
99a94f057e
Put back the ttstop-returns-void changes accidentally clobbered by
...
merging the 1.2 and -current branch serial-console fixes.
1996-10-12 23:41:35 +00:00
jonathan
0c820bd260
Split driver for decstation-3100 framebuffer (BrookTree bt478 RAMDAC,
...
DEC dc503 cursor chip) into Decstation 2100,3100 cfattach front-end
and ``machine-independent'' back-end.
pm_ds.c: pmin/pmax cfattach front-end
pm.c: bt478, 503 back-end
pmvar.h: declarations of back-end normal and console attach
entry points.
1996-10-12 23:33:18 +00:00
christos
9a2c8cf28c
revert previous kprintf change
1996-10-12 23:23:13 +00:00
christos
cf900b3ef9
- Back out previous kprintf change.
...
- change uiomove() argument from caddr_t to void *; this was the last caddr_t
in systm.h.
- remove parameter names from the b*() routines to make them look like the
mem*() counterparts.
1996-10-12 23:06:02 +00:00
christos
a60f3e5f6a
include <sys/types.h> instead of <machine/endian.h>
1996-10-12 22:20:50 +00:00
christos
007ac90882
backout previous kprintf change
1996-10-12 22:14:10 +00:00
christos
040651bd9c
Make this compile again.
1996-10-12 22:13:48 +00:00
christos
90c7de0919
revert previous kprintf changes
1996-10-12 21:58:44 +00:00
christos
3dc7953eec
back out previous kprintf changes
1996-10-12 21:50:05 +00:00
mark
5b9a5a91b2
Added a macro for un-cacheable un-bufferable ptes.
1996-10-12 18:31:10 +00:00
mark
8759f643d5
Don't need to include machine/reg.h here.
1996-10-12 18:29:32 +00:00
mark
9e61254436
Fixed typo.
1996-10-12 18:25:59 +00:00
mark
61d95c8ea3
Initial commit of doc describing boot options and parameters recognised
...
by the kernel.
1996-10-12 18:24:43 +00:00
cgd
b2f63215fc
don't forget to switch back to the .text after emitting warning
...
strings in their own sections.
1996-10-12 18:08:12 +00:00
mhitch
c67390fd59
mmutype and fputype disappeared from machine/cpu.h during a merge toward
...
m68k stuff.
1996-10-12 17:34:52 +00:00
mhitch
3831c5a790
KDASSERT is now in lib/libkern/libkern.h, so we don't need
...
amiga/amiga/kdassert.h.
1996-10-12 17:27:28 +00:00
mhitch
184eb4a5e9
Remove extraneous output - ascattach() already did it.
1996-10-12 16:15:34 +00:00
mhitch
784dc6bd1b
poll(2) changes for framebuffer.
1996-10-12 16:00:21 +00:00
mhitch
b403f60a0e
Don't try to probe devices past the number of tz devices configured - stops
...
corrupting data past the end of tz_softc[].
1996-10-12 15:59:39 +00:00
mhitch
4d1a9465f1
Add arch/mips/mips/mips_machdep.c, it's now compiled as a separate file.
1996-10-12 15:49:15 +00:00
scottr
2903ee4df5
Add second Quadra class and machineid (gestalt value) for Color Classic II
1996-10-12 07:35:29 +00:00
mhitch
84abe4ea20
Where did that "l" come from? Another hiccup from the netbsd-1-2 branch
...
merge.
1996-10-12 05:28:14 +00:00
mhitch
0b8603b55b
Needs <stdio.h> now that printf() isn't defined in kernel headers.
1996-10-12 04:34:16 +00:00
thorpej
4879f62ed8
Need <sys/exec.h> for the PS_STRINGS definition.
1996-10-12 02:20:37 +00:00
thorpej
9c7bb13aeb
Include <sys/exec.h>
1996-10-12 02:13:52 +00:00
thorpej
bddeb30297
Don't inline stackgap_init() and stackgap_alloc(). Doing so generates
...
an include file dependency graph that's much more complicated than
it needs to be, and wastes space in the kernel.
1996-10-12 02:12:55 +00:00
mhitch
574994daaf
Fix compile errors when not configured for the Draco.
1996-10-11 21:32:56 +00:00
mhitch
c21fad0c51
Changes for poll(2).
1996-10-11 21:12:43 +00:00
leo
3d5284e11e
- Fix configuration name of 'lpt'
...
- add 'pcibus' as a mainbus device.
1996-10-11 21:07:02 +00:00
leo
64096bf6d1
- add a iteet_ioctl function so iteconfig(1) can be used to select the
...
screen geometry.
- Re-arrange et_loadmode() and et_inittextmode() to write into shadow
register set instead of writing to the card-registers directly.
- provide et_hwsave()/et_hwrest() functions to transfer the card-registers
to and from the shadow set.
1996-10-11 21:02:48 +00:00
leo
6cfe8836c4
*** empty log message ***
1996-10-11 21:01:26 +00:00
leo
b88d6013b6
Remove grf_ite_ioctl(). Replace it by 'itexx_ioctl' that is configurable
...
per ite-type.
1996-10-11 20:50:34 +00:00
mhitch
f22ea83247
The dc has to have needs-flag so dc.h gets generated.
1996-10-11 19:58:43 +00:00
mhitch
2d3fc12c2b
Fixed typo on EXEC_ELF32.
...
Newline at end of file was missing.
1996-10-11 19:55:38 +00:00
mhitch
e0e8090630
Add missing const to simple_devprint() char * parameter.
1996-10-11 19:49:49 +00:00
cgd
4431ea58a9
replace ELF_ALIGN with ELF_TRUNC (round to lower alignment boundary) and
...
ELF_ROUND (round to higher alignment boundary), and use them properly.
Also, change a bit of code in elf_load_psection to use the next ELF_ROUND
macro. This fixes a bug found by Robert Baron <rvb+@cs.cmu.edu> where
elf_load_psection, if given a properly aligned address at which to load
the section, would round actually load it at the next highest alignment
boundary.
1996-10-11 19:44:02 +00:00
mhitch
cb8e03f393
Amiga needs EXEC_AOUT and EXEC_SCRIPT.
1996-10-11 19:34:54 +00:00
is
08899f4a1b
Fix a mbuf leak in ip_output().
...
Scenario: If ip_insertoptions() prepends a new mbuf to the chain, the
bad: label's m_freem(m0) still would free only the original mbuf chain
if the transmission failed for, e.g., no route to host; resulting in
one lost mbuf per failed packet. (The original posting included a
demonstration program).
Original report of this bug was by jinmei@isl.rdc.toshiba.co.jp
(JINMEI Tatuya) on comp.bugs.4bsd.
1996-10-11 18:19:08 +00:00
christos
eb314d8358
printf -> kprintf, sprintf -> ksprintf
1996-10-11 01:50:21 +00:00
christos
19d8368f2f
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:44:42 +00:00
christos
de08983084
add in_addr_t and in_port_t
1996-10-11 00:43:00 +00:00
christos
848c9d8f02
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:39:22 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
christos
8f56de03e1
printf -> kprintf
1996-10-11 00:22:09 +00:00
christos
60dd5ceebe
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:06:28 +00:00
christos
c47b25b2e5
add -Wall -Wstrict-prototypes -Wmissing-prototypes.
...
We are compiling cleanly now!
1996-10-11 00:04:22 +00:00
christos
1f54d4ded6
add in_addr_t and in_port_t and use them.
1996-10-11 00:02:47 +00:00
christos
e6302ff46c
- add missing prototypes
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:56:50 +00:00
christos
946833855f
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:21 +00:00
christos
4335eeb4ed
- fix uninitialized sticks
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:51:19 +00:00
christos
a60beecedb
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:44:49 +00:00
christos
9beb92aad7
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:32:59 +00:00
christos
01d75c7c68
- printf -> kprintf, sprintf -> ksprintf
...
- make this compile cleanly.
1996-10-10 23:31:40 +00:00
christos
117a51c5a5
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:31:17 +00:00
christos
d5bc24be7a
- printf -> kprintf, sprintf -> ksprintf
...
- replace sequences of sprintf(p, ...); p += strlen(p) with p += sprintf(p,
1996-10-10 23:30:58 +00:00
christos
1005eb6f98
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:25:50 +00:00
christos
98d5537195
- make this compile again
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:22:58 +00:00
christos
6d7ad25bea
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:12:43 +00:00
christos
2768f040b3
- fix NSIP; it referenced non-existing functions.
1996-10-10 23:04:26 +00:00
christos
0e189933f5
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:02:20 +00:00
christos
10191279fb
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:59:41 +00:00
christos
2688e678b9
- add missing prototypes
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:58:29 +00:00
christos
60d201973e
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:46:11 +00:00
christos
2b33d9d53a
- printf -> kprintf, sprintf -> ksprintf
...
- use a debugging printf macro instead of #ifdef #endif everywhere.
1996-10-10 22:45:37 +00:00
christos
153ead2dff
- Use debugging printf - macros instead if #ifdef #endif everywhere
...
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:43:21 +00:00
christos
aa4d49153b
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:40:49 +00:00
christos
c514106b9d
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:39:39 +00:00
christos
5d85fa8122
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:25:05 +00:00
christos
4c14cd79b2
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:18:34 +00:00
christos
48635ba80c
- printf -> kprintf, sprintf -> ksprintf
...
- ifdef unused variable
1996-10-10 22:14:18 +00:00
christos
43ffb37118
- printf -> kprintf, sprintf -> ksprintf
...
- fix a bug where tp was used before it was initialized
- remove unused variable
1996-10-10 22:12:15 +00:00
christos
a551ed0d3d
- printf -> kprintf, sprintf -> ksprintf
...
- Fix an | -> ||
1996-10-10 22:08:05 +00:00
christos
58953408cb
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:04:48 +00:00
christos
e51a0f737a
- printf -> kprintf, sprintf -> ksprintf
...
- fix unused variable warning
- include <systm.h>
1996-10-10 21:27:25 +00:00
christos
ce31bd3eb6
- printf -> kprintf, sprintf -> ksprintf
...
- Remove unused variable
- include <systm.h>
1996-10-10 21:26:04 +00:00
christos
18f1d603f0
- printf to kprintf, sprintf -> ksprintf
1996-10-10 21:25:07 +00:00
christos
764db9b35b
- printf -> kprintf, sprintf -> ksprintf
...
- provide a default case to handle an unknown model number.
- include <systm.h>
- remove unused variable.
1996-10-10 21:23:28 +00:00
christos
245e10b406
- printf -> kprintf, sprintf -> ksprintf
...
- ifdef an unused variable.
1996-10-10 21:21:52 +00:00
christos
3b23328ae6
printf -> kprintf, sprintf -> ksprintf
1996-10-10 21:11:37 +00:00
christos
b5c4f2fc49
printf -> kprintf, sprintf -> ksprintf
1996-10-10 20:25:34 +00:00
christos
ee2c8600ee
- printf -> kprintf, sprintf -> ksprintf
...
- remove kvtop declaration.
1996-10-10 20:04:03 +00:00
christos
ea39989829
- printf -> kprintf, sprintf -> ksprintf
...
- add an #ifdef FreeBSD for an unused variable
1996-10-10 20:00:59 +00:00
christos
b54342c9b9
- printf -> kprintf, sprintf -> ksprintf
...
- include <systm.h>
1996-10-10 19:59:17 +00:00
christos
95e30eafe7
printf -> kprintf, sprintf -> ksprintf
1996-10-10 19:58:18 +00:00
christos
bf78c76b40
- move a variable declaration that is unused under NetBSD into the ifdef
...
for FreeBSD
- printf -> kprintf, sprintf -> ksprintf
1996-10-10 19:55:48 +00:00
christos
a9f11a46e4
printf -> kprintf, sprintf -> ksprintf
1996-10-10 19:54:10 +00:00
christos
9cbe3b9d5f
- printf -> kprintf, sprintf -> ksprintf
...
- include systm.h
1996-10-10 19:53:03 +00:00
christos
9cc736c839
- printf -> kprintf, sprintf -> ksprintf
...
- remove unused variables.
- fix cleanup code in case of probe failure.
1996-10-10 19:52:10 +00:00
christos
e596968eda
- printf -> kprintf, sprintf ksprintf
...
- const poisoning for the copy routines.
- fu* su* fixes:
XXX:
1. These are poorly named [better names should have real sizes in them]
2. Not all of them are in use implemented
3. Interface is broken; no way to detect errors in fu*
4. The kernel man 9 pages for copy, fetch and store leave a lot to be
desired.
1996-10-10 19:25:45 +00:00
christos
5476886e52
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:47:29 +00:00
christos
de1b2b437e
printf -> kprintf, sprintf -> ksprintf
1996-10-10 17:16:17 +00:00
jtc
c5364e6a93
S_ISFIFO(x) should not return true with sockets. S_ISSOCK(x) should
...
not return true with fifos. Users who want the previous behavior can
use (S_ISFIFO(x) || S_ISSOCK(x)).
1996-10-10 14:34:37 +00:00
thorpej
4a23efc7bc
Fix botch in netbsd-1-2 merge (multiple inclusion of <sys/tty.h>),
...
pointed out by Jonathan Stone <jonathan@DSG.Standford.EDU>.
1996-10-10 00:27:41 +00:00
cgd
c11d591cfe
add support for ELF toolchain, including weak alias support (for upcoming
...
libc changes) and reference warnings.
1996-10-09 22:41:54 +00:00
cgd
6d0af59ad0
change __va_list's "offset" field to be a 'int' to match what gcc now
...
uses, plus add a compatibility hack so that code compiled with old
versions of gcc (e.g. libraries) can work with code compiled with
new versions.
1996-10-09 21:13:04 +00:00
explorer
e331708d2f
turn off floppy motor (and light) even if the drive isn't found. This fixes
...
some laptop indicator lights which would be stuck on after the probe
1996-10-09 16:10:14 +00:00
matthias
9176e41d88
* Pull over prototyping fixes from i386.
1996-10-09 07:45:28 +00:00
matthias
b43657168e
* Add prototypes.
...
* Add support for ddb and kgdb.
1996-10-09 07:45:25 +00:00
matthias
9d22d4d454
* Fix declaration of setconf.
1996-10-09 07:45:23 +00:00
matthias
85ddb3de03
* A few prototyping tweakes and deletion of unused variables.
...
(pulled over from i386).
1996-10-09 07:45:20 +00:00
matthias
e90bc618bd
* Support for ddb.
...
* New patchable variable maxphysmem to limit physical memory.
That's useful to simulate small machines for testing install
kernels.
* Make debugging crashdumps with gdb -k work.
* microtime is moved to clock.c.
* Reserve memory for symbol table when ddb is configured.
* Move checks for RB_KDB into consinit.
1996-10-09 07:45:17 +00:00
matthias
89a49bedc6
* Set _kernel_text to the correct value.
...
* Fix a typo in delay().
* Disable generation of profiling prologue for proc_trampoline,
sigcode, idle, handle_trap, flush_icache, svc and interrupt.
* A few tweaks to make kgdb and ddb work nicer.
1996-10-09 07:45:13 +00:00
matthias
560bd7e107
* New file for kgdb support.
1996-10-09 07:45:06 +00:00
matthias
9c3592a5ca
* Reduce softint latency.
...
* Pull over change from i386 to make statclock > (tty | net | bio).
1996-10-09 07:45:05 +00:00
matthias
1dceda47e0
* Make it work for NetBSD and not for mach. Most of
...
this was done by Phil Budne.
* Remove things not used by NetBSD.
* Make stacktracebacks work better.
1996-10-09 07:45:03 +00:00
matthias
4484a4406d
* New file for routines common for kgdb and ddb support.
1996-10-09 07:45:00 +00:00
matthias
6f37f75ecb
* Make it work for NetBSD and not for mach. Most of
...
this was done by Phil Budne.
* Move some functions shared with kgdb to db_memrw.c.
1996-10-09 07:44:59 +00:00
matthias
79ded0d7e1
* Make it work for NetBSD and not for mach. Most of
...
this was done by Phil Budne.
1996-10-09 07:44:56 +00:00
matthias
afd88ad8ed
* Remove unused function spinwait.
...
* Add Phil Budne's microtime.
1996-10-09 07:44:54 +00:00
matthias
00695d93ae
* Now that ddb works, boot should set esym to the correct value...
1996-10-09 07:42:13 +00:00
matthias
483cff53cd
* Add the README file from Ian Dall's original distribution.
1996-10-09 07:40:45 +00:00
matthias
84b238b8eb
* Add files needed for kgdb and ddb.
...
* Delete (commented out) ntoh.s.
1996-10-09 07:34:42 +00:00
matthias
f0c2efd752
* Remove ncr_minphys. Simply use minphys.
...
* Protect interrupt code with splbio.
* Don't use intr_disable/intr_enable in the pdma routines.
1996-10-09 07:29:58 +00:00
matthias
f28c7ec9dd
* Don't use ansi c prototypes. Use the __P() macro.
...
* Support for bpf added.
* Don't duplicate code, use ether_ifattach instead.
* Recode plipreceive and pliptransmit in assembler.
This improves performance from 40 kbyte/s to 50 kbyte/s
between a 30mhz pc532 and a 25mhz i386.
1996-10-09 07:29:55 +00:00
matthias
f8c337b300
* Remove intr_disable/intr_enable stuff.
...
* Reduce softint latency.
1996-10-09 07:28:52 +00:00
matthias
f673492195
* redefine MAXPHYS to 128k to support DAT-tapes with a
...
very large blocksize.
1996-10-09 07:28:50 +00:00
matthias
b5542a0938
* The expression to which ICU_CLK_HZ is defined has to be
...
protected by parentheses.
1996-10-09 07:28:47 +00:00
matthias
0a6d52bb21
* Make it work for NetBSD (and not mach). Most of
...
this was done by Phil Budne.
* Delete unused macros.
* Define a few things to support kgdb.
1996-10-09 07:28:44 +00:00
matthias
b1bd20fbe2
* Delete define for DELAY.
...
* Add prototype for delay()
* Add prototypes for functions from various
machine dependent files.
1996-10-09 07:28:43 +00:00