Commit Graph

44252 Commits

Author SHA1 Message Date
nathanw 54caa65cf6 Correct the ri_xorigin calculation for the RI_CENTER case again.
Original calculation (bits += (ri_stride - ri_emustride) / 2) was
incorrect because stride may be wider than visible width.

Fix in 1.33 (bits += (ri_width - ri_emustride) / 2) was incorrect
because units do not match; "bits" and "ri_emustride" are in bytes,
but "width" is in pels. Works by accident for 8bpp displays.

Change to bits += ((ri_width * bpp / 8) - ri_emustride) / 2
to correctly account for visible width and bpp.
2001-02-12 04:33:36 +00:00
hpeyerl 2dcf59c673 Fix for kern/12114 and kern/12158 Advansys DMA errors.
Reported by Bob Bernstein who heard from Kenneth Westerback that this
might be the problem.  Tested by HP.
2001-02-11 23:40:03 +00:00
jhawk 35483d9169 alphabetize db_command tables 2001-02-11 21:12:24 +00:00
manu 16bc5b4004 Moved the fix for negative errno returned to userland on the PowerPC to a
more machine independent fashion
2001-02-11 20:24:49 +00:00
nathanw 65321bff54 Make tga_rop_vtov deal with copies of <256 byte granularity, necessary
for proper console text handling (especially in-line insertion) on
8-bit displays.

From Christian Groessler <cpg@aladdin.de>.
Tested on 32-bit TGA by me.
2001-02-11 19:34:58 +00:00
ragge 4e155d4593 Check page reference in pmap_clear_reference(). Fixes vax hang problem
with ubc, tested by Chuck Silvers.
2001-02-11 19:25:55 +00:00
chs 2ff77ab154 fix REALBASEMEM/REALEXTMEM and defopt them while we're at it. from jason. 2001-02-11 19:03:47 +00:00
bouyer 0653304779 Avoid sending new commands to the device if it has sense pending:
- run request sense command without disconnect
- don't restart the script before siop_scsicmd_end has been called if the
  cmd didn't complete with good status.
- reserve slot 0 for request sense, to make sure it'll be sent first.
2001-02-11 18:04:49 +00:00
tsutsui 1e70b3b673 Add a missing colon in comment. 2001-02-11 17:56:43 +00:00
tsutsui 90fc74c95b space/tab cosmetics 2001-02-11 17:49:08 +00:00
bjh21 a4e55e0f13 Shared ARM ptrace(2) implementation. Mostly the same as the arm32
version, but with some #ifdefs for arm26.

Also, don't define PT_STEP, since we don't implement it.  This should
reduce code size a little.
2001-02-11 17:03:04 +00:00
pk 203c10194b Supply a kernel link script that puts `etext' at the end of all
read-only sections. Modelled after a similar change in the i386 port.
2001-02-11 16:16:58 +00:00
ad b0eba3a40d Match an upcoming product. 2001-02-11 15:37:13 +00:00
ad 65f7a36374 Regen. 2001-02-11 15:33:53 +00:00
ad 853ce24872 Add another 3ware product. 2001-02-11 15:33:25 +00:00
bjh21 9826a76781 Common <arm/reg.h> (and hence common struct reg) for ARM.
This is theoretically backward-incompatible on arm26, but GDB doesn't work there
yet anyway.
2001-02-11 14:51:55 +00:00
bjh21 60af6ce7ca Don't trust function return to restore IRQ disable flag, since it won't
in APCS-32.
2001-02-11 14:46:11 +00:00
mycroft d3f45f8053 Update to the current state of the world. 2001-02-11 10:40:51 +00:00
is 15d041fe54 Be a bit more helpful in the error case. 2001-02-11 09:54:48 +00:00
itojun f99a50f858 protect router list management by splsoftnet properly. sync with kame 2001-02-11 07:12:01 +00:00
itojun 1bc6ca28a1 make sure to clean ln_byhint on reachability confirmation. 2001-02-11 07:00:03 +00:00
itojun 1442c06fae wrap kernel-only #define (kame cross-bsd portability) into _KERNEL. 2001-02-11 06:50:59 +00:00
itojun bc5a6e2482 pull latest kame pcbnotify code. synchronizes ICMPv6 path mtu discovery
behavior with other protocols (i.e. validation, use of hiwat/lowat).
2001-02-11 06:49:49 +00:00
itojun 52e23efa5f make sure we call tcp_output() only if we have template. 2001-02-11 06:39:35 +00:00
itojun 02bc628319 add pfctlinput2() (pfctlinput() with args). 2001-02-11 06:38:45 +00:00
ichiro 175f4c6b75 regen 2001-02-11 05:49:42 +00:00
ichiro 2ea023a03f add vendor/product id
CASIO label writer for USB
2001-02-11 05:49:20 +00:00
itojun 2390806e17 whitespace sync with kame 2001-02-11 05:25:04 +00:00
itojun 5318e0ee0f remove #ifdef __FreeBSD__. 2001-02-11 05:24:21 +00:00
itojun 37bb4bf58b set frag6_doing_reass properly (for frag6_drain). sync with kame. 2001-02-11 05:05:27 +00:00
itojun 7781d63a92 recover $NetBSD$ (removed by mistake) 2001-02-11 04:53:49 +00:00
itojun 9a9c998cc7 add missing IFAFREE() in error recovery case. 2001-02-11 04:29:30 +00:00
ichiro 2ddca54f69 add wavelan card
corega PCCA-11
NEC CMZ-RT-WP
NTT-ME SS-LAN
2001-02-11 03:29:59 +00:00
ichiro 2fdf447129 regen 2001-02-11 03:28:16 +00:00
ichiro ad06ea6353 typo 2001-02-11 03:27:49 +00:00
eeh 4589ac3292 When recycling a vm_map, resize it to the new process address space limits. 2001-02-11 01:34:23 +00:00
eeh 52af2be8e9 Add COMPAT_SVR4_32 entries. 2001-02-11 01:29:43 +00:00
eeh 24defd04da Rename the tablet line discipline "tablet". 2001-02-11 01:28:47 +00:00
eeh fb46d1eed4 Export bits needed by COMPAT_SVR4_32. 2001-02-11 01:16:42 +00:00
eeh c2a7dae9d2 Fix getuid() and getgid() to work like the Solaris ones. 2001-02-11 01:14:25 +00:00
eeh 7fd4c88055 Fix getuid() and getgid() calls to return both e[ug]id and r[ug]id. 2001-02-11 01:13:01 +00:00
eeh 82ca5fba5b Fixes to get dynamic binaries working. 2001-02-11 01:10:24 +00:00
enami 6b949f72fb Unlock the rename target vnode after sillyrename'ing it. 2001-02-11 01:09:04 +00:00
eeh c269f4f002 Add COMPAT_SVR4_32. 2001-02-11 01:00:51 +00:00
eeh d8405328df Add support for COMPAT_SVR4_32. 2001-02-11 00:39:37 +00:00
eeh 750052a46f Remove things that are defined in elf_machdep.h now. 2001-02-11 00:37:22 +00:00
eeh 96bf37a78f Save the machine model string in case someone needs it (like slowlaris). 2001-02-11 00:27:06 +00:00
eeh 6e928d620b Add some new gunk Sun uses. 2001-02-11 00:18:49 +00:00
eeh 1ac34a6a98 A register is 64-bits unless we're emulating 32-bit. 2001-02-11 00:17:03 +00:00
eeh 945c9cac5f Increase limits slightly. We're still not using all 32 address bits yet,
let alone 64.....
2001-02-11 00:09:45 +00:00