phil
9b68d7d99e
Clean up of some assembly files.
1996-01-26 08:10:10 +00:00
phil
6bffbf4ca9
New file needed for Matthias Pfaller rework of pmap.c to sync it with
...
the 386 version.
1996-01-26 08:06:40 +00:00
phil
45d22f23ed
New file from Matthias Pfaller.
1996-01-26 05:37:16 +00:00
phil
44f4a2f5e6
Update to Matthias' current state.
1996-01-26 05:12:58 +00:00
phil
2a13a30e5e
Update from Matthias Pfaller. (Small tweeks.)
1996-01-26 05:04:12 +00:00
phil
49d37e3c5d
Update to current state. No major changes.
1996-01-25 19:50:39 +00:00
phil
85178bcc1b
Update a bit.
1996-01-25 19:36:36 +00:00
phil
3789c88f95
Add doshutdownhooks().
1996-01-15 05:30:47 +00:00
thorpej
57219ebad3
Remove vnode_if.[ch] during a "make clean", per PR#536 from
...
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
thorpej
5b39541e48
New generic disk framework. Highlights:
...
- New metrics handling. Metrics are now kept in the new
`struct disk'. Busy time is now stored as a timeval, and
transfer count in bytes.
- Storage for disklabels is now dynamically allocated, so that
the size of the disk structure is not machine-dependent.
- Several new functions for attaching and detaching disks, and
handling metrics calculation.
Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.
For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
jtc
2fce159ff8
Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
...
traditional usage.
1996-01-04 22:21:33 +00:00
thorpej
17eb6e2bc1
Move the old-style disk instrumentation "structures" to a central location
...
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
mycroft
cd8fe86bcb
Make the type of __builtin_va_list a long.
1995-12-26 01:16:24 +00:00
mycroft
0c00214737
Use __builtin_va_alist.
1995-12-26 00:19:09 +00:00
mycroft
fa887628d8
Stylistic changes.
1995-12-25 23:15:31 +00:00
mycroft
d1de691efb
Stylistic changes.
1995-12-25 22:22:02 +00:00
mycroft
0199e002ad
Update for GCC 2.7, and fix bugs.
1995-12-25 21:41:08 +00:00
mycroft
292120bf63
Define __FORK_BRAINDAMAGE.
1995-12-09 04:41:41 +00:00
phil
c13dbbd1b4
Update the To.Do list.
1995-12-07 07:55:11 +00:00
jtc
0cd793449e
merge in changes from 1.1 release branch
1995-11-30 00:56:23 +00:00
mycroft
c9b339fcd1
Clean up deleted files.
1995-10-11 18:51:50 +00:00
mycroft
fda13ac9c6
Clean up deleted files.
1995-10-11 05:28:06 +00:00
phil
715002290d
remove old 1.0 distribution configs, tune 1.1 kernel configs.
1995-10-11 04:53:57 +00:00
phil
326e5742ac
Disable interrupt to avoid a bug. This makes the "new ncr" driver
...
stable enough to use in the distribution. We still need to find out
where the bug is when interrupts are enabled.
1995-10-10 08:08:01 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
phil
c9836835f4
Make it as lean as possible.
1995-09-29 04:16:48 +00:00
phil
d7992eb61f
Update to correct load address.
1995-09-28 08:13:29 +00:00
phil
03fa08025b
Major update: Many changes from Matthias Pfaller.
...
* conf/DEFAULT: new file, default install kernel
* conf/INSTALL: +MSDOSFS, +NO_INLINE_SPLX, +RD_SIZE=2mb, +scn4/5
* conf/KLONDIKE: cosmetic changes
* conf/STEELHEAD: cosmetic changes
* conf/files.pc532: rd got a file of it's own
* dev/lpt.c: changes to support lower interrupt latency, packet input/output
is now done at spl0
* dev/ncr.c: changes to support the most recent atari version of the ncr5380
driver
* dev/ncr5380.c, dev/ncr5380reg.h: upgraded to most recent atari version,
memcpy -> bcopy.
* dev/rd.c: ramdisk driver
* dev/scn.c: by patching scndefaultrate, the kernel's default baud rate can
be changed with gdb
* include/psl.h: struct iv now protected by !LOCORE && _KERNEL
inlining of splx can be prevented with new kernel option NO_INLINE_SPLX
splx_di is like splx but leaves processor interrupts disabled
* pc532/autoconf.c: cosmetic changes
* pc532/conf.c: with rd entries
* pc532/intr.c: changes to support splx_di
* pc532/locore.s: ramdisk is no longer initialized
not splx, but rett is now used to reenable CPU interrupts when leaving the
interrupt service routine. This is necessary to prevent recursive interrupts.
* pc532/sys_machdep.c: memcpy -> bcopy
* pc532/mem.c: moved ramdisk to dev/rd.c
* stand/Makefile: boot is now loaded at 0x3eb800 instead of 0x363800
Use current form of libsa and libkern.
* stand/inflate.c: emit twiddle every 8k and not every 1k
* stand/rd.c: ramdisk starts at 0x288000
1995-09-26 20:15:57 +00:00
phil
7ed7d6148f
Move the C struct to the properly protected place.
1995-09-22 23:19:30 +00:00
thorpej
c9dfdd20b6
Compile the kernel with -Werror and -fno-builtin.
1995-09-19 23:48:41 +00:00
thorpej
7d7396c414
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 22:53:47 +00:00
mycroft
29053c58b2
SA_ONSTACK --> SS_ONSTACK
1995-09-01 20:05:59 +00:00
phil
f9399fadc7
add option CON_BRK_PANIC to be able to force a panic by 3 consecutive
...
breaks without any input on the console port.
1995-08-30 23:51:40 +00:00
phil
022e1038fd
Use pc532 specific in_cksum.c.
1995-08-29 22:48:02 +00:00
phil
3564c1fcc2
More changes to ncr driver to try to get it working. (From Matthias Pfaller)
1995-08-29 22:44:27 +00:00
phil
d9c05825be
Changes for gdb from Matthias Pfaller.
1995-08-29 22:37:41 +00:00
phil
f2d39a40d1
Changes for new INSTALL generic kernel and compressed kernel boot.
1995-08-29 21:55:39 +00:00
phil
6a179f1f2e
VOID minphys.
1995-08-27 04:07:53 +00:00
phil
389484fe28
New kernels from Matthias Pfaller and addition of oldncr driver.
1995-08-25 07:58:21 +00:00
phil
441cd76f8f
Changes by Matthias Pfaller for generic support and dumping.
1995-08-25 07:52:18 +00:00
phil
0a3111b255
Various changes (from Matthias Pfaller) including support for a
...
more generic distribution kernel and dumps.
1995-08-25 07:49:04 +00:00
phil
47ff5d6b3d
More changes to the "new" ncr interrupt driven scsi driver (from M. Pfaller)
...
Bring back the old polled driver until a kernel built with the interrupt
driven one is stable enough for production use.
1995-08-25 07:30:33 +00:00
thorpej
66dcd8fd69
Add entries for the ccd.
1995-08-17 17:40:42 +00:00
mycroft
6cc376290b
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:27:11 +00:00
mycroft
80d7b0695a
minphys() functions really should return void.
1995-08-12 20:30:45 +00:00
phil
dad0b0a94c
Work towards getting gdb working by Craig Ruff.
1995-07-28 08:00:17 +00:00
phil
cb8805b840
Work toward making gdb work by Craig Ruff.
1995-07-28 07:51:38 +00:00
cgd
ffe4785a58
update SCSI minphys routines' definitions to match standard minphys()
...
definition and usage.
1995-07-24 07:33:32 +00:00
cgd
479fb9e45b
add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
...
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
paulus
da3602a73e
Add code to softnet to call pppintr.
1995-07-04 12:19:07 +00:00
mycroft
7263209ce6
Make each disk and tape driver define its own read and write functions.
...
Deprecate rawread() and rawwrite() completely. Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd
c83f9c5568
remove unused cpu_exec() definitions. moved "broken swap" markers, for
...
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
phil
ad4af073cd
Updates from Matthias Pfaller. (leo@marco.de)
1995-06-26 23:13:54 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
christos
98df248f95
Makefile.`arch`: - Add -lcompat
...
- Change clean: target to be a double dep one,
so libraries can use the clean target too
- Add genassym to the clean targets
1995-06-24 20:46:09 +00:00
jtc
55fbbc705d
Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif.
1995-06-20 20:45:22 +00:00
jtc
1d65cdd4ab
#include <sys/cdefs.h>.
...
Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
1995-06-20 20:32:22 +00:00
phil
2f62eae02d
Checkpointing ... still has a couple of problems but it is better.
...
(include/{icu.h,psl.h} should be listed as part of this checkpoint.)
1995-06-18 07:18:02 +00:00
phil
8142065452
Updating to be like i386 version.
1995-06-18 07:13:46 +00:00
phil
9999c610fb
Updated To.Do
1995-06-09 06:03:45 +00:00
phil
36c6fc31be
Various updates for the new NCR scsi driver and tweeks to the interrupt
...
code. (From Matthias Pfaller)
1995-06-09 05:59:56 +00:00
phil
a8674363a7
Replacement of the NCR driver by the Leo Weppelman NCR driver as
...
ported by Matthias Pfaller (Thanks to both!) and a RCS id.
1995-06-09 04:36:14 +00:00
jtc
f90f8d10aa
Removing -DKERNEL, transition to _KERNEL has been completed
1995-05-16 22:24:17 +00:00
phil
29db7c74b1
Changes from Matthias Pfaller: lpt driver changes, clock code similar
...
to i386, interrupts from static table to dynamic table, other small
fixes (locore.s byte operates -> double operands ...)
1995-05-16 07:30:30 +00:00
jtc
8aa6c376b6
KERNEL -> _KERNEL
1995-05-11 16:52:54 +00:00
phil
fae7c89fdd
RCS id/header cleanup.
1995-05-08 19:37:45 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
cgd
c075955b09
kill historical cruft
1995-04-29 01:56:59 +00:00
jtc
ac3b1189c1
ns32k specific portions of ieeefp.h (fp_rnd, fp_except, constants, etc.).
1995-04-28 22:01:25 +00:00
jtc
7fea99983f
Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
...
current rounding mode is accurately reported.
1995-04-28 21:58:57 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
phil
b9c4f23337
needs-count => needs-flag
1995-04-27 07:26:08 +00:00
phil
042a0e2c63
remove warnings in pmap.c
1995-04-27 07:19:09 +00:00
phil
83e651c4c4
scntty & reorg using softc stuff.
1995-04-27 07:18:02 +00:00
phil
a186461a00
conf.c: ptstty ...
...
machdep.c: setregs parameter type change, remove warnings
process_machdep.c, pmap.c : remove warnings
1995-04-27 07:16:31 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
phil
83d1965cc0
Remove the "#if 0" around vfs_unmountall().
1995-04-21 20:20:15 +00:00
phil
c42a783b23
Add scncnpollc.
1995-04-21 18:36:32 +00:00
phil
6fbf1113f7
Fix a mycroft typo.
1995-04-20 07:16:30 +00:00
mycroft
4439f3b5f6
Remove deprecated prober/probew/kernacc/useracc.
1995-04-11 20:01:43 +00:00
mellon
df78dbb096
Reference cninit.c as well as cons.c
1995-04-11 09:52:11 +00:00
mycroft
e25c1817cf
kernel_pmap --> pmap_kernel()
1995-04-10 13:08:28 +00:00
mycroft
22cefc03bc
Bring back pmap_kernel(), for now always inlined as a pointer to
...
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
127e0761c9
Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
...
needed. Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
d751b03236
Minor consistency nits.
1995-04-10 10:01:40 +00:00
mycroft
7e450d5085
device.h is defunct.
1995-04-10 07:50:42 +00:00
mycroft
14241df959
Update for conf.h.
1995-04-10 07:43:49 +00:00
jtc
71ab4ed9dc
KERNEL -> _KERNEL
1995-03-28 18:13:48 +00:00
cgd
fa2133533d
invoke ktrsyscall with (vp, code, argsize, args) as args.
1995-03-26 08:03:29 +00:00
jtc
f86410093b
Changed name of __weak_reference() to __indr_reference(). They really
...
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
d57fb977bb
Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
1995-03-23 19:46:18 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
mycroft
2f805fa51b
copy*str() should use size_t.
1995-03-09 12:05:21 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
phil
3a293934a9
Increase the VM limits and initial sizes limits.
1995-02-14 18:52:29 +00:00
phil
ef1389111f
Do what it takes to make vnd a swap device :)
1995-02-12 03:53:45 +00:00
phil
5b95a4a41e
Fix from Matthias for device closing.
1995-02-08 17:45:09 +00:00
phil
255317cd59
Update it!
1995-02-03 18:34:11 +00:00
jtc
830a53e394
ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
...
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00