gibbs
282bbce194
Hook up the ahd driver.
2002-06-06 16:35:58 +00:00
schweikh
28bcbfe85d
Fix typo in the BSD copyright: s/withough/without/
...
Spotted and suggested by: des
MFC after: 3 weeks
2002-06-02 20:05:59 +00:00
alfred
0ac0431441
Silence preprocessor warning, No need to use CONCAT with "," and "word".
2002-06-01 20:22:33 +00:00
bde
dee070ee6e
Fixed the return value of fpsetmask(). The API requires inversion of the
...
mask on both input and output to fpsetmask(), but this was only done for
input, so fpsetmask() returned the complement of the old mask (ANDed with
the mask bitfield).
PR: 38170
MFC after: 4 weeks
2002-06-01 17:39:46 +00:00
bde
36c56b3ddf
Fixed style bugs in rev.1.9.
2002-06-01 17:27:16 +00:00
imp
f4fa57817e
Use a common function to map the bogus intlines.
...
Don't require pin be non-zero before we map bogus intlines, always do it.
This fixes a number of problems on HP Omnibook computers.
Tested/Reviewed by: Brooks Davis
2002-06-01 05:14:11 +00:00
dfr
a3b8e6c9c7
Move the definition of ElfN_Hashelt to common headers. The only platform
...
which has a different definition for this is alpha.
2002-05-30 08:32:18 +00:00
obrien
e59a166a79
Do not refer to the Intel PRO/1000 by its internal name.
...
Requested by: pdeuskar
2002-05-29 18:42:26 +00:00
brooks
4432c323fd
Restore the irq=0 => irq=255 hack to pci_cfgintr_search(). Just having
...
it in pci_cfgregread() wasn't sufficent on at least the HP Omnibook 500.
Reviewed by: imp
2002-05-29 16:16:16 +00:00
dfr
e8d149b2f7
Add declarations of suword32 and suword64. Add implementations of one or
...
the other (or both) to all the platforms. Similar for fuword32 and
fuword64.
2002-05-26 16:03:13 +00:00
jake
88bdee3b2f
Make the run queue parameters machine dependent. Optimize 64 bit
...
architectures by using a 64 bit word for the bit array which keeps
track of non-empty queues.
Reviewed by: peter
2002-05-25 01:12:23 +00:00
peter
c9d5cf6d1a
Fix warnings; deprecated use of label at end of compound statement
2002-05-24 05:54:40 +00:00
jhb
096c0249dc
Rename pause() to ia32_pause() so it doesn't conflict with the pause()
...
function defined in <unistd.h>. I didn't #ifdef _KERNEL it because the
mutex implementation in libpthread will probably need this.
2002-05-22 20:32:39 +00:00
obrien
6819a7b589
Restore us back to the rev 1.324 level of having an Intel gigE driver.
2002-05-22 19:00:48 +00:00
jhb
06e51352f6
Debug registers aren't selectors, so use saner names for the variables in
...
the inline functions for reading and writing the debug registers.
2002-05-22 13:29:18 +00:00
jhb
fd3295715e
- Sort the pause() inline into the appropriate location.
...
- Add many missing prototypes to the non-GCC section.
2002-05-22 13:27:05 +00:00
jhb
2f66cc911b
Rename cpu_pause() to pause(). Originally I was going to make this an
...
MI API with empty cpu_pause() functions on other arch's, but this
functionality is definitely unique to IA-32, so I decided to leave it
as i386-only and wrap it in #ifdef's. I should have dropped the cpu_
prefix when I made that decision.
Requested by: bde
2002-05-22 13:19:22 +00:00
rwatson
dc682bb693
Permit alternative break sequence to break to debugger in GENERIC. Breakage
...
of serial break on -CURRENT seems rampant for some reason, and I like
being able to get into ddb.
Reviewed by: peter
2002-05-21 23:35:51 +00:00
jhb
1a9e2f75a7
Add an inline function cpu_pause() for the IA32 'pause' instruction.
2002-05-21 20:21:53 +00:00
nyan
a27ddf2e9d
Remove unneeded ## for GCC 3.1
2002-05-21 12:50:20 +00:00
rwatson
947a97e82e
Off-by-128 error in the cuam* device node numbers.
2002-05-20 05:12:56 +00:00
rwatson
a727c5433f
Bump the rc driver a little bit closer to the 21st century: use
...
make_dev() to create device nodes for each of the serial port channels
(ttym%d and cuam%d respectively, as borrowed from MAKEDEV). This allows
the rc driver to work in 5.0. I've tested it with only one card, but
will try sticking in a second card tomorrow and see what happens.
2002-05-20 05:04:41 +00:00
marcel
982963acb9
o Fix race condition caused by doing ptrace() for permission
...
checking, followed by a lookup of the process. Do not call
ptrace() for permission checking, but do it inline.
Spotted by: rwatson
o While here, copy-in arguments before we lock. This fixes
a possible permanent lock.
Reviewed by: rwatson
2002-05-19 19:35:36 +00:00
peter
e1112c77a0
Make this compile with gcc-3.1, which objects to the multi-line string.
2002-05-19 06:42:29 +00:00
marcel
42058b50b4
Hook up the new linux_ptrace implementation.
...
PR: 33299
Submitted by: Alexander N. Kabaev <ak03@gte.com>
2002-05-19 01:27:14 +00:00
marcel
2cf568059c
Regen (linux_ptrace)
...
PR: 33299
2002-05-19 01:23:33 +00:00
marcel
3913850ecd
Sparkling new implementation of linux_ptrace. Slight tweaking by
...
yours truly.
PR: 33299
Submitted by: Alexander N. Kabaev <ak03@gte.com>
2002-05-19 01:21:55 +00:00
phk
f957e47fe3
Move MI stuff out of MD param.h files.
...
It can all still be overridden in the MD files should need suddenly arise.
2002-05-14 20:35:29 +00:00
phk
15562e8000
Move a few ancient minor-number definitions for tapedrives to the
...
only driver which uses them. Remove the rest.
2002-05-14 06:57:02 +00:00
bde
d6ab52d0b4
Fixed a semantic error. va_arg(ap, u_short) is nonsense except on i386's
...
with 16-bit ints, since u_short is promoted when it is passed to a
varargs function. gcc now warns about this. We always pass small
integers (this is well obuscated), so there are no conversion problems.
Fixed a related style bug (bogus cast).
2002-05-13 14:34:47 +00:00
bde
f5fcb305ee
Fixed a syntax error (a label not followed by a statement).
2002-05-13 11:53:40 +00:00
jake
fbb890cb8c
These were repo-copied to dump_machdep.c.
2002-05-13 02:52:35 +00:00
obrien
c9b119433a
I reorganized a little bit too much in the backwards case.
2002-05-10 03:24:06 +00:00
obrien
707b0b13a6
Gcc 3.1 varargs support.
2002-05-10 02:02:54 +00:00
jedgar
0954c8c56e
s/sysctl -w/sysctl/
2002-05-06 00:45:27 +00:00
bde
e129a7f152
Fixed checking for VM86 mode in doreti which I broke in rev.1.30. Only
...
the case of VM86 calls from the kernel was broken, so this bug was not
a security hole.
PR: 36710
Submitted by: David Xu <davidx@viasoft.com.cn> (version for RELENG_4)
MFC after: 3 days
2002-05-05 03:19:48 +00:00
fenner
4a04ef1ff8
Restore the ability interrupt dumps on i386, based on
...
the old kern_shutdown.c . Other archs might be able to
use similar code but I don't have anything to test on.
2002-05-04 17:45:48 +00:00
jmallett
e977af0eb9
Typo fix: detects -> detect.
...
Reviewed by: phk
2002-05-03 17:59:25 +00:00
peter
eee1c0968b
Retire makeLINT.pl
2002-05-02 22:20:40 +00:00
peter
91d051e18d
Makefile uses genwakecode.sh now.
2002-05-02 22:17:35 +00:00
obrien
083e8c7872
Revert rev 1.1018. rp(4) and dgb(4) are deemed MI, while the rest of the
...
drivers for simular hardware are i386-specific. That is why I did not
find the information here.
2002-05-02 19:42:38 +00:00
des
afc18879ad
Join the pissing contest: generate LINT with a single sed(1) command.
...
Smaller script, smaller (though equivalent) output.
2002-05-02 16:34:47 +00:00
kuriyama
56adfc1b25
Use shell script version (using awk and sed) of makeLINT.pl.
2002-05-02 06:10:09 +00:00
obrien
d779b4edb0
Add some NOTES on the Comtrol Rocketport and the Digiboard drivers.
2002-05-01 23:03:31 +00:00
peter
5b777bef20
Try using genwakecode.sh instead of the perl version.
2002-05-01 21:54:07 +00:00
peter
ab5403ca0f
Add a shell script to do what genwakecode.pl does.
...
Obtained from: ade
2002-05-01 21:52:34 +00:00
phk
26ffc19d1e
Don't export timecounter structures under debug. with sysctl, they
...
contain no truly interesting data anymore.
2002-04-30 19:34:31 +00:00
peter
c0e3147cc6
Tidy up some loose ends.
...
i386/ia64/alpha - catch up to sparc64/ppc:
- replace pmap_kernel() with refs to kernel_pmap
- change kernel_pmap pointer to (&kernel_pmap_store)
(this is a speedup since ld can set these at compile/link time)
all platforms (as suggested by jake):
- gc unused pmap_reference
- gc unused pmap_destroy
- gc unused struct pmap.pm_count
(we never used pm_count - we track address space sharing at the vmspace)
2002-04-29 07:43:16 +00:00
alc
b4f776aff8
For what it's worth, fix the compilation of an I386_CPU-only kernel
...
now that certain warnings are fatal.
2002-04-27 18:13:35 +00:00
alc
5feddc83ac
Don't call vm_map_growstack() from trapwrite() as vm_fault() now performs
...
this automatically.
2002-04-27 17:07:15 +00:00