Age | Commit message (Collapse) | Author |
|
|
|
so that arm/xscale/... is not referring to zaurus specific defines.
ok miod kevlo, with some suggested changes from deraadt@
|
|
|
|
something snuck in here that wasn't supposed to be.
noticed by yuo@
|
|
has been initialized).
|
|
- Move the code that drops a ptp into a function and use that
in both pmap_do_remove and pmap_page_remove.
- In pmap_do_remove, instead of flushing the whole range from the tlb
at the same time, shoot one PDE at a time. It will allow us to skip
empty PDEs and reduces the amount of work one IPI has to do (although
we'll get more IPIs).
ok toby@ "I won't protest" deraadt@
|
|
|
|
leave the rest alone. Also don't read *spte twice and compare results.
feedback drahn@ okay art@ weingart@
|
|
bits necessary. Also move up the pmap_map_ptes() call to before the
diagnostic check. okay art@, weingart@
|
|
|
|
|
|
vga1 at pci0
inteldrm0 at vga1
to
vga1 at pci0
inteldrm0 at vga1
drm0 at inteldrm0
i.e. a similar scheme to audio(4) where the interface attaches on top of
the wildly different drivers. This helps to clean up the code a lot
(more is coming) and help me start to move drm to being essentially bus
independent, which will help in the future.
|
|
the policy for the mlock(2) on this architecture: all users are allowed
to call mlock, while the limit is imposed by the current RLIMIT_MEMLOCK
value.
"makes sense" art, ok hshoexer (who was running with the same change for
about 10 months).
|
|
In short, make cpu_unidle do what signotify used to do and
make signotify use cpu_unidle.
Also, include a cpu_unidle in need_resched, it won't change much right now
but will be needed in the future.
|
|
defines into real functions. since machdep.c is cluttered as it is move them
into bus_space.c (like amd64). a later commit will move the stuff from machdep
across too. since machdep.c is cluttered as it is move them into bus_space.c
(like amd64). a later commit will move the stuff from machdep across too.
some shrinkage stats:
GENERIC.MP 209.66kb
RAMDISK 50.84kb
RAMDISKB 50.04kb
RAMDISC 36.28kb
RAMDISK_CD 168.03kb
don't fill it up all at once!
claudio found no network performance hit. toby thought the code went
looked alright. art@ ok.
|
|
however this global variable doesn't exist with out apm, ifdef the variable.
|
|
make this associate, however ifdef zaurus it for now.
|
|
from ACPI for est on amd64. This incorporates a few changes from krw@
to fix minor nits, its unlikely to fix the problems with some machines
from acer and dell but lots of machines benefit.
ok krw@
|
|
ok drahn@
|
|
|
|
This shaves 135.7kb from amd64 GENERIC.MP. An afternoons worth of
testing proved to art, toby and myself that this doesn't slow things
down. i386 will follow shortly.
ok weingart@
|
|
|
|
there
|
|
|
|
The beginning of i386 segment review/cleanup.
Tested by various people.
|
|
okay weingart@ art@
|
|
necessary, so that future hackers will not be mislead the same way I
was when looking at this code.
|
|
"obviously correct" kettenis@
|
|
previously, we had a static list of pcidevs and which agp driver would
be interanlly attached. Instead, split the agp drivers so they work like
audio(4), where we attach a driver, which sets up some callbacks and
initial state, then attaches the interface (agp(4)). Since this allows
us to attach different drivers in different places, and give them
/proper/ probe functions move most of the drivers back to attaching at
pchb, where they should, and intagp (formerly agp_i810) stays attaching
at vga, since it's part of the intel integrated graphics chips.
Diff shrinks the kernel slightly, gets rid of the annoying "no integrated
graphics" warning, and allows more cleanup later.
Tested by many. fix for alpha build (the only other vga_pci.c consumer)
suggested by miod.
|
|
ok espie, jmc
|
|
ok miod@
|
|
at apple code
go ahead drahn@
|
|
|
|
|
|
o set init data to match snapper_set_foo*
o set volume to 190 (audible compared to the default)
o set input to mic (most common usage)
ok jakemsr@
|
|
control. makes mixerctl(1) output more sensible.
ok drahn, todd
|
|
set ap_open_count = 0 in mmclose() instread of decrementing it.
ok miod@, oga@.
|
|
* for outputs.{bass,treble}, 0 dB corresponds to mixer value 128,
not 0.
* line-in is configured as the default recording source; set
sc->sc_record_source accordingly.
* add missing register to initialization code.
from Marco (marco2z at arsystel com), thanks
testing/ok drahn@
|
|
causes high priority interrupts to be delayed until that state is cleared.
|
|
|
|
the size of a full blown struct cpu_info, instead of the first few fields.
|
|
even in non-MP kernels, to avoid unnecessary tlb flushes later when
pmap operates on shared pages.
|
|
|
|
tested by me, from ratchov@, please commit ratchov@
|
|
|
|
mulaw mono, which few can even do.
"Please just get this in." brad@
|
|
last process running.
|
|
SMBIOS version is < 2.4. This lets 40-series thinkpads continue to use
apm.
worked on with kettenis
|
|
other MP platforms.
|
|
values of the audio_params structure during AUDIO_SETINFO if the
hardware cannot be set to exactly the requested mode.
some drivers do this sometimes. others always return EINVAL if there
isn't an exact match.
be more consistent. only return EINVAL if an absurd parameter was
requested, otherwise return a supported set of parameters, as close
as possible to what was requested.
with/ok ratchov@
|