Commit Graph

38912 Commits

Author SHA1 Message Date
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
mrg acdc45ce9a install uvm_param.h. 2000-06-26 17:01:34 +00:00
kleink 034f24247e Provide local definitions of mode_t and off_t, thus eliminating the need
for an application to include <sys/types.h> first.
2000-06-26 16:54:38 +00:00
kleink b6d4c4d3a9 Define mode_t via __mode_t. 2000-06-26 16:53:47 +00:00
kleink 848fb35eed Define __mode_t. 2000-06-26 16:53:20 +00:00
kleink 65c9edb442 Define sa_family_t, and use it for siso_family. 2000-06-26 16:20:01 +00:00
kleink 2fe502bf16 Define sa_family_t, and use it for seon_family. 2000-06-26 16:18:36 +00:00
kleink c6f339dc4e Define sa_family_t, and use it for sat_family. 2000-06-26 16:16:42 +00:00
kleink 5de786e04a Define sa_family_t and use it for sdl_family. 2000-06-26 15:59:20 +00:00