Commit Graph

106233 Commits

Author SHA1 Message Date
takemura 56d35e34e6 Saved screen size (minX, maxX, minY, maxY) as well as calibration samples.
This change breaks parameter file format compatibility.
2002-12-15 09:13:21 +00:00
yamt c2484eff3b - fix memory leak.
- add more error checks.
- spaces -> tab
2002-12-15 08:38:17 +00:00
yamt ad4e5e5793 for -b, use ssize instead of segshift.
segshift is invalid for v2 filesystems.
2002-12-15 07:25:37 +00:00
fvdl 74fe783bef Avoid using a lot of kernel stack. 2002-12-15 01:56:02 +00:00
fvdl 530a60a1e0 Don't waste too much kernel stack space on (infrequent) ioctl operations,
use malloc instead for temp space.
2002-12-15 01:55:44 +00:00
manu b8a9df5e21 FIrst attempt at mach ports and rights, which are needed if we ever want
to implement messages between kernel and userland.
While we are there, cleanup some debug messages.
2002-12-15 00:40:24 +00:00
pooka a2e85e2b1c Silly me for assuming that the CT5880 cards could be identified by looking
at which ones had the Product ID CT5880. Try to get the checks right now.

Also add ES1373_8 to the list.
2002-12-14 17:52:47 +00:00
junyoung 8707cd2a36 Gracefully exit when invoked directly. Use of assert() here caused a segfault.
Address PR#11785.
2002-12-14 15:37:57 +00:00
christos cc079cff49 release the kernel lock if trace_enter fails.
XXX[1]: We need to fix all platforms that do this.
XXX[2]: x86 does not check for MPSAFE syscalls before grabbing the lock.
2002-12-14 14:52:24 +00:00
fvdl b2622c34d6 In syscall_fancy(), drop the kernel lock if trace_enter fails.
From Nick Hudson.
2002-12-14 14:40:36 +00:00
yamt a79cb6db43 - in lfs_bwrite_ext, if we're cleaner,
mark inode IN_CLEANING rather then IN_MODIFIED.
  otherwise cleaned (indirect) blocks belongs to the inode isn't written
  until next sync.
- add assertions.
2002-12-14 13:41:25 +00:00
yamt e5ea55e4ea in lfs_writefile, check v_type==VNON earlier.
to avoid null dereference with DEBUG_LFS_VERBOSE.
2002-12-14 11:54:47 +00:00
martin 304244f5d7 Avoid integer overflow in percent calculation when facing a mbuf leak.
Fixes PR bin/19381 by Michael van Elst (slightly different than suggested).
2002-12-14 11:12:24 +00:00
junyoung 16c0ce8d78 Fix comment.
De-__P().
2002-12-14 09:46:36 +00:00
junyoung 058737862e Now that gdt_compact() is gone, #if 0'ed gdt_shrink() doesn't need to be
here, either. Remove other #if 0 code as well.
2002-12-14 09:38:50 +00:00
junyoung 9e11602ee9 Remove comment which is not true any more. alpha and i386 support
R_xxx_COPY relocations.
2002-12-14 09:13:00 +00:00
tsutsui ef2ce0a66d Fix some disk entries to match MAXPARTITIONS == 16. 2002-12-14 05:28:47 +00:00
tsutsui e0481a14c5 Change type of dumpmag from u_long to u_int32_t to sync with other ports. 2002-12-14 05:23:19 +00:00
christos fa65bb7322 Add /dev/twex support. To be used with FreeBSD's 3dmd.
Initial port from Masaru OKI <oki@netbsd.org>, with KNF, memory leak fixes,
denial of service problems, and null pointer fixes from me.
2002-12-13 23:31:32 +00:00
christos 0cc4fbf335 add twe control device 2002-12-13 23:26:47 +00:00
abs cfb215a4f2 Document NOFILE 2002-12-13 22:44:09 +00:00
fredette 856e98cd30 bcopy -> memcpy, bzero -> memset 2002-12-13 20:44:44 +00:00
drochner 9ab86cb8ae do a TBIAS after modifying cache enable bits 2002-12-13 18:52:56 +00:00
drochner b36fe906bf scatter some pmap_update(pmap_kernel()) to reduce differences to other ports 2002-12-13 18:50:22 +00:00
drochner 53cb6b767d use <net/netisr_dispatch.h> 2002-12-13 18:49:35 +00:00
fvdl 8cbcf0f7a3 Remove check for 32bit-only access of the old syscall path. 2002-12-13 17:44:13 +00:00
fvdl 50683c0ce9 The fast syscall path clobbers 2 registers. Which is fine for a plain
system call, as long as the stub knows about it. However, it's bad
for sigreturn. Hence, use the old entry point for sigreturn. XXX
2002-12-13 17:43:02 +00:00
tron 6c9c8b753c Fix toolchain build problem. 2002-12-13 15:37:10 +00:00
yamt 8fe8a4ced8 save a segment write when doing checkpoint. 2002-12-13 14:40:02 +00:00
scw 173ca7d4d0 Add support for i830/i845 agp. From Shingo WATANABE (on tech-x11) and
FreeBSD, with cleanup/KNF by me.

Note: These chipsets are not well supported by the i810 driver in
NetBSD's in-tree xsrc (based on XFree86 4.2.1 at this time). However,
the driver works perfectly using bleeding-edge XFree86-current on my
Omnibook's i830MG with these agp changes.
2002-12-13 11:32:50 +00:00
jmc e627b7fefc Improve performance with disks almost 60x by redoing the callback handler to
accept ranges as well as single addresses. Still need to go through any key
areas and remove the malloc's and replace these with some sort of pooling
instead.
2002-12-13 07:47:52 +00:00
fvdl 81a877b0f1 Restore all registers at sigreturn. 2002-12-13 02:52:10 +00:00
lukem 7f7f9da211 minor delint 2002-12-13 02:36:37 +00:00
manu 530e1a6b60 Added thread_switch and some bits of Mach semaphores 2002-12-12 23:18:20 +00:00
lukem 32d2556b0c this needs <sys/types.h> 2002-12-12 23:00:37 +00:00
fvdl ac22ef18d8 Remove redundant cli/sti instructions. From Enami Tsugutomo. 2002-12-12 21:39:33 +00:00
jdolecek 300acddf8c don't allow kern.maxproc bigger than PID_MAX - PID_SKIP; the pid allocation
code in fork1() would enter endless loop if all the allowed pids are taken
by running processes
2002-12-12 20:54:58 +00:00
jdolecek d18332248c replace magic number '500' in pid allocation code with a macro PID_SKIP,
defined in <sys/proc.h> (along PID_MAX, NO_PID)
2002-12-12 20:41:45 +00:00
atatat 88df2c4818 The -u option takes an argument, so we need the corresponding : in the
getopt() string.  Does no one use uvm histories any more, or does
everyone just dump all the histories?
2002-12-12 20:03:32 +00:00
christos 61b8a488ba Add empty shells of new functions so we can keep compiling. 2002-12-12 17:42:10 +00:00
christos 09e9a5cde9 This new file is wanted by compat_darwin. 2002-12-12 17:41:53 +00:00
christos c9498dd93c add missing dependency. 2002-12-12 17:41:19 +00:00
christos ebad7fe0c2 always prototype mach message support. 2002-12-12 17:40:55 +00:00
christos 80564fa341 always compile in mach ktrace support; it is to small to bother. 2002-12-12 17:40:40 +00:00
masuda 91481144ea Now that OpenBlockS code lives in evbppc, this directory is no longer needed.
OK'd by masuda.
2002-12-12 13:54:43 +00:00
masuda edba4e9dbc Added some descriptions of OpenBlockS products just for your information. 2002-12-12 13:45:27 +00:00
masuda 8d55809f2f Description file for OpenBlockS S and R.
Those products are shipped from Plat'Home Inc.
See http://www.plathome.co.jp/
2002-12-12 12:51:37 +00:00
yamt 275b3a47a2 correct DIAGNOSTIC code for duplicated inodes in a segment and su_nbytes. 2002-12-12 12:28:13 +00:00
uebayasi 60ad876a43 `` [n1]>&n2 Duplicate standard output (or n1) _TO_ n2.'' 2002-12-12 11:50:40 +00:00
scw 6054b38a2b Use getlabeloffset() instead of LABELOFFSET. 2002-12-12 11:40:17 +00:00