christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
perry
50a256a3a0
__asm__ -> __asm
...
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry
2d65de2479
bare asm -> __asm
2005-12-24 22:45:33 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
tsutsui
1f6de21161
Sync with GENERIC:
...
> Add (commented out) Veriexec options and pseudo-device to GENERIC kernels
2005-12-10 14:39:34 +00:00
elad
4591e5acfd
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
...
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
tsutsui
2a32b6081e
Remove obsolete options VNODE_OP_NOINLINE.
2005-12-07 12:40:46 +00:00
tsutsui
ff9b47d69e
Adjust comments for options FFS_NO_SNAPSHOT.
...
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
yamt
aec75b1cc6
- change the way to specify a bufq strategy. (by string rather than by number)
...
- rather than embedding bufq_state in driver softc,
have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
from sys/bufq.h to sys/bufq_impl.h.
(is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c. (not tested)
2005-10-15 17:29:10 +00:00
tsutsui
777c677da8
Sync with GENERIC:
...
- add indent
- add commented out file-system TMPFS
- enable PFIL_HOOLS
- space cosmetics
2005-10-06 15:13:26 +00:00
tsutsui
57c9eba3ac
cosmetics.
2005-10-06 15:12:01 +00:00
yamt
d597202302
make VMSWAP optional again.
2005-09-17 14:38:38 +00:00
yamt
7e71f567e4
include "conf/std".
2005-09-17 09:44:05 +00:00
jmmv
ec93365612
Initial addition of tmpfs, an efficient memory file-system. This project
...
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.
The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.
Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.
OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
isaki
100f9bce03
typo in comment. (since 1994?!)
2005-09-04 10:41:36 +00:00
drochner
44bf0a7ee2
s/locdesc_t/int/g
2005-08-26 13:19:34 +00:00
christos
93c362d7ef
Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
2005-08-19 05:19:49 +00:00
christos
758a209d23
64 bit inode changes.
2005-08-19 02:03:49 +00:00
yamt
38ca5312d2
revert "defflag VMSWAP" changes for now.
...
there seems to be far more people who don't want to edit
their kernel config files than i thought.
2005-07-31 04:04:30 +00:00
yamt
558fded29a
add "options VMSWAP" to non INSTALL kernels.
2005-07-30 06:35:34 +00:00
yamt
1d0891101c
defflag VMSWAP.
2005-07-30 06:33:33 +00:00
hubertf
673730506c
Add support for reading cloop2 compressed filesystem image,
...
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
christos
2f382743c1
Add m68k sunos_machdep.h
2005-07-11 13:13:56 +00:00
tron
04b9c3437f
Add (commented out) IPSEC_NAT_T option.
2005-07-07 17:05:46 +00:00
he
b50b7d812b
Make the bus_scan() prototype match the function declaration.
2005-07-03 23:13:11 +00:00
drochner
996c273eda
adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes
2005-06-30 17:03:51 +00:00
drochner
b081eee072
convert remaining autoconf bus "submatch" functions to use the new
...
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)
2005-06-28 18:29:58 +00:00
rpaulo
64fd052c74
Add file-system PTYFS (commented out) so that people know its existence.
...
Ok'ed by Christos Zoulas and Hubert Feyrer.
2005-06-25 12:05:15 +00:00
thorpej
7adddd1b69
Move common Sun3/Sun4 EEPROM definitions in to <dev/sun/eeprom.h>
2005-06-19 20:23:48 +00:00
thorpej
15adcb96b8
Move common Sun ID PROM definitions into <dev/sun/idprom.h>.
2005-06-19 20:00:28 +00:00
tsutsui
4e54a2cc7c
- Rename options NEW_BUFQ_STRATEGY -> options BUFQ_READPRIO.
...
(still commented out)
- Add (also commented out) options BUFQ_PRIOCSCAN.
Suggested by perry and soda on tech-kern.
Please refer options(4) for details for these options.
2005-06-09 14:43:29 +00:00
tsutsui
3468c784c4
Appease gcc -Wcast-qual by __UNVOLATILE().
2005-06-03 15:11:14 +00:00
tsutsui
c6aa2e9384
Fix shadowing variable warnings.
2005-06-03 15:09:46 +00:00
tsutsui
6404b91841
Adapt to ddb constification.
2005-06-03 15:07:52 +00:00
tsutsui
8ed7f89c57
- constify
...
- fix shadowing variables
2005-06-03 15:07:12 +00:00
tsutsui
c036bb51f0
Remove declarations for db_read_bytes() and db_write_bytes().
...
They are in <ddb/db_access.h>.
2005-06-03 15:06:06 +00:00
tsutsui
03aea31db4
Constify.
2005-06-03 15:04:21 +00:00
christos
f6b4c20f18
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
2005-05-31 04:03:08 +00:00
tsutsui
3d1c31d7fd
Avoid NULL pointer dereference in case of #if NBPFILTER == 0.
...
Closes PR port-sun3/21699.
2005-05-30 12:46:18 +00:00
chs
94622623d8
in pmap_enter(), preset the mod/ref bits based on the flags argument.
...
fixes 25640.
2005-05-29 15:56:59 +00:00
jdolecek
4d515665c5
assign major for nsmb(4)
2005-05-10 00:02:35 +00:00
lukem
3fd1802e62
Move the MI printing of `copyright' to the MD cpu_startup() code
...
where the printing of `version' is already performed.
This has the benefit of allowing the copyright to be available
via dmesg(8) on platforms which need the `msgbuf' to be setup
in cpu_startup() before printed output is remembered.
2005-04-25 15:02:02 +00:00
yamt
6b2d8b66a4
merge yamt-km branch.
...
- don't use managed mappings/backing objects for wired memory allocations.
save some resources like pv_entry. also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.
2005-04-01 11:59:21 +00:00
dsl
4822cbaae2
Invert FFS_SNAPSHOT to FFS_NO_SNAPSHOT
2005-02-18 21:05:50 +00:00
dsl
05e2f6ebdb
Add 'option FFS_SNAPSHOT' to most of the config files.
...
Commented out for kernels that appear to hace space constraints.
2005-02-11 08:25:53 +00:00
hannken
d5fbb6936f
Add file system snapshots to kernel configs.
...
- Ffs internal snapshots get compiled in unconditionally.
- File system snapshot device fss(4) added to all kernel configs that
have a disk. Device is commented out on all non-GENERIC kernels.
Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2005-01-31 16:54:32 +00:00
tsutsui
56ac22d93c
Enable disconnect/reselect for esp(4) on 3/80 by default.
...
It also implies to enable tagged queueing, which works fine on my 3/80:
---
NetBSD 2.99.15 (CHARIOT) #184 : Sun Jan 30 07:13:08 JST 2005
tsutsui@mirage:/usr/src/sys/arch/sun3/compile/CHARIOT
Model: sun3x 80
fpu: mc68882
total memory = 65536 KB
avail memory = 62496 KB
mainbus0 (root)
obio0 at mainbus0
:
dma0 at obio0 addr 0x66001000 ipl 2: rev 0
esp0 at obio0 addr 0x66000000 ipl 2: ESP100, 20MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
:
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST31230N, HP04> disk fixed
sd0: 1001 MB, 3992 cyl, 5 head, 102 sec, 512 bytes/sect x 2051460 sectors
sd0: async, 8-bit transfers, tagged queueing
sd1 at scsibus0 target 3 lun 0: <FUJITSU, M1606S-512, 6237> disk fixed
sd1: 1041 MB, 3457 cyl, 6 head, 102 sec, 512 bytes/sect x 2131992 sectors
sd1: async, 8-bit transfers, tagged queueing
boot device: sd0a
:
---
(yes, async but tagged queueing :-)
2005-01-30 04:07:59 +00:00
tsutsui
f855ff2dde
Enable NCR_F_DMASELECT to use DMA xfer on command/selection phase.
...
It didn't work on sun3x when I and gwr tried back in April 1999,
but now it just works fine.
2005-01-30 03:52:41 +00:00