Commit Graph

48898 Commits

Author SHA1 Message Date
itojun e3d077542f cosmetic (spacing near /* */). sync with kame 2001-08-05 22:20:44 +00:00
eeh 140e9e72dd Add support for non-faulting loads and optimize MMU miss handling paths. 2001-08-05 18:32:30 +00:00
jdolecek 74954dadf9 use unsigned variable types as appropriate 2001-08-05 18:07:51 +00:00
lukem e2f9740f5b add arch/${MACHINE_CPU}/${MACHINE_CPU} for the arm ports 2001-08-05 13:41:50 +00:00
chris 9522cf08d4 Share procfs_machdep.c across arm. 2001-08-05 13:09:45 +00:00
jdolecek 57a49a2de0 introduce hard limit on maximum font size (WSDISPLAY_MAXFONTSZ - 512KB)
and keymap size (WSKBDIO_MAXMAPLEN - 64KB)
2001-08-05 11:26:52 +00:00
jdolecek 8070356a9f bound check the vi.in_size in venus_ioctl() 2001-08-05 11:22:33 +00:00
jdolecek 539f3bcc23 change ccio_ndisks and sc_nccdisks of struct ccd_ioctl from int to u_int
introduce hard limit on number of disks which can be contcatenated togetger,
CCD_MAXNDISKS
2001-08-05 11:20:13 +00:00
jdolecek 47849859a8 Don't allow the size of active diagnostics parameter be bigger than
newly added I4B_ACTIVE_DIAGNOSTIC_MAXPARAMLEN (currently 64KB).
2001-08-05 11:16:56 +00:00
tsutsui 9e7c918fc2 Avoid NULL pointer dereference. 2001-08-05 11:14:21 +00:00
jdolecek 7810c0591b Allow max. MAXPHYS sized mu_datasize for user command.
Reviewed by Andrew Doran <ad@NetBSD.org>.
2001-08-05 11:11:33 +00:00
jdolecek ceb38aa743 remove unnecessary casts, make variable types consistent with the
respective wsdisplay_cmap member
no functional change, stylistic only
2001-08-05 11:09:51 +00:00
scw aac15fa001 Create the `machine' symlink before building. 2001-08-05 10:52:05 +00:00
scw 86b01af066 Make this work again for mvme147... 2001-08-05 09:45:39 +00:00
enami 256a367268 Give different names for different wait channels.
# and minor knf fix while I'm here.
2001-08-05 08:25:39 +00:00
tsutsui 96ca5eec53 Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE to save KVA space. 2001-08-05 06:55:02 +00:00
matt b46d7a47ab Don't substract KERNBASE, xor it to clear. The former causes GNU ld to
bitch about a signed overflow and this code is only done once, incurring
an extra instruction isn't going to matter much in the long run.
2001-08-05 06:14:22 +00:00
matt f33b1a3fd8 This is a HOST program, so make compile as one. 2001-08-05 06:10:25 +00:00
tsutsui 9651c6a654 Add PM_SR 2001-08-05 05:47:43 +00:00
matt ced3859405 print time_t as signed long. 2001-08-05 05:22:10 +00:00
matt 9509e734a3 Force size_t formats/arge to be (u_long). I'd use 'z' for this but gcc
2.95.3
2001-08-05 05:07:27 +00:00
matt c7d43df086 If = is in a constraint, it must be the first character. 2001-08-05 04:40:03 +00:00
matt cce919e025 Don't include <machine/pmap.h> and <machine/vmparam.h> if _KERNEL isn't
defined.  Include them explicitly in the few kvm_arch.c that need them.
2001-08-05 03:33:15 +00:00
mrg ca351acf50 avoid an unused variable warning 2001-08-05 03:03:16 +00:00
jdolecek fcc522e5ce It seems the fixed rate versions are actually fixed at 48 kHz, not 44.1 kHz. 2001-08-04 22:15:56 +00:00
chs 177230d1d6 implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 18:42:39 +00:00
ad 87f451b1a0 This isn't relevant any more. 2001-08-04 16:55:07 +00:00
ad 03e46dc80b Some changes from OpenBSD, and some of my own:
- More SCSI port defs.
- Nuke vtophys().
- Release resources in iop_init() upon failure.
- Don't use a message wrapper when initalising the outbound FIFO.
- A couple of field size/endian fixes.
- Just use iop_post() when we don't need special handling.
- IM_DISCARD is now pointless, since we don't queue at the driver level.
- Map data transfers from/to userspace directly.
- A few comment and stylistic changes.
2001-08-04 16:54:18 +00:00
chs 79124b95bf implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 16:26:49 +00:00
sato 0e356bc8ef fix VR4122 some unit address. 2001-08-04 14:08:46 +00:00
enami 97ceb61316 MII access routines for ASIX AX88190. 2001-08-04 11:38:57 +00:00
chs 6bc422a7ee use pmap_k* in pagemove() (ie. for buffer cache pages)
and in vmapbuf() and vunmapbuf() (since there's no VAC on this platform).
2001-08-04 07:44:52 +00:00
chs ea127ad258 use pmap_k* in pagemove(), ie. for buffer cache pages.
in vunmapbuf(), call pmap_kremove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-04 07:42:07 +00:00
chs be706f969f in vunmapbuf(), call pmap_remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-04 04:28:49 +00:00
chs f6a81a1ac7 remove the uncached idle-loop page zeroing.
(to be replaced by a version that uses the cache...)
2001-08-04 04:26:48 +00:00
chs 873e926c7b remove remaining spl calls, they're not needed.
remove some checks for impossible conditions.
in pmap_enter(), only call pmap_remove() to remove an existing mapping
if there actually is an existing mapping.

in pmap_remove_pv(), don't flush the MIPS1 cache when removing the last mapping.
this was added in rev 1.97, to avoid stale data being left in the cache
when the page is zeroed bypassing the cache in pmap_zero_page_uncached().
we've since found that bypassing the cache for idle-loop page zeroing
doesn't work very well anyway, so we don't do that anymore.
so now we can remove the extra cache-flush.
remove pmap_zero_page_uncached() while I'm thinking of it.

various other cleanup.
2001-08-04 04:25:37 +00:00
chs 843823c7c5 rewrite set_segmap_allctx() in assembly.
reduces cpu usage of sequential write()s to a file by 5%.
2001-08-04 04:06:29 +00:00
bouyer 10a5470050 Ops, forgot to commit this one:
- kill carrier detection code, it's not that usefull and give false indications
  on loaded ethernet segments
2001-08-04 02:21:24 +00:00
enami 4b5c6b86d6 Minor tweak to build kernel under a.out environment. 2001-08-04 00:54:30 +00:00
tsubai 3070e77046 Remove (#if 0'ed) m68k asm codes. 2001-08-03 23:09:42 +00:00
itojun 43383b1e36 simplify previous fix (0-length mbuf in mbuf chain). from freebsd 2001-08-03 21:11:57 +00:00
matt d21af3840d Make the directory list alphabetical again. 2001-08-03 18:28:09 +00:00
bouyer 7c292e3d22 - kill the carrier detect code. It's not usefull any more and can give
false informations on a loaded ethernet segement.
- convert to bus_dma(9) (better late than never :)
- add proper le32toh/htole32 so that it works on big-endian system (tested
  on macppc).
Close PR kern/10327.
2001-08-03 16:53:08 +00:00
ad e7021f649d Remove unnecessary test. 2001-08-03 14:10:16 +00:00
tsubai b51ccd5322 Cosmetics. 2001-08-03 12:58:38 +00:00
tsubai b1919bc716 Add bmtphy. 2001-08-03 12:56:55 +00:00
augustss cf037802c2 Add an I/O Data adapter. 2001-08-03 11:17:17 +00:00
augustss c7aac1f4ef Regen. 2001-08-03 11:16:50 +00:00
augustss 5c01e15b22 Ad an I/O Data Ethernet adapter. 2001-08-03 11:16:24 +00:00
jdolecek 58ed62e500 Constraint 'blkcnt' of lfs_markv() syscall by 64KB. Reviewed by
Konrad Schroder <perseant@NetBSD.org>.
2001-08-03 06:02:42 +00:00