Commit Graph

24994 Commits

Author SHA1 Message Date
pk 5e3bbeb1e1 Fix a case of duplicate allocation in extent_alloc_subregion() triggered
by specifying a start address that happens to be beyond all currently
regions.
1998-09-01 17:57:44 +00:00
tsubai 8159431e7e Make disklabel writable even if no disklabel exists. 1998-09-01 17:42:59 +00:00
tsubai 2c6eefb899 Add some prototypes. 1998-09-01 17:33:04 +00:00
tsubai 3a8ad815c4 Add some prototypes. 1998-09-01 16:35:50 +00:00
minoura e97803df25 Typo. 1998-09-01 15:05:21 +00:00
tsubai d5a3d4b4b7 Don't set RTC time before reading it. 1998-09-01 13:07:23 +00:00
sakamoto 64b0761e4d Include bsd.subdir.mk instead of bsd.prog.mk. 1998-09-01 08:43:48 +00:00
mycroft b742b9ad67 Move some debugging output to more useful levels. 1998-09-01 07:27:06 +00:00
enami 29e9385ce2 Make this file compile again by removing no longer used `struct
cfdriver md_cd' and related code.
1998-09-01 06:13:33 +00:00
sakamoto 67d65cd631 Sync with i386/include/bus.h. 1998-09-01 05:57:23 +00:00
sakamoto 0bbf57d7ec Eliminate ovbcopy define. 1998-09-01 05:55:14 +00:00
thorpej 51257c6e4a Bump version to 1.3H. Several things, including some items that can
be built as LKMs, are now supposed to use the pool allocator to allocate
certain data structures.
1998-09-01 05:20:39 +00:00
thorpej 77ecf8273e Use the pool allocator and "nointr" pool page allocator for name cache entries.
The only benefit this provides is that we don't use kmem_map to map the memory
used for name cache entries (though, this is a 13 virtual page savings on my
PPro) since vnodes are never freed (they have their own freelist).
1998-09-01 04:33:56 +00:00
thorpej 0ff273aad2 Use the pool allocator and the "nointr" pool page allocator for
filecore nodes.
1998-09-01 04:09:30 +00:00
thorpej ed45bc1661 Use the pool allocator and the "nointr" pool page allocator for msdosfs
denodes.
1998-09-01 04:04:10 +00:00
thorpej cf6b3d3ec9 Use the pool allocator and the "nointr" pool page allocator for cd9660 nodes. 1998-09-01 03:40:19 +00:00
thorpej d0bcffb9a3 Use the pool allocator and the "nointr" pool page allocator for adosfs nodes. 1998-09-01 03:33:26 +00:00
thorpej 38cf17f475 Use the pool allocator and the "nointr" pool page allocator for LFS inodes. 1998-09-01 03:26:05 +00:00
thorpej 3ae149efac Use the pool allocator and "nointr" pool page allocator for ext2fs inodes. 1998-09-01 03:20:46 +00:00
thorpej 9a3664eccf Use the pool allocator and the "nointr" pool page allocator for NFS nodes
and vattr structures.
1998-09-01 03:11:36 +00:00
thorpej 60cfe320cc Use the pool allocator and the "nointr" pool page allocator for FFS inodes.
XXX MFS also comes in here for inodes, and used a different malloc type,
but the structure is the same, so we just use the FFS inode pool.
1998-09-01 03:11:08 +00:00
thorpej 830ea34819 Use the pool allocator and "nointr" pool page allocator for vnodes. The
only benefit this provides is that we don't use kmem_map to map the memory
used for vnodes (though, this is a 30 virtual page savings on my PPro)
since vnodes are never freed (they have their own freelist).
1998-09-01 03:09:14 +00:00
mhitch 7a359022d9 Re-enable mfc and msc serial drivers. Both compile, but only mfc is
currently known to work [I can't test the msc changes].
Add commented-out UVM option (until UVM is standard).
1998-09-01 02:40:36 +00:00
mhitch 1d7e0301d3 Quick fix for TS_WOPEN -> t_wopen change. Compiles, but I can't verify
that it actually works again.
1998-09-01 02:33:32 +00:00
mhitch b741e97082 Quick fix for TS_WOPEN -> t_wopen change. Compiles and works. 1998-09-01 02:30:29 +00:00
mark 0c11c52fc1 Added csc device. 1998-09-01 02:28:04 +00:00
mark 1c13966ceb Add csc device and scsibus attachment. 1998-09-01 02:27:21 +00:00
mark edb737d09d Initial commit of a Cumana SCSI II driver using the sfas chip driver. 1998-09-01 02:24:11 +00:00
mrg 478a07de87 generate dependancies from genassym.cf 1998-09-01 01:48:21 +00:00
thorpej 8a1009afd9 Use the pool allocator and the "nointr" pool page allocator for rusage
structures.
1998-09-01 01:02:33 +00:00
thorpej ad5e377513 Use the pool allocator and the "nointr" pool page allocator for tty
structures.
1998-09-01 00:23:28 +00:00
thorpej 3f8397855e Use the pool allocator and the "nointr" pool page allocator for pgrp
structures.
1998-09-01 00:08:44 +00:00
thorpej 26b8f5c4ac Use the pool allocator and "nointr" pool page allocator for file structures. 1998-08-31 23:55:37 +00:00
jtk 663e79e90a add 32-bit register support and beginnings of APM V1.2 support 1998-08-31 23:54:32 +00:00
jtk 6ab2c0f7d4 config file for BIOSCALL assym.h 1998-08-31 23:53:30 +00:00
thorpej a8f7175524 Use the pool allocator and "nointr" pool page allocator for pcred and
plimit structures.
1998-08-31 23:53:19 +00:00
jtk a5026bf4e2 regen 1998-08-31 23:52:58 +00:00
jtk 10ec6359b5 add 32-bit register support to BIOSCALL interface 1998-08-31 23:52:40 +00:00
thorpej 4dc0e91e12 Use the pool allocator and "nointr" pool page allocator for pcred and
plimit structures.
1998-08-31 23:20:16 +00:00
cgd 096cda5a50 the cfdriver's cd_lossage_prevention field is no longer necessary, since
config automatically generates cfdriver structs (for better or worse).
1998-08-31 23:05:52 +00:00
cgd d58173741d kill the last remnants of __BROKEN_INDIRECT_CONFIG. (only the pica port
used it, and it's non-working and apparently slated for replacement.)
1998-08-31 22:28:04 +00:00
dbj e07f44da4d Fixed typo in printf bitfields for intrstat register. 1998-08-31 21:21:10 +00:00
pk 779f357ede Implement cache alignment in bus_dmamem_load(). 1998-08-31 20:00:22 +00:00
ragge 58831dae59 Bug fixes and improvements. By Roar Thronæs and myself. 1998-08-31 19:20:24 +00:00
frueauf 56c79255db Fix typo: dbaddr_t -> db_addr_t. 1998-08-31 19:20:17 +00:00
ragge 25f04a8abb Support for all 4 console lines on KA820. Support for this written
by Sergey Svishchev (svs@ropnet.ru).
1998-08-31 18:43:28 +00:00
thorpej 29a84ea0ac UVM+PMAP_NEW is standard now; don't need it in individual config files. 1998-08-31 17:58:44 +00:00
thorpej 4e705c4d21 Switch the i386 port to UVM+PMAP_NEW. 1998-08-31 17:55:26 +00:00
dante d35b531a68 Remove __BROKEN_INDIRECT_CONFIG
Correct currently known boards
1998-08-31 17:15:25 +00:00
tsubai b9a44d6b63 vm_offset_t --> [pv]addr_t 1998-08-31 14:43:39 +00:00
tsubai 378fc0778a Change db_expr_t from int to long like other ports. 1998-08-31 14:16:48 +00:00
pk 5038a72078 A few modest simplifications. 1998-08-31 11:13:54 +00:00
pk 860867bfec macro argument protection. 1998-08-31 11:13:10 +00:00
mrg 1fe0874746 use genassym.sh/.cf rather then the C program. 1998-08-31 06:52:18 +00:00
thorpej 667635aebb Add (commented out for now) UVM/PMAP_NEW, enable KMEMSTATS, comment
out the PHY drivers.
1998-08-31 03:54:33 +00:00
mrg 69f13c5156 minor KNF nit 1998-08-31 02:47:00 +00:00
mrg a2dad2e1a3 err, add sparc32_exec here. must forgot it. 1998-08-31 02:46:22 +00:00
thorpej 38e7a08bed Allocate vm_anon arrays from kernel_map, not via MALLOC(). Helps relieve
much of UVM's kmem_map usage.
1998-08-31 02:43:14 +00:00
mark 0e533ae4c7 Use IPL_AUDIO for the interrupt priority.
KNF.
1998-08-31 02:36:11 +00:00
mark bd75906989 Use IPL_AUDIO for the interrupt priority.
Cleaned up some comments and removed several un-necessary includes.
1998-08-31 02:35:31 +00:00
mark 47364b0c91 Use IPL_AUDIO for the interrupt priority. 1998-08-31 02:34:36 +00:00
thorpej d865961d77 Back out previous; I should have instrumented the benefit of this one
first.
1998-08-31 01:54:14 +00:00
thorpej 7338d4e403 Use the pool allocator and the "nointr" pool page allocator for vm_map's. 1998-08-31 01:50:08 +00:00
thorpej be8d09cda3 Use the pool allocator and the "nointr" pool page allocator for dynamically
allocated vm_map_entry's.
1998-08-31 01:10:15 +00:00
thorpej 99626224a7 Use the pool allocator and the "nointr" pool page allocator for vmspace
structures.
1998-08-31 00:20:26 +00:00
mark cdaa8d9c45 Further improvements to init_arm(). Use map_chunk() to map a number of
areas of the kernel including the text, data and bss.
1998-08-31 00:11:18 +00:00
mark 80d8aa6034 Remove a couple of redundant lines. 1998-08-31 00:08:11 +00:00
thorpej 694e9583aa Make sure the aobj_pager gets initialized! 1998-08-31 00:03:02 +00:00
thorpej 5a4981d9b8 Use the pool allocator w/ the "nointr" pool page allocator for uvm_aobj
and uao_swhash_elt structures.  Also, fix a bug in uao_set_swlot() where
if setting the swslot to 0 (freeing swap resources), and no swslot was
currently allocated, a new entry would be allocated anyhow (revealed during
pool'ification).
1998-08-31 00:01:59 +00:00
cgd 5fa7eee1ff don't define __BUS_SPACE_COMPAT_OLDDEFS by default. As stated in
bus_space(9), if drivers want it (they shouldn't; easy to convert) they
can define it right before including bus.h.  There's been a release since
the interfaces were (slightly) changed, and no code in the source tree
uses the old interfaces as far as I can tell.
1998-08-30 23:40:14 +00:00
cgd 3110e22945 use current bus_space interface names for barrier ops 1998-08-30 23:29:10 +00:00
mark c4ae202098 Further improvements to init_arm(). Use map_chunk() to map a number of
areas of the kernel include the text, data and bss.
1998-08-30 23:19:37 +00:00
mark 45faa60d85 Added a new function map_chunk() used during init_arm() when setting up
the kernel page tables. map_chunk() replaces running a loop, calling
map_entry() and in addition where possible it will use L1 section mappings
or L2 large page mappings instead of L2 small page mappings in order to
reduce the TLB entried needed for the kernel.
1998-08-30 23:17:44 +00:00
mark 82661d453d Define new PTE construction macros for L2 large small pages and L1
sections and define some of the other macros using the new ones.
Add more comments for various definitions in the file.
1998-08-30 23:15:14 +00:00
pk 4dbdab4423 Erase sparc_nam2blk[]. 1998-08-30 21:54:25 +00:00
pk 88ab783b42 Define floppy device major number. 1998-08-30 21:53:35 +00:00
pk a902b8201a Declare `devnametobdevmaj' table emitted by config(8). 1998-08-30 21:34:55 +00:00
pk fc313d9031 Nuke old getprop() function and put its successor in place. 1998-08-30 21:30:41 +00:00
pk 400208c8b7 getpropA() => getprop() 1998-08-30 21:27:32 +00:00
pk 6f2539f8a6 getpropA() => getprop(). 1998-08-30 21:26:46 +00:00
pk 98e669d970 Use sbus attach args features.
getpropA() => getprop()
1998-08-30 21:25:30 +00:00
scottr b950031b83 Fix a few comment tyops, kill an inaccurate comment, and
do some minor KNFing.
1998-08-30 20:30:57 +00:00
eeh 26d2d906c7 Some more 64-bit cleanup. Now everything compiles. 1998-08-30 15:32:16 +00:00
drochner 3af18e2765 add missing label 1998-08-30 12:32:48 +00:00
lukem cdf68a7fa3 a minor hack i've had locally for ages: if PCVT_CAPS_IS_CTRL is
defined, make the capslock key act like another control key.
1998-08-30 09:59:47 +00:00
enami 27d8639238 Make this compile with -DIFMEDIA_DEBUG. 1998-08-30 07:39:39 +00:00
enami 47e906e5d9 As a temporary work around to make kernel links again, protect
renaming of quad type library only when !__NetBSD__ && sun && __svr4__.
XXX. Probably need to check __GNUC_MINOR__.
1998-08-30 05:29:39 +00:00
enami 71ba20edbb Define `len' as size_t rather than int so that correct type is passed
as fourth argument of copystr.
1998-08-30 03:08:43 +00:00
eeh acbd410040 Some more 64-bit ification and I think I finally fixed the vref() panic. 1998-08-30 02:12:02 +00:00
rvb 7e0aabe421 Remove v_type != DIR check. First, vn_readdir already does
this check, before calling VOP_READDIR.  Second, vn_readdir
returns a different error even.  Finally, some FS's might
want to write their directories into files that look like
BSD directories and then have ufs_readdir parse them.
1998-08-30 00:16:04 +00:00
jtk 61cf67759a make AUDIO_DEBUG work again 1998-08-29 22:49:48 +00:00
pk 110e8db6b0 Define LSI64854. 1998-08-29 21:52:54 +00:00
pk fe6b9295a8 Adjust for some small changes in lsi64854 back-end driver. 1998-08-29 21:43:00 +00:00
pk 73b946e04e LSI64854 DMA engine driver.
Currently used by Lance Ethernet and NCR SCSI front-ends on sparc/sparc64.
1998-08-29 21:42:03 +00:00
rvb 2eec68d743 Very Preliminary Coda 1998-08-29 21:26:45 +00:00
pk 0a30d383a0 Sbus `esp' and `le' front-ends now attach in `sys/dev/sbus/files.sbus'. 1998-08-29 20:53:11 +00:00
pk e4091cb757 Split `esp' driver and DMA engine into separate front-end files.
The Sbus front-ends have all been moved to `sys/dev/sbus', while
the `obio' front-ends remain here.
1998-08-29 20:49:35 +00:00
pk 1f0567dd53 Nuke unnecessary header files. 1998-08-29 20:38:38 +00:00
pk 3557f62f30 Use bus_space_*() to access device registers.
Add `esp' and `le' DMA engine.
1998-08-29 20:32:09 +00:00
pk 15d097c04d Make compile without AUDIO_DEBUG 1998-08-29 19:52:09 +00:00