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
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
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
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
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
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
kleink
8fb0c069dc
C++ does not permit static a data member to have the same name as its
...
class, so in a C++ environment rename the ip_opts member to Ip_opts as
observed in several other implementations; from Jon Olsson in
PR toolchain/19880.
2003-01-27 09:57:09 +00:00
martin
5070488327
More old cruft to nuke from orbit. This has been replaced by genassym.cf
...
a long time ago.
2003-01-27 09:52:27 +00:00
lonewolf
14757120f4
Fix compiler warnings after 64bit daddr_t change.
2003-01-27 04:08:45 +00:00
thorpej
8dc5018716
If the upper-layer provides a geometry, use it.
2003-01-27 02:43:30 +00:00
enami
c3d0a7a93b
uvm_page_unbusy should skip PGO_DONTCARE page; e.g., locked pgo_getpages
...
request may contain PGO_DONTCARE and nfs_getpages may unbusy them on error.
Fix is provided in PR#20028 by YAMAMOTO Takashi. (and same one is approved
by chuq while ago in private mail). It was my fault to forget to commit.
2003-01-27 02:10:20 +00:00
kleink
c8493ced3c
Appease GCC's warning after daddr_t having changed to 64 bits.
2003-01-27 01:39:36 +00:00
wiz
902dd8b54d
Undo last (not supposed to be committed).
2003-01-27 00:32:44 +00:00
wiz
b091df0ed2
regen (CANOSCAN N670U).
2003-01-27 00:31:01 +00:00
wiz
4307232850
Add CANON N670U scanner id.
2003-01-27 00:29:31 +00:00
chris
d577246bde
Regen.
2003-01-26 19:35:52 +00:00
chris
339056bf8f
Add podule id for NET100 card.
2003-01-26 19:35:04 +00:00
fvdl
f9765c27a4
Insert padding into mcontext_t to make the fp save area 16-byte aligned
...
within ucontext_t.
2003-01-26 19:34:49 +00:00
manu
7e15e89c0a
Fixed dumb bug
2003-01-26 19:32:04 +00:00
manu
ce8bd172b2
For thread creation, make the newly created thread runnable. Mach threads
...
are now functionnal again.
2003-01-26 19:02:14 +00:00
fvdl
ac0ea8f774
Rearrange the trapframe and mcontext to put the registers used for
...
argument passing to be in front, in order. Define constants for
offsets inside frames, to avoid having to redo asm code should they
change again.
2003-01-26 14:12:10 +00:00
pk
bfb9cac2fc
Release the kernel lock in upcallret() and startlwp().
2003-01-26 13:20:12 +00:00
manu
55215e5266
Remove right duplication on thread creation, which became useless now we
...
are using lwp.
Enable kill -9 to kill parent thread waiting for its child.
Use upcallret instead of child_return for the newly created lwp.
Add debug messages for thread creation.
Thread creation are still broken...
2003-01-26 12:39:32 +00:00
tsutsui
daf84696c6
More printf format cleanup to reduce casts.
2003-01-26 06:42:31 +00:00
matt
ee04df9a4d
Add support for Am79C87[45].
2003-01-26 06:25:08 +00:00
matt
5ade701481
Regen.
2003-01-26 06:21:03 +00:00
matt
b9f79bf02f
Add AMD Am79C87[45] (which use the Altima OUI).
2003-01-26 06:20:30 +00:00
tsutsui
eb506d3c00
Fix further printf format warnings for FD_DEBUG, in the wake of daddr_t
...
having changed.
2003-01-26 06:16:31 +00:00
fvdl
60f2388778
Do that funky SA thang.
2003-01-26 00:05:36 +00:00
kleink
bbb601497d
Fix further printf format warnings for DEBUG, in the wake of daddr_t
...
having changed.
2003-01-25 23:18:46 +00:00
soren
549c8ffd36
Note that the FS_ definitions are for compatibility only.
2003-01-25 23:17:38 +00:00
kleink
4e0e5333ae
Fix further printf format warnings for DEBUG, in the wake of daddr_t
...
having changed.
2003-01-25 23:00:09 +00:00
tron
5067836b9e
Use PRId64 instead of hard coding "%lld" to fix build problems under
...
LP64 ports.
2003-01-25 18:12:31 +00:00
fvdl
a138610cac
The oldblks and newblks arrays are used to store direct copies of
...
on-disk block pointers, so they should be int32_t. Error found
by Izumi Tsutsui.
2003-01-25 16:40:28 +00:00
tsutsui
61924d6eac
Use PRId64 from <machine/int_fmtio.h> in printf format for daddr_t.
...
(Eventually jazzio would be moved into MI place :-)
2003-01-25 15:43:11 +00:00
isaki
9bf4faf898
Make it compilable with 64bit daddr_t.
2003-01-25 14:13:46 +00:00
tron
63dda858c6
Fix printf() format strings problems caused by "daddr_t" change.
2003-01-25 12:50:38 +00:00
thorpej
f57bacfc63
Add a couple more Promise ATA133 controllers.
2003-01-25 04:45:24 +00:00
tsutsui
cce861a437
Make sure cache_sh[34]_op_*() functions actually inlined.
2003-01-25 04:21:01 +00:00
thorpej
f4ddf46102
Back out unintentional commit.
2003-01-25 02:12:22 +00:00
thorpej
fd5a840f3c
Add support for ADI Engineering's "Big Red Head" i80200 evaluation
...
and development board, based around their BECC companion chip. Despite
its name, the board can run in big- or little-endian mode (we currently
run only in the latter).
2003-01-25 02:00:15 +00:00
thorpej
b1b164a859
Support for ADI Engineering's Big Endian Companion Chip for the
...
Intel i80200 XScale processor. Despite its name, the BECC can
run in both big- and little-endian modes.
2003-01-25 01:57:17 +00:00
manu
82a9c6faf0
Use per process emuldata for the thread id for now, but this will change
...
shortly. This makes hello world working again.
2003-01-24 22:35:43 +00:00
fvdl
a3ff3a3038
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
...
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
manu
cb771e3c64
Make the beast build again (but it is still probably broken)
2003-01-24 21:37:01 +00:00
kleink
87f0398e29
Fix inverted test in previous. (D'oh!)
2003-01-24 21:26:08 +00:00
pk
a22484a1ea
zs_shutdown: lower IPL before sleeping. Also note the fact that the
...
effectiveness of that very tsleep() call is dubious at best.
2003-01-24 20:46:45 +00:00
jdolecek
96125fbe64
fix typo in comment, and add (perhaps redundant) note that this depends
...
on file-system CODA
2003-01-24 18:51:53 +00:00
thorpej
ae5c422a40
Regen; Tweak a Promise description.
2003-01-24 17:47:17 +00:00
thorpej
de5fb86d32
Tweak a Promise description.
2003-01-24 17:46:51 +00:00
nakayama
54e4cb1a6c
fix kernel build error, such a configs w/o kbd, ms.
...
(approved by martin)
2003-01-24 16:54:34 +00:00
thorpej
9ba98c598b
Add a pointer to p1003.1b semaphore data.
2003-01-24 16:24:44 +00:00
augustss
e06bdc7dcb
Get rid of some debug stuff.
2003-01-24 11:55:19 +00:00
augustss
d93f9bdaa1
Get rid of some old BAT nonsense.
2003-01-24 11:51:42 +00:00
thorpej
b3ffb6e4ab
* Enable Ultra133 on the NVIDIA nForce 2.
...
* Make sure to test for PCI_VENDOR_AMD before testing for any
AMD products.
2003-01-24 05:51:04 +00:00
thorpej
fdedc91f87
Regen; add some more Promise products.
2003-01-24 05:34:25 +00:00
thorpej
5a31d135b0
Add some more Promise products.
2003-01-24 05:33:12 +00:00
thorpej
b3b68a3ced
Sort the Promise entries.
2003-01-24 05:18:56 +00:00
thorpej
f6cc829138
Add support for the NVIDIA nForce ATA100 and nForce2 ATA133
...
IDE controllers, which are more-or-less compatible with the
AMD controllers.
XXX Need to determine the correct timing value for the nForce2
XXX at Ultra133, so we cap it at Ultra100, for now.
2003-01-24 04:53:13 +00:00
thorpej
34461a3ff9
Regen; add Nvidia nForce2 ATA133 IDE.
2003-01-24 03:16:08 +00:00
thorpej
8204d0458d
Add Nvidia nForce2 ATA133 IDE product ID, and shuffle some
...
Nvidia entries around a little.
2003-01-24 03:15:04 +00:00
tsarna
68d5821c1b
regen
2003-01-24 01:51:09 +00:00
tsarna
1b01d76d23
Add Griffin PowerMate
2003-01-24 01:49:22 +00:00
thorpej
0139305811
Major overhaul of this code, fixing locking protocol issues and handling
...
of semaphores at fork time.
2003-01-24 01:46:27 +00:00
thorpej
3ff1552cc5
Add "fork hooks", a'la "exec hooks" and "exit hooks" which allow
...
subsystems to do special processing to the parent and/or child at
fork time.
2003-01-24 01:42:52 +00:00
thorpej
157e66459d
Regen; reserve slots for <mqueue.h> and <sched.h> system calls.
2003-01-24 01:28:05 +00:00
thorpej
237ebf04da
Reserve slots for the p1003.1b scheduler system calls.
2003-01-24 01:27:21 +00:00
thorpej
c8c6d5ea40
Reserve slots for p1003.1b message queue calls.
2003-01-24 01:23:27 +00:00
thorpej
30427190e0
Regen; allocate slot for _ksem_timedwait().
2003-01-24 01:18:50 +00:00
thorpej
9331f2b780
Allocate a slot for _ksem_timedwait(), although it is not currently
...
implemented.
2003-01-24 01:17:53 +00:00
markd
31b8810652
Regen.
2003-01-24 00:19:40 +00:00
markd
4606c7c4e4
Add Nikon E885.
2003-01-24 00:18:26 +00:00
thorpej
77acc6e3bc
Cosmetic changes.
2003-01-23 23:52:38 +00:00
thorpej
9243a2a667
Regen; allow ktruss/kdump to properly see _ksem_*().
2003-01-23 23:31:36 +00:00
thorpej
5db6496bbc
Allow the _ksem_*() syscalls to be properly seen by ktruss/kdump.
2003-01-23 23:29:46 +00:00
matt
66a5aac4a5
Fix a missing p to l change.
2003-01-23 23:18:04 +00:00
pk
f65446d08d
When stopping a CPU, clear its bit from cpu_ready_mask.
2003-01-23 22:33:41 +00:00
jdolecek
2011a991cc
ramdisk image overflew, bump by 4K
2003-01-23 21:37:28 +00:00
jdolecek
31fcb050d5
add another memory size detection routine, using int15, function 0xc7, which
...
is supported on later IBM PS/2 models; this is necessary to detect memory
over 64MB
thanks go to Pavel Cahyna for testing on his IBM PS/2 machine with 128MB
bump biosboot version to 2.15
2003-01-23 21:22:24 +00:00
augustss
8aa76b0ae7
Add processor interface register definitions.
2003-01-23 21:17:15 +00:00
jdolecek
1323e01ddf
use %e?x instead of %?x as 'xorl' arguments
...
use %al for 'movb' target, and 'andb' for masking the result with $0x02
since 'and' conveniently sets ZF, use 'and+jnz' instead of 'and+cmp+jne'
2003-01-23 21:01:18 +00:00
pk
a6a16741fe
Optimize xcall() et.al. further by maintaining a cpuset mask of all CPUs
...
marked ready. This saves repeated testing for NULL pointers and the
CPUFLG_READY flag.
Also use a separate flag variable to signal xcall completion. This saves a
load and a pipeline stall.
2003-01-23 19:54:35 +00:00
pk
a799bdd88d
GC the per-CPU message lock.
...
Move the level 15 msg area further down the cpuinfo structure, as it's
used infrequently.
2003-01-23 18:49:08 +00:00
christos
3ea86aec06
PT_DUMPCORE support.
2003-01-23 17:35:18 +00:00
kleink
15027ca61b
Correct inverted logic in comment.
2003-01-23 15:59:38 +00:00
gehenna
de40fbc7a1
Add the block-device-only devices.
...
Reported by ragge.
2003-01-23 15:07:54 +00:00
pk
39ce68a44b
bogusintr: print cpu number.
2003-01-23 14:56:06 +00:00
pk
22acc2a827
Shave some code off xcall().
2003-01-23 14:54:33 +00:00
pk
40a1653fc2
pmap_kenter_pa4m: like pmap_enk4m(), we can use setpte4m().
...
ctx_free: fix cache flush context for sun4/sun4c.
2003-01-23 12:48:53 +00:00