Age | Commit message (Collapse) | Author |
|
our own for the m41t8x clocks.
Tested by me and jasper@.
Okay jasper@, guenther@, deraadt@
|
|
|
|
conditionals you did on timeout_pending can now be done on timeout_del
now that it returns what it did.
ok and a very good fix from kettenis@
|
|
"sure" deraadt@
|
|
kernel resumes normal (non-cold, able to run processes, etc) operation.
Previously we were relying on specific DVACT_RESUME op's in drivers
creating callback/threads themselves, but that has become too common,
indicating the need for a built-in mechanism.
ok dlg kettenis, tested by a sufficient amount of people
|
|
USB host-to-host link cable. This driver is derived from upl(4).
|
|
ok kettenis@
|
|
which basically doesn't exist at all.
reminded about it by brad
|
|
which basically doesn't exist at all.
reminded about it by brad
|
|
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting
up a new font.
|
|
No functional change.
|
|
readdoslabel(). Ditto all the MD variables whose addresses are passed
to readdoslabel() via partoffp.
Fix some 512-byte block vs disk sector confusion in hppa and sgi.
All the DL_GETxxxxx() defines return disk sector values. All
DL_SETxxxx() take disk sector values. These changes should be no-ops
until a drive using non-512-byte-sectors is encountered.
ok deraadt@
|
|
- switch to perl for better data structures and (thus) speed
- fix a couple glitches in the interpretation of the stabs output
- compress the strings by putting them in one big array and overlaying
suffixes
- all sizes and offsets are <64k, so use u_short for them
This results in ~60% reduction in the resulting text size and it now
takes less than a second to create on fast platforms.
ok miod@
|
|
|
|
with ddb entered early with boot -d or from UKC).
|
|
measurement device (idVendor:idProduct=0x0c45:0x7401).
newly added.
ok by mpi@ and sthen@
|
|
tested before initialization; this would only affect 2e systems.
Found by Maxime Villard; reminded by mlarkin@
|
|
No regression has been reported since libusb became the prefered
solution to work with USB scanners.
req. by mpi@
ok ian@ mpi@ miod@
|
|
generated on all architectures that support pci, making alpha and loongson
compile again.
ok todd@, miod@ seemed to agree with the idea
|
|
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are
mostly interested in -Werror here.
|
|
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
|
|
|
|
Might have to find a better place for the cache.h header but until then
it will have to do.
Discussed with miod@
|
|
STANDBY and SUSPEND result in the machine being suspended.
HIBERNATE results in the machine being hibernated.
Also make sure all the hibernate bits are isolated by ifdefs.
|
|
While at it use STANDBY for RAM and SUSPEND for disk.
Okay miod@
|
|
from Sylvestre Gallon ccna.syl gmail.com
|
|
This is work in progress. Nothing to test or play with for now.
Commiting it now so that I can work on it in-tree.
Okay miod@
|
|
ok miod@ pirofti@
|
|
ok guenther@
|
|
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
|
|
ok miod@, mikeb@
|
|
to the state of the SDA bit; the MI i2c code is about to depend upon this.
|
|
definitions instead. We don't change usb.h for now to stay compatible
with userland.
missed bits from previous change; ok mpi
|
|
bss sections. The current kernel linker script is not gp-friendly enough for
that; and while gas 2.15 was not attempting to output gp-relative relocations
for variables which might have ended up in .sdata or .sbss, gas 2.17 will,
and the kernel will fail to link.
To be improved eventually with a better kernel ld script putting the
gp-addressable sections close enough to gp... and making sure kernel gp is
reloaded in all the userland->kernel code paths which might need gp in the
kernel.
|
|
ok deraadt miod
|
|
another symbol without weak attribute. To be used in libc and libm
soon. Agreed by kettenis@, guenther@, matthew@.
|
|
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs
polishing; most of this work done during h2k9 last month, although the
porting effort started earlier this year.
|
|
"looks good" deraadt@
|
|
|
|
to keep definitions our of user space. The MD files now follow a consistant
order -- all namespace intrusion is at the tail can be cleaned up
independently. locore, bootblocks, and libkvm still see enough visibility to
build. Checked on 90% of platforms...
|
|
|
|
on all Loongson2F systems yet; Gdium does not have a separate scheduling
clock yet and can't afford throttling until then.
|
|
This commit allows CPU throttling on the 2F systems.
Inspired by an old diff from otto@.
Help from and okay miod@.
|
|
The stat clock is implemented so that it also covers, at least
according to the tests I've done, Torek's paper on randomized sampling.
Most of the bits for randomizing the stat ticks were taken from sparc's
implementation and adapted to the companion chip's MFGPT frequencies.
Before this my lemote showed a 8% cpu usage for the cpuhog example from
Torek's paper even though openssl speed showed differences up to 27%
when ran with and without cpuhog. With the new stat clock it shows
cpuhog around 18-22%, which I think is the proper value.
Okay miod@.
|
|
Increases readability.
|
|
Patch appended my final work on glxclk to an earlier version that
I forgot was there.
|
|
CPU throttling was not possible due to the fact that the system clock
was the CPU clock. So slowing down the CPU would also slow down the
passing of time.
This commit adds a driver for the MFGPT1 clock from the AMD companion
chip found on lemote and hooks it up as the system clock.
It also changes the frequency value of hz from the default, which was
100, to 128. That's because the scaling on MFGPT clocks is represented
by powers of two.
Okay miod@.
|
|
|
|
|
|
handlers how hard they should hit the hardware.
|