augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
scottr
faabac8cce
Update video-related RBV constants to reflect reality.
1999-01-06 07:16:56 +00:00
scottr
46b2a0ebce
Add RBV monitor sense code (formerly commented out in rbv_vidstatus())
...
to the match function, and print out more detailed information when
attaching RBV video.
1999-01-06 07:08:19 +00:00
scottr
e91873be5f
G/C rbv_vidstatus() and related constant.
1999-01-06 05:54:38 +00:00
briggs
1082c49b69
Fix PR port-mac68k/6665 from Paul Goyette with some minor mods.
...
Cast values is bus_space macros to the appropriate types so we end up
with valid assembly.
1999-01-06 03:06:45 +00:00
scottr
84af636530
vm_offset_t -> {paddr_t, vaddr_t}
1998-12-22 08:47:05 +00:00
scottr
da48906a74
Update for present reality.
1998-12-22 08:25:34 +00:00
scottr
3de0336b7c
Protect a keyup event for ADBK_3 in the mouse button emulation code with
...
ALTXBUTTONS, so as to not cause trouble with some non-US English
keyboards. From SUNAGAWA Keiki, PR 6613.
1998-12-19 21:41:13 +00:00
itohy
36416d8500
Added options COMPAT_LINUX and EXEC_ELF32 as comments
...
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy
c05dadc113
Added COMPAT_LINUX support.
1998-12-15 19:36:36 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
ender
a5b3596bc4
Remember to recognize modifier key releases when the Option key is down.
...
Fixes art of PR 6444. Tested by Frederick Bruckman <fb@enteract.com>.
1998-11-28 19:42:49 +00:00
hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
ender
15f2f5d901
Take emulated button state into account before handing off mouse events.
...
Fixes part of PR 6444. Tested by Frederick Bruckman (fb@enteract.com ).
1998-11-24 08:34:37 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
perry
0c20c72cf9
(mostly) fix kernel tags support. from Frederick Bruckman in pr-6445.
1998-11-15 20:36:30 +00:00
briggs
0659054b8b
Make this compile _and_ link with DEBUG / ADB_DEBUG defined.
1998-11-14 03:20:47 +00:00
briggs
94125bb185
Allow this to compile with DEBUG defined.
1998-11-14 03:01:31 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
thorpej
49c62c4336
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
scottr
610fe40379
Only allow access to physical RAM.
1998-11-10 07:29:59 +00:00
scottr
9d3eea92f4
Add DOS partition handling, from Ken Nakata in PR 4999, with
...
only slight tweaking by me.
XXX - does not currently handle NetBSD/i386 or 386BSD/FreeBSD partitions.
1998-10-30 06:48:51 +00:00
scottr
c8546bdb7b
Enforce a lower bound of (RAW_PART + 1) on the number of partitions
...
read from the Mac partition table. From Ken Nakata in PR 4999.
1998-10-30 05:27:15 +00:00
scottr
890be8e6d7
Whoops! When looking at the return value from ptest040(), be sure
...
to handle the case of a TTx register hit.
1998-10-26 23:17:54 +00:00
ender
ab941faefb
Make the kernel compile when the ALTXBUTTONS option is set.
...
Fixes PR#6363 from Frederick Bruckman (fb@enteract.com )
1998-10-26 19:20:00 +00:00
scottr
a83dff9c40
Make it compile for MRG_ADB kernels.
1998-10-26 07:09:37 +00:00
scottr
974ff0e869
Use the <machine/asm.h> macros, and don't call code that we haven't
...
included.
1998-10-26 07:07:34 +00:00
scottr
5af0d2da90
Don't hide the ADB hardware types when we're building an MRG_ADB kernel;
...
we really do need them around, anyway.
1998-10-26 07:06:41 +00:00
ender
2055d846f9
New ADB "bus" interface:
...
o Separate ms and kbd drivers
o aed device for compatibility
o debug message cleanup in hardware direct support (from scottr)
1998-10-23 01:16:22 +00:00
scottr
5cb5f44921
Defopt ALTXBUTTONS, DISABLE_EXT_CACHE, and ZS_CONSOLE_ABORT.
1998-10-22 04:36:50 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
c01f29bdf1
Sigh, we are going to have to burn a vector for Just Sigreturn again,
...
for now, until we have a more generic {get,set}context(). Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
thorpej
d15a64c38b
Adapt to signal changes.
1998-10-01 02:53:53 +00:00
thorpej
8b220e1148
Define SYS_compat_13_sigreturn13.
1998-10-01 00:29:51 +00:00
thorpej
bcf14a99e2
Garbage collect trap #1 and trap #2 handlers; they're moved to
...
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej
1e62485c23
If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
...
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej
a11e6632a8
Pull in opt_compat_netbsd.h
1998-09-30 23:01:28 +00:00
thorpej
35d282c8d5
Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
...
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej
38084c6615
Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
...
which require special handling, e.g. sigreturn on m68k.
This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
scottr
ce9e4beacf
Simplify the asm constraints in mrg_aline_super(), in order to
...
less thoroughly confuse the compiler when used without -O. Fixes
PR 5496.
1998-09-29 05:24:08 +00:00
scottr
a965fe73b1
Add support for the TFL LAN Inc. E410/E420 PDS cards. Based on code
...
from Ken Nakata in PR 6199, which was in turn derived from code from
Haru Maruyama <h-maru @ da2.so-net.ne.jp>.
1998-09-27 14:39:11 +00:00
scottr
7c4c19c768
First pass KNF. This probably needs more work.
1998-09-22 16:01:51 +00:00
scottr
9d640ee3ad
Make this compile again, as pointed out by Paul Goyette.
1998-09-20 19:17:38 +00:00