drochner
996322f640
oops, need to commit the register definition for PM mapping too
2006-06-26 17:33:40 +00:00
drochner
cbf845a55e
-make sure it is a PIIX4 before accessing counter stuff
...
(there might be usable registers on 440mx and that ATI thing too,
but that needs to be checked/tested)
-make sure the I/O access to the power management stuff was enabled
by the BIOS before trying to map/access stuff
-most PIIX4s have a bug in the timer latch which causes jitter or worse
if it is read naively - check the revision
-use common code in dev/ic/acpipmtimer.c
2006-06-26 17:17:20 +00:00
kiyohara
409c2af88f
Add lmtemp(4).
2006-06-26 16:20:50 +00:00
drochner
eff818776d
add some common code to support the ACPI power management timer
...
independly of ACPI
2006-06-26 16:13:21 +00:00
drochner
c89713e730
switch alpha to gcc4
2006-06-26 15:30:05 +00:00
christos
ff147f9d5b
define PC_ADVANCE to avoid a LHS cast which makes gcc4 unhappy.
...
From Kurt Schreiner
2006-06-26 14:11:29 +00:00
christos
80f0134faf
- widen gototab so NCHARS states fits.
...
- don't allocate more space than we need.
From Aleksey Cheusov
2006-06-26 13:10:47 +00:00
drochner
3ce3b9b485
test the PM timer for glitches (using the algorithm from FreeBSD)
...
and use a single read if the timer looks good,
patch from Juan RP, with minor simplification by me
2006-06-26 12:29:36 +00:00
kent
14db0438ab
* custom mixer table for ALC880
...
* remove useless mixers of ALC882
2006-06-26 11:06:01 +00:00
yamt
ffa1c23e58
fix VM_BESTFIT.
2006-06-26 10:23:20 +00:00
yamt
9595f19850
wrap long lines.
2006-06-26 10:21:59 +00:00
yamt
a3b2d62857
sa_stackused, sa_setstackfree: share some common code.
2006-06-26 10:21:34 +00:00
manu
0a52064ba3
Do not implement exit_group() the right way on platforms that do not
...
define LINUX_NPTL yet, that cause firefox-bin to fail.
2006-06-26 07:42:00 +00:00
lukem
9dde4120d5
Don't invoke LD with LDFLAGS, since the latter is for CC.
...
If we need similar support for LD, we can implement another variable.
I couldn't find any obvious need for LDFLAGS by users of <bsd.kmod.mk>.
2006-06-26 04:07:34 +00:00
dogcow
62f312bd4b
revision 115002 from svn gcc; fixes PR/33816 (on my system, at least.)
2006-06-26 00:33:11 +00:00
christos
0279cf0176
add a missing dependency.
2006-06-25 22:39:51 +00:00
christos
a504bbc8d8
Don't forget to free gototab[i]; pointed out by Aleksey Cheusov
2006-06-25 22:37:45 +00:00
yamt
5ff1a0a494
add following files. pointed by Hisashi T Fujinaka.
...
./usr/share/man/cat9/kmem_alloc.0
./usr/share/man/cat9/kmem_free.0
./usr/share/man/cat9/kmem_zalloc.0
2006-06-25 21:49:14 +00:00
christos
29c1a4c22e
GCC4 fixes from Mike Pumford
2006-06-25 21:32:39 +00:00
bouyer
9e9d09bf73
Use the right test for ring full condition. Avoid an infinite loop when the
...
ring is full (because the domU is in ddb for example).
2006-06-25 19:46:52 +00:00
bouyer
58af96f414
Don't loop forever if we receive a packet while the interface is down.
2006-06-25 18:34:09 +00:00
bouyer
65918da968
DTRT when the number of grants to map or unmap is more than one.
2006-06-25 18:03:49 +00:00
tsutsui
1cf7251d79
- use (uint8_t *) for scsi buffers
...
- u_char -> uint8_t for byte data
- use proper type variable
2006-06-25 17:40:14 +00:00
tsutsui
c06815799e
Use (uint8_t *) to specify buffers for hpib xfers.
2006-06-25 17:37:43 +00:00
agc
3b35cc0643
With thanks to Alan Ritter, note that NDIS will be in 4.0
...
Thanks to Hubert for the nudge.
2006-06-25 17:37:22 +00:00
tsutsui
5845cc2e3c
Fix unsigned/signed mismatch.
2006-06-25 17:35:12 +00:00
tsutsui
6d0b292e48
- move declaration for sc_table from samachdep.h to device.h
...
- include <lib/libsa/stand.h> from samachdep.h for struct fs_ops
- remove unneeded declarations from samachdep.h
2006-06-25 17:34:30 +00:00
tsutsui
eec8d4d1e5
Make some local functions static.
2006-06-25 16:52:01 +00:00
bouyer
2613e19eec
Add a 'base' argument to xenbus_read_ul, so that we can read number is base
...
other than 10.
2006-06-25 16:46:59 +00:00
tsutsui
0aa05e92ff
Remove unused struct abus stuff.
2006-06-25 16:46:15 +00:00
tsutsui
d71cfc62f0
Make some local functions static.
2006-06-25 16:44:02 +00:00
tsutsui
6e1a8fe413
- make a local variable static
...
- remove struct user dumppcb, which is declared in mips_machdep.c
2006-06-25 16:29:14 +00:00
manu
ce7e36a5a9
Regen
2006-06-25 16:16:52 +00:00
manu
b7432513dc
- Complete exit_group() implementation. We now maintain a list of Linux
...
threads in a processes and kill them properly. The code is a bit too
complicated, but I could not find a simplier way of dealing with it
- Change getpid() and getppid() semantics to match what Linux does,
and implement gettid(). In the Linux kernel, threads are implemnted
as plain old processes. A thread group is just a set of processes,
with the parent called leader. Thread ID, which are returned by gettid(),
are just the PID of the plain old processes, and getpid() returns the
PID of the thread group leader.
- Remove struct linux32_emuldata. COMPAT_LINUX32 uses a lot of COMPAT_LINUX
code, where a struct linux_emuldata is assumed. By having distinct emuldata
structure with different sizes and layouts, we caused kernel memory
corruptions.
- Fix setprioriry() and getpriority()
Thanks to Nicolas Joly for tracking down the problem and providing me the
hardware to fix them.
2006-06-25 16:15:39 +00:00
tsutsui
82f68c0092
Rename arc_trap.c to interrupt.c, which derived from ancient pica_trap.c
...
but currently contains only interrupt stuff. Ok'ed by soda.
2006-06-25 16:11:41 +00:00
bouyer
22247e56e0
Adapt for new xen_shm_* signatures.
...
While here add more xenbus_dev_fatal() calls for some failure cases.
2006-06-25 15:20:39 +00:00
bouyer
b063155744
Allow xen_shm_map() to map multiple grants in a contigous virtual address
...
space.
While here garbage-collect unused xen_shm_vaddr2ma()
2006-06-25 15:18:53 +00:00
lukem
6be844e18e
support MAKEVERBOSE
2006-06-25 15:17:22 +00:00
lukem
9e21440fb1
Move LDFLAGS to the CC section instead of the LD section.
2006-06-25 15:04:31 +00:00
lukem
6e749ba167
Use ${TOOL_STAT} to get the size, instead of ls | tr | cut.
2006-06-25 15:01:00 +00:00
jmcneill
7045966d96
Claim partial responsibility for ACPI.
2006-06-25 14:55:57 +00:00
jmcneill
3862dcac4c
Intel ACPICA 20060608 is out.
2006-06-25 14:55:00 +00:00
jmcneill
507a433a4e
Make sure that a powerhook was successfully established before trying to
...
disestablish it on detach.
2006-06-25 14:49:49 +00:00
lukem
186054d0dd
Convert to using CC instead of LD, as LDFLAGS is for CC not LD.
2006-06-25 14:49:32 +00:00
lukem
4c28e73199
Use -Wl,-Ttext,foo instead of -Ttext foo when using $(CC)
2006-06-25 14:35:18 +00:00
lukem
8c4a6c51bf
whitespace consistency
2006-06-25 14:24:53 +00:00
tsutsui
40acc0a810
- uninitialised -> uninitialized (for consistency)
...
- add sys/arch/m68k/m68k/pmap_motorolo.c rev 1.19 to
the gcc4 wrong uninitialized list
2006-06-25 14:24:45 +00:00
tsutsui
45e77c51c9
XXX: Appease gcc4 -Wuninitialized warnings.
2006-06-25 14:19:56 +00:00
tsutsui
da091c39ed
Fix "warning: matching constraint does not allow a register" on gcc4.
...
(I guess constraints "0-9" are valid only for register operands, right?)
2006-06-25 14:17:40 +00:00
tsutsui
0099b09a49
Remove unused extern variable declarations. Noticed by gcc4.
2006-06-25 14:14:18 +00:00