manu
53b35abfa2
Parent itarators in the IOKit emulation. A driver can only
...
have one parent yet (on Darwin, multiple parents are possible: the IOKit
seems to handle a graph more than a tree). Introfuction of a keyboard
driver parent for IOHIDSystem.
The kernel keymapping is still a big mystery.
2003-11-01 00:32:44 +00:00
cl
8edffb7356
Avoid race condition where an LWP is put into the cache before
...
its state is saved:
- don't sa_putcachelwp() in sa_vp_repossess/sa_vp_donate
- only defer saving the event LWP's state
- sa_putcachelwp() after the interrupted LWP's state is saved
2003-10-31 23:36:50 +00:00
cl
8904362ede
Allow defer of event and interrupted LWP state independently.
...
Removes code duplication in sa_upcall_getstate() and allows
sa_upcall_getstate() to be used to get state of a single LWP.
2003-10-31 22:47:44 +00:00
cl
def5d22a63
Don't PHOLD() in sa_putcachelwp() because the scheduler lock is held.
...
PHOLD() before grabbing the scheduler lock unless the lwp is curlwp.
2003-10-31 22:03:18 +00:00
mycroft
0ec2bd2926
Whoops, forgot the /10 in the default case.
2003-10-31 21:52:11 +00:00
mycroft
a4061d6dec
Update for structure changes.
2003-10-31 21:49:39 +00:00
mycroft
3c3855c148
Print out the polling interval, and display a less confusing message if _TZP
...
is not defined.
2003-10-31 21:44:50 +00:00
mycroft
fbd3c995b1
Remove an outdated comment.
2003-10-31 21:39:51 +00:00
briggs
e6f9248f47
Use aprint_*(9) instead of printf() in attach routines.
2003-10-31 21:25:09 +00:00
fvdl
ab3d5bdcea
Catch up with the new acpica code.
2003-10-31 20:56:55 +00:00
mycroft
fec4c11f9e
Catch up with ABI changes in ACPI-CA. Some additional changes to acpi_bat to
...
set the VALID bits correctly, so we don't report garbage for missing batteries.
2003-10-31 20:54:18 +00:00
mycroft
3970401fd9
Add a file.
2003-10-31 20:52:47 +00:00
mycroft
ded1804c79
Catch up with changes to the AcpiOs*() interfaces.
2003-10-31 20:52:30 +00:00
mycroft
6c29cf39bb
Merge acpica-unix-20031029.
2003-10-31 20:51:07 +00:00
mycroft
0314a111c1
Import latest ACPI-CA.
2003-10-31 20:47:38 +00:00
mycroft
e7e5d0f4f6
Don't display data for sensors with ENVSYS_FCURVALID not set.
...
Clean up a little.
2003-10-31 20:37:53 +00:00
petrov
9cc6a54d18
Don't attach zs at mainbus.
2003-10-31 20:10:06 +00:00
petrov
5a0a3beffd
Attach zs to sbus only, current driver cannot attach to mainbus.
2003-10-31 20:06:54 +00:00
mycroft
31273d1288
We were passing flags to AcpiEnableSubsystem() that aren't even used there.
...
Call AcpiInitializeObjects() to create global variables and run _INI methods.
2003-10-31 17:22:28 +00:00
mycroft
f0b481ee05
Swap the order of buffer initialization and _STA/_INI execution. _INI methods
...
sometimes want to store data in global buffers (e.g. on the Inspiron 8500, to
remember initial battery status).
2003-10-31 17:21:01 +00:00
tsutsui
d135aa4588
In swap_endian_disklabel(), don't forget copy members which are not
...
needed to byteswap.
2003-10-31 17:04:12 +00:00
scw
b4c2d3dbb0
Insert some nops around the load instructions in badaddr_read_N().
...
That way, we can be sure any imprecise data abort actually happens
before clearing pcb_onfault.
2003-10-31 16:54:05 +00:00
cl
ef56cc40ab
Reduce code duplication by adding mi_userret() in sys/userret.h
...
containing signal posting, kernel-exit handling and sa_upcall processing.
XXX the pc532, sparc, sparc64 and vax ports should have their
XXX userret() code rearranged to use this.
2003-10-31 16:44:34 +00:00
drochner
929e614ed3
fix/complete some framebuffer descriptions, fixes PR port-pmax/23224
...
by Jean-Pierre HOFER
2003-10-31 16:32:36 +00:00
scw
336806eb55
Overhaul arm32's abort handlers:
...
- Assume a permission fault is always the result of an attempted
write, so no need to disassemble the opcode.
(as discussed with Richard Earnshaw/Jason Thorpe a week or two ago)
- Split out non-MMU data aborts into separate functions, and deal
correctly with XScale imprecise aborts. Specifically, the old code
made no attempt to handle the double abort faults which can occur
as a result of two consecutive external (imprecise) aborts. This
was easy to provoke by read(2)ing from a /dev/mem offset which caused
an external abort. With the old code, this would bring the system
down instantly, with little clue as to why. (hint: tf_spsr held
PSR_ABT32_MODE...)
- Re-write badaddr_read() to use pcb_onfault instead of adding extra
overhead to data_abort_handler(). A side effect of this is that it
now benefits from the XScale double abort recovery.
- Invoke the cpu-specific prefetch/data abort fixup routines only if
the host cpu actually needs it. On other cpus, the code is optimised
away.
- Sprinkle __predict_{false,true} in all the right places.
- G/C some excess debugging baggage.
2003-10-31 16:30:15 +00:00
bouyer
2564505612
In sci_scsipi_request, add a splbio() which was erroneously missed when
...
thorpej_scsipi was integrated. Pointed out by Havard Eidnes.
2003-10-31 14:38:44 +00:00
reinoud
22f94d4a8e
Rollback
2003-10-31 14:22:48 +00:00
drochner
0622a85590
don't need ELF_INTER_NON_RELOCATABLE anymore if no COMPAT_16, from simonb
2003-10-31 14:06:29 +00:00
drochner
714de0452f
adapt for changes to kern/exec_elf32.c
2003-10-31 14:04:35 +00:00
drochner
24082a2293
-ELF_LINK_ADDR does now what irix_load_addr() did, so the latter can
...
be nuked
-adapt for changes to kern/exec_elf32.c
2003-10-31 14:04:04 +00:00
drochner
f1aa108dd8
-fix ELF_INTERP_NON_RELOCATABLE:
...
-obey ELF_LINK_ADDR in ELF_load_file()
-set ELF_LINK_ADDR in the probe() function if needed
-make ELF_NULL_ADDR the default, so that probe() functions dont need
to set it explicitely
-allocate buffer for interpreter name only if needed
2003-10-31 14:00:52 +00:00
drochner
c3b75d203e
introduce another "magic" ELF address to tell that the file has to be
...
mapped at the address it was linked for
2003-10-31 13:54:39 +00:00
reinoud
a0f1b459d6
Make it compile under gcc 2.95 again. Without the patch it gives an `might
...
be used uninitialised' warning.
2003-10-31 13:47:00 +00:00
reinoud
382038b55b
Make it compile under gcc 2.95 again. I guess the initialisers were
...
stripped in the NULL = 0 -> NULL = (void *) 0 conversion.
2003-10-31 13:43:15 +00:00
chris
2eab0ed5a5
Remove cirrus.0, as cats X server doesn't build that driver, so there's no
...
man page for it.
2003-10-31 10:55:48 +00:00
hannken
ef301d7a07
Remove memset prototype. Already present in sys/lib/libsa/stand.h.
2003-10-31 10:49:25 +00:00
hannken
101f03a0d5
Let it compile again on sparc/sparc64.
2003-10-31 10:09:55 +00:00
nisimura
88d2cbf4b5
One more fix; copyright notice bozo. Pointed by Thomas Klausner.
2003-10-31 09:35:25 +00:00
wiz
8878f0f338
Fix a typo.
2003-10-31 08:53:50 +00:00
kent
26aa3703e4
auich_calibrate():
...
- make the buffer longer to improve the precision of measurement
- round off the result to the nearest multiple of 1000.
2003-10-31 08:15:53 +00:00
nisimura
48e1319ab9
Note stpcide(4) for STMiroelectronics STPC IDE controller.
2003-10-31 06:53:59 +00:00
nisimura
51cdfee682
Added stpcide(4) driver for STMicroelectronics STPC IDE controllers.
2003-10-31 06:49:58 +00:00
simonb
183066a619
Remove some assigned-to but otherwise unused variables.
2003-10-31 03:32:19 +00:00
simonb
b6da47eedd
Retore the spl level on exit of genDeconfigMouse().
2003-10-31 03:29:59 +00:00
simonb
6d85c5e0d5
Don't pass the (unused) return value args to the
...
trace_enter()/systrace_enter() functions.
2003-10-31 03:28:12 +00:00
uwe
c8e97f8a45
When signaling SIGTRAP for debugger break adjust pc to point back to
...
the TRAPA instruction. This makes gdb much happier.
2003-10-31 02:59:29 +00:00
uwe
811af2c58f
tlb_exception: pacify -Wuninitialized by adding default case.
2003-10-31 02:46:58 +00:00
lukem
f87ba55ff9
Always use /bin/pwd -P
to get the "TOP" of the source tree, so that
...
MAKEOBJDIR (and other parameters) work correctly with symlinks, amd(8), etc.
Should fix PR [bin/23313], and possibly others.
2003-10-31 01:46:39 +00:00
ross
405db788de
Defensively rewrite a string moving loop.
...
Constify.
Check for an allocation error.
2003-10-31 01:25:54 +00:00
thorpej
920b229e72
"bogus pin" -> "bogus device" in last change.
2003-10-31 01:12:06 +00:00