thorpej
95e2e3b91b
Include the LFS option header.
1998-02-19 00:54:39 +00:00
thorpej
2146a2ed29
Include the NFS option header.
1998-02-19 00:54:13 +00:00
thorpej
2fc4c3415a
Include the UNION option header.
1998-02-19 00:53:46 +00:00
thorpej
990ca1baa0
Regen; syscalls.master and makesyscalls.sh changed.
1998-02-19 00:53:17 +00:00
thorpej
58fff16650
Include the NFS and LFS option headers.
1998-02-19 00:52:14 +00:00
thorpej
b0b3787d14
Include the NFS option header.
1998-02-19 00:47:02 +00:00
thorpej
7db8266c3d
Regen; syscalls.master and makesyscalls.sh changed.
1998-02-19 00:46:39 +00:00
thorpej
e533010083
Include the NFS option header.
1998-02-19 00:46:02 +00:00
thorpej
2ea9f5648e
regen; makesyscalls.sh changed
1998-02-19 00:45:36 +00:00
thorpej
054d3ec0b2
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:45:12 +00:00
thorpej
d428ef497f
regen; syscalls.master and makesyscalls.sh changed.
1998-02-19 00:44:20 +00:00
thorpej
217cf602ae
Include the NFS option header.
1998-02-19 00:43:56 +00:00
thorpej
ffa2f66af1
regen; makesyscalls.sh changed
1998-02-19 00:42:35 +00:00
thorpej
db2bdf86a9
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:42:15 +00:00
thorpej
e94f57bd08
regen; makesyscalls.sh changed
1998-02-19 00:41:47 +00:00
thorpej
c0ef23f235
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:41:12 +00:00
thorpej
85363653a7
regen; makesyscalls.sh changed.
1998-02-19 00:40:44 +00:00
thorpej
9f6ec3eb67
Change a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:40:25 +00:00
thorpej
98193ef4fd
makesyscalls.sh changed; regen.
1998-02-19 00:39:25 +00:00
thorpej
a4db5a6784
Update a comment to reflect new makesyscalls.sh behavior.
1998-02-19 00:37:43 +00:00
thorpej
6f0c98c0d4
Regen: syscalls.master and makesyscalls.sh changed.
1998-02-19 00:36:33 +00:00
thorpej
fcb761ac95
Include the NFS option header.
1998-02-19 00:36:03 +00:00
thorpej
00fa9be52f
Include the UNION option header.
1998-02-19 00:35:26 +00:00
thorpej
258bdac2d5
Include the MFS option header.
1998-02-19 00:32:11 +00:00
thorpej
1870f7af79
Include MFS option header.
1998-02-19 00:31:08 +00:00
thorpej
8a5a1155cf
Include KERNFS option header.
1998-02-19 00:30:38 +00:00
thorpej
5b5ba62513
Define the NetBSD file systems, and specify option headers for
...
MFS, LFS, UNION, KERNFS, and NFS.
1998-02-19 00:28:52 +00:00
thorpej
0640c5a64f
Put #include directives in the system call names file, too, so we can
...
generate dependencies on optional system calls.
1998-02-18 23:14:55 +00:00
perry
8486362eaf
remove obsolete boot code -- we now use the code in stand/
1998-02-18 19:23:23 +00:00
perry
3add465995
remove obsolete netboot code -- we now use the code in stand/
1998-02-18 19:21:36 +00:00
drochner
ba81b6f6df
add missing vfsops element
1998-02-18 17:02:20 +00:00
drochner
93a065690b
fix map range boundary check
1998-02-18 14:50:32 +00:00
tsubai
117df8f77a
Initial import of NetBSD/news.
1998-02-18 13:48:03 +00:00
mycroft
2e55db84dd
Sync with powerpc/include/vmparam.h; removes some things which are not used.
1998-02-18 11:11:24 +00:00
mycroft
b7bc9342a8
Fix typo.
1998-02-18 11:10:08 +00:00
mycroft
3b9429b248
Minor changes to make all the float.h files match.
1998-02-18 11:01:27 +00:00
mycroft
5197bf8085
Minor changes.
1998-02-18 10:55:48 +00:00
mycroft
f0a5dd43ce
Multiple-inclusion crap, correct precision of DBL_*, etc.
1998-02-18 10:54:10 +00:00
mycroft
ec9c3ce899
DBL_MIN and DBL_MAX were less precise than they should have been.
...
Other minor changes to match other float.h files.
1998-02-18 10:37:04 +00:00
mycroft
d47ec6f1ae
Include correct information for long doubles (mc68881 extended precision).
1998-02-18 10:24:45 +00:00
mycroft
c525e48e35
Include correct information for long doubles (i387 extended precision).
1998-02-18 09:22:02 +00:00
thorpej
62cb255d14
Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
...
structure, for use by vfs_attach().
1998-02-18 07:26:57 +00:00
thorpej
dc4a1e3d63
vfs_conf.c is obsolete.
1998-02-18 07:19:55 +00:00
thorpej
440541c02f
Major kernel interface change (vfsops/vfs_attach()/vfs_detach()); bump
...
version to 1.3D.
1998-02-18 07:19:23 +00:00
thorpej
19024ae2fb
Don't vfs_opv_init_*(); this is properly handed by vfs_attach().
1998-02-18 07:18:21 +00:00
thorpej
9a3b52d482
Yay! This file is finally DEAD DEAD DEAD!
1998-02-18 07:17:13 +00:00
thorpej
d1f0dbf1b1
Don't use vfssw[], it's gone; use vfs_list instead.
...
Implement vfs_attach() and vfs_detach(), which add and remove file systems
from the kernel.
1998-02-18 07:16:41 +00:00
thorpej
6c57a3c322
Change vfs_opv_init_explicit() to not allocate the vnode operations
...
vectors; defer that to vfs_opv_init().
Change the interface to vfs_opv_init() and export it; it now takes a
pointer to an array of vnodeopv_desc *'s to initialize. Allocate
the vnode operations vectors here. Called by vfs_attach().
Implement vfs_opv_free(), which deallocates the vnode operations
vectors. Called by vfs_detach().
Change vfsinit() to build the initial vfs_list by traversing the
vfs_list_inital[] table, and vfs_attach()'ing those file systems.
Also, initialize special vnodeopv_descs (dead, fifo, spec) which
are not associated with any particular file system.
1998-02-18 07:15:30 +00:00
thorpej
c7a0984b02
vfssw[] is gone; use vfs_list instead.
1998-02-18 07:11:46 +00:00
thorpej
da61b242a0
Use vfs_attach()/vfs_detach().
1998-02-18 07:11:21 +00:00
thorpej
53610dcc4b
Add a pointer to an array of struct vnodeopv_desc *'s, for use by
...
vfs_attach(), and a LIST_ENTRY to link to the kernel's list of
file systems to struct vfsops.
Declare the vfs_list_head structure, and prototype new functions
vfs_attach(), vfs_detach(), vfs_opv_init(), and vfs_opv_free().
1998-02-18 07:09:15 +00:00
thorpej
b5bf2ed6d0
Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
...
structure, for use by vfs_attach().
1998-02-18 07:05:47 +00:00
mrg
3ed2e6ac6c
bug fix from chuck: uvm_vnp_terminate panic when /sbin/init was unlinked
1998-02-18 06:35:46 +00:00
perry
ba7b5f16ff
add -DPMAP_NEW if PMAP_NEW is on in mk.conf
1998-02-18 03:54:58 +00:00
thorpej
edbfcebb6a
Fixup an inconsistency in the declaration of PTDpaddr, pointed out by
...
Chris Demetriou.
1998-02-18 03:04:40 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
cgd
f19c0ee648
nuke pmap_map(). it's an internal MD function, and it's unused
1998-02-18 01:44:32 +00:00
thorpej
b7d1ce7766
Switch the i386 port to the new kernel crash dump format.
1998-02-18 01:09:25 +00:00
is
31c87441a4
Cosmetics. Pointed out by Matthias Scheler.
1998-02-17 19:42:38 +00:00
cgd
a7f7004e33
include an MD header if arm32. (No header yet, but there will be
...
one eventually.)
1998-02-17 18:27:10 +00:00
mrg
3405ea7d83
properly protect the definition of "cnt". PR#4985 from <bgrayson@ece.utexas.edu>
1998-02-17 09:35:19 +00:00
thorpej
4399060ec9
- Perform all necessary bus_dmamap_sync() operations.
...
- Greatly simplify allocation and DMA mapping of the mailbox and ccbs.
- Be more robust against resource shortage errors, and report errors better.
1998-02-17 03:02:30 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
thorpej
65e20aa9a8
Add first-cut support for UVM. NOTE! User page table allocation does not
...
currently work with UVM in this pmap! This is due to a bug in the interaction
between kernel_object and submaps which will be addressed shortly.
1998-02-16 21:01:39 +00:00
thorpej
d8f3ddff17
Add support for UVM.
1998-02-16 20:54:51 +00:00
drochner
07fdccb3a4
Document new WD80x3 option.
1998-02-16 11:41:14 +00:00
drochner
509f891bd0
-Completely reset the card in EtherStop(), otherwise the next
...
open can fail.
-Disable interrupts in the mask register - EP_W0_RESOURCE_CFG is not
sufficient for PCI cards.
1998-02-16 11:26:36 +00:00
drochner
b8cdacb8d5
Redo standalone driver for WD8013 / SMC Ultra boards.
...
(The old one was buggy.)
Frontend / backend splitup and most code taken from sys/dev/ic/dp8390.c
and sys/dev/isa/if_we.c.
1998-02-16 11:21:59 +00:00
drochner
642cbc64e2
Always set own IP address to 0.0.0.0 before BOOTP or DHCP.
1998-02-16 11:10:54 +00:00
kleink
67ef95ed95
Snapshot of cleanup: protect struct stat12 and several function prototypes
...
from _POSIX_SOURCE resp. _XOPEN_SOURCE. Fixes bin/4997 from Michael Richardson.
1998-02-16 09:52:19 +00:00
kleink
897ff887fa
Addendum to last commit: make the tcgetsid() prototype visible in case
...
both _POSIX_SOURCE and _XOPEN_SOURCE are defined.
1998-02-16 08:13:06 +00:00
thorpej
b4e77b173a
Add support for non-contiguous physical memory, using MACHINE_NEW_NONCONTIG.
...
These changes also recover memory that is located before the kernel in
the first system software segment on systems which do not use the PROM
for console I/O. Written by Chris Demetriou and myself.
1998-02-16 03:59:55 +00:00
thorpej
2b06ffd5f9
Add support for UVM.
1998-02-15 21:19:34 +00:00
thorpej
8559f25d47
Implement kcopy(), like bcopy(), but aborts if a fault is encountered.
...
Required for UVM.
1998-02-15 21:18:45 +00:00
tls
91de585d5f
Add correct copyright notice for IP address hash change. This code is donated to TNF by the original copyright holder, Panix.
1998-02-15 18:24:23 +00:00
kleink
9d4229ed21
Regen: use POSIX semantics for chown()/fchown().
1998-02-14 22:06:38 +00:00
kleink
d3e69807a6
Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
1998-02-14 22:04:56 +00:00
kleink
96f0dccbdd
* Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
...
* Change reference from sys_posix_rename() to sys___posix_rename().
1998-02-14 21:57:02 +00:00
kleink
f1d879bb87
Regen: use POSIX semantics for chown()/fchown()/rename() syscalls, add lchown().
1998-02-14 21:43:35 +00:00
kleink
b9233971cd
* Use sys___posix_{chown,fchown}() insteade of sys_{chown,fchown}().
...
* Change reference from sys_posix_rename() to sys___posix_rename().
* Emulate lchown().
1998-02-14 21:40:54 +00:00
kleink
6dccfbdf6f
Regen: use POSIX semantics for chown()/fchown()/rename() syscalls, add lchown().
1998-02-14 21:31:26 +00:00
kleink
c19ebc067c
* Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
...
* Change reference from sys_posix_rename() to sys___posix_rename().
* Emulate lchown().
1998-02-14 21:29:14 +00:00
kleink
8defdfc372
Regen: sys_fchown() -> sys___posix_fchown().
1998-02-14 21:19:37 +00:00
kleink
ab93fc5e02
Use sys___posix_fchown() instead of sys_fchown().
1998-02-14 21:16:35 +00:00
kleink
9cda9b2393
* chown(): use sys___posix_chown().
...
* rename(): change reference to sys___posix_rename().
1998-02-14 21:13:52 +00:00
kleink
81f5f29918
Regen: sys_fchown() -> sys___posix_fchown().
1998-02-14 21:03:48 +00:00
kleink
5d1d29ff65
Use sys___posix_fchown() instead of sys_fchown().
1998-02-14 20:58:21 +00:00
kleink
5c1fbd0e44
* chown(): use sys___posix_chown().
...
* rename(): change reference to sys___posix_rename().
1998-02-14 20:52:47 +00:00
kleink
f339e80ad6
Regen: syscalls.master change (addition of __posix_chown(), __posix_fchown(),
...
__posix_lchown(); posix_rename() -> __posix_rename()).
1998-02-14 20:05:53 +00:00
kleink
3404e6deb3
Implement __posix_chown(), __posix_fchown() and __posix_lchown(). Also,
...
rename posix_rename() to __posix_rename() to follow this convention.
1998-02-14 20:01:05 +00:00
kleink
e34b0a84a9
Move some permission-checking code for file owner/group changes up to
...
vfs_syscalls.c::change_owner(). Also, always update the inode's change time
if the operation succeeds.
1998-02-14 19:56:30 +00:00
kleink
3ef309317a
* Factor out some permission-checking code from ufs_setattr() into
...
change_owner().
* Change the semantics of chown(), fchown() and lchown(): when requesting a
change of the owner of a file, clear the set-user-id bit; analogous behaviour
for group changes.
* Since the above is a violation of the semantics specified by POSIX and
X/Open, add corresponding compatibility syscalls: __posix_chown(),
__posix_fchown(), __posix_lchown(). (Neither fchown() nor lchown() is
specified by POSIX; the prefix is intended to reflect the semantics.)
* Rename posix_rename() to __posix_rename() to follow the above convention.
1998-02-14 19:49:43 +00:00
kleink
59fe905973
Fix variable declarations: register -> register int.
1998-02-14 19:34:12 +00:00
pk
0fc808b760
Think-o in pmap_extract4m(), detected by UVM.
1998-02-14 09:28:52 +00:00
cgd
1584dc4420
The pmap_emulate_reference warning about the page not being managed should
...
be a panic instead. If it's hit, "random" memory is going to be corrupted.
1998-02-14 02:04:05 +00:00
thorpej
5f8168f660
Use the sesssion's stored SID in getsid().
1998-02-14 01:33:18 +00:00
thorpej
8efb4289b4
syscalls.master changed; regen.
1998-02-14 01:30:20 +00:00
thorpej
44102031da
We now have a native getsid(2), so there's no need to implement it here;
...
just use sys_getsid().
1998-02-14 01:29:43 +00:00
thorpej
821a4fec46
Add a comment clearly describing that Linux's getsid(2) differs from
...
the XPG4.2 definition in that it returns the kernel virtual address
of the session structure, rather than the process group ID of the
session leader.
1998-02-14 01:28:15 +00:00
thorpej
c1538fb038
Implement TIOCGSID.
1998-02-14 01:26:50 +00:00