kent
0b153da394
_bus_dmamem_unmap():
...
Sets the specified pages cacheable again because _bus_dmamem_map() might
change them uncacheable.
The code was provided by Dhoyashiki-san in kern/19919.
2003-01-28 08:46:53 +00:00
mrg
a9119e2a88
make this build on alpha after daddr_t->64bit
2003-01-28 08:34:17 +00:00
mrg
ab09fc008e
make this build on alpha after daddr_t->64bit
2003-01-28 08:22:08 +00:00
mrg
a1f69dd514
make this build on alpha after daddr_t->64bit
2003-01-28 07:44:54 +00:00
mrg
cf9ff87a3a
make this build on alpha after daddr_t->64bit
2003-01-28 05:17:12 +00:00
nathanw
892c25bc38
Fix proc_representative_lwp(); a closing brace was in the wrong place,
...
which means it would return the first non-dead LWP.
Pointed out by Stephan Uphoff.
2003-01-28 02:20:35 +00:00
kent
e45b3e7121
Apply BUS_DMA_NOCACHE for the buffers in the case of 440MX. The
...
code was provided by DHOYASHIKI Shinichi in kern/19919, and
address kern/19435.
2003-01-28 02:09:34 +00:00
mrg
fe5e3928eb
include <stdlib.h> for alloca() prototype.
2003-01-28 01:43:34 +00:00
kent
cd7d9faeaf
Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.
2003-01-28 01:07:51 +00:00
thorpej
2dcac9e4eb
Make the generated .S files depend on ${.CURDIR}/sys/Makefile.inc.
2003-01-28 00:33:23 +00:00
ad
6bae70db81
Also save status info in the user command packet.
2003-01-27 23:31:19 +00:00
yamt
e41d3a6f1c
make these compilable with lfs debug options.
...
(follow daddr_t change)
XXX maybe segment number should be 64bit.
2003-01-27 23:17:56 +00:00
pk
5e14aa69a8
There's a locking order issue with the scheduler and the callwheel locks
...
as ltsleep() may call callout_reset() with the scheduler lock held.
So, prevent interrupts that may take the scheduler lock while holding
the callwheel lock.
2003-01-27 22:38:24 +00:00
thorpej
ac44af9a88
Add the "ataraid" pseudo-device and the "ld" instances that attach
...
to it.
2003-01-27 22:31:12 +00:00
pk
ac1bea60c1
amap_copy: remove stray amap_unlock().
2003-01-27 22:14:48 +00:00
kleink
865868a8b1
Further printf format fixes in the wake of daddr_t.
...
Note that PRI?64 and long long int arguments aren't made for each other,
nor are %lld and int64_t arguments.
2003-01-27 21:45:52 +00:00
bouyer
a1f27a3f79
Bump WDCC_IDENTIFY timeout to 3 seconds, as required by some drives.
...
Reported by Karl Janmar <karlj@mdstud.chalmers.se> on tech-kern.
2003-01-27 21:27:52 +00:00
jdc
4cfb7a60e7
Libcurses minor version increment (from 5 to 6).
2003-01-27 21:15:55 +00:00
jdc
6e91e33032
Increment the minor version (from 5 to 6) for the addition of
...
can_change_color() and no_color_video().
Add a note of things to change when the major version is incremented.
2003-01-27 21:14:33 +00:00
jdc
ec51d5cc4b
Change the way we calculate conflicts when turning off attributes.
...
We now check the termcap entries for "\E[m" or "\E[0m" or a longer
"\E[ ... m" sequence containing a "0".
2003-01-27 21:12:29 +00:00
jdc
8ca56fe956
Check for conflict between colour and other attributes. The previous
...
checks when adding attributes could be inadequate if background colours
were later added to a window.
2003-01-27 21:11:12 +00:00
jdc
2d83114a86
ARemove (no longer used) __nca.
2003-01-27 21:09:20 +00:00
jdc
e46d737f27
Add can_change_color() and no_color_video().
2003-01-27 21:08:09 +00:00
jdc
a3ce96fb84
Rename can_change_colors() to can_change_color().
...
Add can_change_colors() (that just calls can_change_color()).
Add no_color_video().
Replace __nca with _cursesi_screen->nca.
2003-01-27 21:06:16 +00:00
jdc
f62975e655
Remove check for attribute/colour conflict.
...
This is now handled in refresh.c as it's not possible to handle the
conflict with background colour here.
2003-01-27 21:04:10 +00:00
jdc
1482f4ac4b
Rename can_change_colors() to can_change_color().
...
Add no_color_video().
2003-01-27 21:03:04 +00:00
nathanw
6505a5330c
Add debug counters for mutex and condvar operations.
2003-01-27 21:01:00 +00:00
nathanw
05a755440a
Add cancellation stubs for accept() and connect().
2003-01-27 20:57:41 +00:00
fvdl
161423ddca
Reset in_reclen and in_received after having received a full record in
...
the nonblocking case.
2003-01-27 20:56:45 +00:00
nathanw
c316063660
Move accept and connect stubs to WEAKASM so that they can be overridden.
2003-01-27 20:55:56 +00:00
nathanw
ee45767b84
printf format fixes.
2003-01-27 20:54:26 +00:00
nathanw
01ca174f62
Call exit_lwps() from exit1() if there is more than one LWP (as
...
recorded by p_nlwps) *or* if the process was a SA process. Since
cached SA LWPs aren't counted in p_nlwps, it was possible for
them to not be cleaned up and remain on the alllwp list, pointing to a
dead proc.
2003-01-27 20:30:32 +00:00
thorpej
4155034751
G/C something left over from an earlier version of this code.
2003-01-27 20:18:11 +00:00
jdc
a5caee4812
Add missing 'NC' (no color video) entry.
2003-01-27 19:50:20 +00:00
jmcneill
182716ac88
Attach to PNP0F03 -- makes the PS/2 mouse on this Dell work.
2003-01-27 19:18:46 +00:00
bouyer
0e0c2ae01d
Remove revision in quirk entry for TOSHIBA XM-4101TASUNSLCD. The same drive with a newer revision also fails, so assume all revisions are bad until proven otherwise. Should fix PR kern/19912.
2003-01-27 18:55:24 +00:00
thorpej
3381232270
Experimental support for RAID volumes configured by ATA "RAID" controllers.
...
Such RAID controllers are actually just IDE controllers with a BIOS that
can create RAID volumes and write the configuration info to config blocks
on the disks. The BIOS can do I/O to these volumes, and the OS must
understand the config blocks and implement RAID in software in order to be
able to use these volumes.
Only SPAN (simple concatenation) and RAID0 are supported at this time,
and writing back config blocks is also not supported at this time. Currently,
only the Promise configuration scheme is supported, although supporting
the Highpoint scheme should not be too difficult.
In any case, this is sufficient to use the Promise RAID0 volume (thus
preserving the win2k AS installation) on this new Intel server I have.
Thanks to Soren Schmidt for doing the work in FreeBSD; it made this
task much easier. The config block parsing code is adapted from his
work.
2003-01-27 18:21:23 +00:00
thorpej
9a1f475221
Add ADI_BRH, IXM1200, and SMDK2800 kernel sets.
2003-01-27 16:13:27 +00:00
tsutsui
fbe7c30306
Remove trailing whitespace.
2003-01-27 15:33:36 +00:00
tsutsui
934e3c5a47
Set a value for MISCOUT register correctly in vga_setup_regs().
2003-01-27 15:27:44 +00:00
tsutsui
289b9289f3
const'ify.
2003-01-27 15:22:47 +00:00
tsutsui
89b4d6221e
- Replace some magic numbers with proper macro.
...
- Use vga_6845_{read,write}() defined in pcdisplayvar.h and
remove vga_crtc_{read,write}() macros in vgareg.h.
2003-01-27 15:16:10 +00:00
christos
449f3dd270
public domain grep moved.
2003-01-27 14:54:39 +00:00
tsutsui
862013bb51
- Use u_int8_t instead of char for register structure.
...
- Define MC6845_NREGS like vgareg.h.
2003-01-27 14:53:33 +00:00
martin
25d624c843
Remove #if 0'd pmap_zero_page and pmap_copy_page, which are now
...
implemented in assembler in locore.s.
2003-01-27 14:53:08 +00:00
martin
309ada6129
Remove unused function pseg_find (which looked quite similar to
...
pseg_get anyway).
2003-01-27 14:51:30 +00:00
tsutsui
a8c7515f5f
KNF and space/TAB cleanup.
2003-01-27 14:46:10 +00:00
toshii
1e6d7bcb87
Use PRId64 for daddr_t in a DPRINTF.
2003-01-27 13:06:38 +00:00
christos
66b9125762
- use FD_CLOEXEC properly
...
- move ttyfd to a high fd
suggested by Tim Robbins at FreeBSD.
2003-01-27 12:54:08 +00:00
bouyer
0cb4c95848
Ops, initialise len before using it.
...
Also, the minimum frame len is ETHER_MIN_LEN - ETHER_CRC_LEN.
2003-01-27 10:35:08 +00:00