thorpej
e9052d7c40
New delay() function that uses the RPCC instruction. From
...
Matthew Jacob <mjacob@feral.com>.
2000-06-28 02:02:26 +00:00
matt
3c173d4927
If we loaded an nmagic on a subpage boundary, adjust epp->ep_d{addr,size} so
...
that they start on a page boundary. This is needed so that obreak(2) works
properly.
2000-06-28 00:14:44 +00:00
fvdl
975751cda2
vinsheadfree -> ungetnewvnode
2000-06-27 23:51:51 +00:00
fvdl
d09958adad
Due to popular demand, change vinsheadfree to ungetnewvnode to make
...
the name clearer. No functional change.
2000-06-27 23:51:22 +00:00
fvdl
bba2403203
In ffs_vget, do not hold ufs_haslock across the call to getnewvnode.
...
We may sleep in it, or even recurse, with softdeps. Instead, grab
the lock later, but check if noone else has beaten us to the VFS_VGET
operation, and if so, roll back getnewvnode using vinsheadfree, and
just return.
2000-06-27 23:39:17 +00:00
fvdl
4ff91a9bc3
Add vinsheadfree prototype.
2000-06-27 23:36:06 +00:00
fvdl
c39797c045
Add vinsheadfree, a small function to push vnodes that have just
...
been allocated by getnewvnode, back onto the head of the free list.
Needed in some VFS_VGET functions to deal with races.
2000-06-27 23:34:45 +00:00
augustss
d28770775b
Make it compile with AUDIO_DEBUG after the mmap API change.
2000-06-27 21:25:02 +00:00
augustss
040884b5e6
Regen (no difference in generated files, but they were not up-to-date).
2000-06-27 20:59:23 +00:00
perseant
39b86955ed
Fixes associated with filling an LFS:
...
Change the space computation to appear to change the size of the *disk*
rather than the *bytes used* when more segment summaries and inode
blocks are written. Try to estimate the amount of space that these will
take up when more files are written, so the disk size doesn't change too
much.
Regularize error returns from lfs_valloc, lfs_balloc, lfs_truncate: they
now fail entirely, rather than succeeding half-way and leaving the fs in
an inconsistent state.
Rewrite lfs_truncate, mostly stealing from ffs_truncate. The old
lfs_truncate had difficulty truncating a large file to a non-zero size
(indirect blocks were not handled appropriately).
Unmark VDIROP on fvp after ufs_remove, ufs_rmdir, so these can be
reclaimed immediately: this vnode would not be written to disk again
anyway if the removal succeeded, and if it failed, no directory
operation occurred.
ufs_makeinode and ufs_mkdir now remove IN_ADIROP on error.
2000-06-27 20:57:11 +00:00
perseant
d8584d7769
From John Evans <jevans@cray.com>: use datosn() to convert to segment
...
number, when remarking the current segment ACTIVE. See PR #10463 .
2000-06-27 20:00:03 +00:00
ragge
30a1a1bb3c
Add hdc controller and rd disks.
2000-06-27 18:50:47 +00:00
ragge
2be09b4a84
Do 3 retries on a failing sector before giving up.
...
Clear pending interrupts before starting a DMA transfer. If an interrupt
occurs while the HDC9224 is doing DMA, the transfered data will be
scrambled (without giving any errors, quite bad).
2000-06-27 18:46:17 +00:00
ragge
92f0a8f388
Make this file compile again.
2000-06-27 18:38:27 +00:00
soren
d6295e3d35
Don't include <vm/vm.h>.
2000-06-27 18:10:04 +00:00
mrg
de53718be7
<vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-27 18:01:06 +00:00
mrg
f324eef2d2
remove include of <vm/vm.h>
2000-06-27 17:55:38 +00:00
mrg
e5dbe33df1
remove redundant vm includes.
2000-06-27 17:53:44 +00:00
mrg
6eeafef261
remove include of <vm/vm.h>
2000-06-27 17:52:28 +00:00
mrg
32aa199ccf
remove include of <vm/vm.h>
2000-06-27 17:41:07 +00:00
mrg
dea44a9ec4
remove include of <vm/vm.h>
2000-06-27 17:29:17 +00:00
pk
054fe0cb32
Move `DIAGNOSTIC || LOCKDEBUG'-only lock counters to the end of the cpu_info
...
structure, Just In Case.
2000-06-27 16:51:44 +00:00
pk
88b0328aca
We shouldn't be defining DEBUG and DIAGNOSTIC on our own; these may have
...
unwanted side-effects in the header files. For now, do the internal
#defines after including the headers.
2000-06-27 16:46:54 +00:00
mrg
1f4b948b2f
move the contents of <vm/vm.h> into <uvm/uvm_extern.h>. <vm/vm.h> is simply
...
an include of <uvm/uvm_extern.h> now.
2000-06-27 16:16:43 +00:00
mrg
d726c1dfc5
remove redundant vm includes.
2000-06-27 09:09:51 +00:00
pk
618d3d0fde
VME/IOMMU DMA load must also relocate DVMA addresses to the start of VME space.
2000-06-27 09:05:23 +00:00
mrg
88adda1288
more vm header file changes:
...
<vm/vm_extern.h> merged into <uvm/uvm_extern.h>
<vm/vm_page.h> merged into <uvm/uvm_page.h>
<vm/pmap.h> has become <uvm/uvm_pmap.h>
this leaves just <vm/vm.h> in NetBSD.
2000-06-27 09:00:14 +00:00
mrg
cd9f783cb9
install uvm_pmap.h
2000-06-27 08:49:44 +00:00
kleink
d82c31e07e
Typo.
2000-06-27 08:43:02 +00:00
soren
68a8d88edc
Shrink a little again to avoid firmware limits.
2000-06-27 08:34:02 +00:00
matt
34def42c3d
Add ELF support.
2000-06-27 06:17:28 +00:00
simonb
eeff58b5fd
In udv_fault(), use an off_t for curr_offset so that the offset passed
...
to d_mmap isn't truncated on 64 bit architectures.
2000-06-27 06:14:24 +00:00
tron
bddc013764
Add special IRQ handler for CMD PCI0648 and PCI0649 taken from the
...
experimental version of Manuel Bouyer's driver.
2000-06-27 05:57:05 +00:00
kleink
bb2ed0f487
G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
2000-06-27 05:53:22 +00:00
kleink
83b6632673
Define intptr_t and uintptr_t via <machine/int_types.h>.
2000-06-27 05:51:54 +00:00
simonb
bfc5613f54
Revert some of the previous mmap() changes that were in "#ifdef FreeBSD"
...
parts of this file.
2000-06-27 05:14:31 +00:00
kleink
b24866edab
Be less invasive and use private names for exact-width integer types.
2000-06-27 05:00:26 +00:00
kleink
47b5c5e3b1
Resolve some formatting nits; add __intptr_t and __uintptr_t.
2000-06-27 04:58:51 +00:00
mrg
e185413725
remove redudant <vm/pmap.h> includes. <vm/pmap.h> -> <uvm/uvm_pmap.h>
2000-06-27 04:18:48 +00:00
bjh21
ecfb72bbee
Make cpu_coredump return ENOSYS rather than panicking.
2000-06-26 22:36:33 +00:00
christos
86d457164d
add an MNT_IGNORE flag as a hint to df not to list the filesystem by default.
2000-06-26 21:10:34 +00:00
pk
e2b1b6cd42
Split si & sw drivers.
2000-06-26 19:54:08 +00:00
thorpej
69a6fe113c
Garbage-collect CHIP_PHYSADDR().
2000-06-26 19:46:24 +00:00
pk
7d89e9904d
We want prom_claim_phys() to return the address passed into it.
2000-06-26 19:45:54 +00:00
pk
9b1e1aeb66
prom_claim_phys: it appears one result argument too many was specified.
...
Now we can return the actual result of the call rather than merely
reflecting the input.
2000-06-26 19:41:20 +00:00
fvdl
4cc6a62a33
Remove debugging code that wasn't supposed to be in the commit of version 1.55
2000-06-26 19:38:14 +00:00
pk
ff54ba628e
prom_claim_phys: set `align' parameter to 0 (meaning: get the chunk at the
...
specified address).
2000-06-26 19:36:07 +00:00
thorpej
cc9dfe871b
Do the previously slightly differently, to avoid confusing the internal
...
space extent maps. Pointed out by msaitoh@netbsd.org . (Someone should
send me an EV6 machine!)
2000-06-26 18:19:26 +00:00
mrg
6b5536f253
restore a dropped #ifdef _KERNEL
2000-06-26 17:18:40 +00:00
kleink
fafdb20b11
Add brief descriptions to the types provided.
2000-06-26 17:11:32 +00:00