Age | Commit message (Collapse) | Author |
|
some VIA CPU based boards. The driver provides temperature,
voltage and fan tachometers values through the sysctl interface.
Rickard Dahlstrand <rd@tilde.se> asked for this driver and
provided access to the test board. Also tested by millert@.
ok millert@
|
|
other parts later, etc. Just set it to the same default value everywhere.
We won't survive without PSE and tt's not like someone will suddenly make
an amd64 that doesn't support PGE.
This will allow us to make the bootstrap process slightly more sane.
|
|
- Use cmov instead of jmp in mtx_enter
- Don't spllower in mtx_leave unless we really have to.
tested by many.
|
|
if (x > foo->bar)
foo->bar = x;
to:
foo->bar = MAX(x, foo->bar);
This forces gcc to generate much better code even though both
experessions are equivalent. Normally I wouldn't bother with
microoptimizations like this, but I needed some generated assembler
that uses cmov and splraise used so often..
ok toby@ (well, he ok:ed a diff that didn't use the MAX macro, but it's
the same code)
|
|
Doesn't hurt, since we don't use spls in _mcount.
ok toby@ and miod@ (who doesn't admit to having an amd64)
|
|
messages inside #ifdef DEBUG/#endif sections. Helps with usb card
readers and such that will often have no media.
ok weingart@ tom@
|
|
Makes i386 and amd64 dkcsum.c identical.
ok weingart@ tom@
|
|
|
|
|
|
- for amd64/i386 add /bsd.mp to FILES
ok tom@
|
|
ok art@
|
|
|
|
|
|
configs for now
|
|
|
|
when it was replaced with PCI_ID_CODE.
|
|
|
|
|
|
- allocate and use scribble page
- provide method to see if something has scribbled out of bounds
The gart still remains disabled by default.
From jason@
|
|
OK deraadt@
|
|
|
|
systems in a week or two (hey, getting a machine is taking me longer than
I expected =)
|
|
ACPI tables into kernel memory and attach ACPI and HPET timers currently.
In order to test this code, enabling the devices in GENERIC as well as
the ACPI_ENABLE option is needed. This code does not do any thermal
control yet, so this should be done with care depending on the platform.
In the tree so more people can contribute to making this more fully
featured.
Ok niklas@ grange@ tedu@
|
|
extent_* functions to ensure they stay consistent
- also remove some debugging crap
|
|
ok deraadt@ marco@
|
|
|
|
from charlie root;
|
|
markus@ ok
miod@ tried to ok, but he doesn't officially have an amd64.
|
|
|
|
To all my "friends", and my lovely future wife... Thank you. Anyone
who still wants to sign the shirt, it's on my bakc. Again, thank you.
This commit was ok'd by drahn@, art@, niklas@, in spite of my condition.
|
|
info for one of them
|
|
(fixes borked pciide chipsets)
|
|
- Actually allocate the right number of softcs.
|
|
pretending to use all the address space it gives us.
- Map all physical memory 1-1 and implement PMAP_DIRECT
- Remove the vast magic we do to map pages for pmap_zero_page,
pmap_copy_page, pv allocation, magic while bootstrapping,
reading of /dev/mem, etc.
- implement a fast pmap_zero_page based on sse instructions.
I love removing code. More to come.
deraadt@ ok tested by many.
|
|
pae table base address.
|
|
|
|
|
|
|
|
Do not re-enable these drivers until they are bus-dma'ified.
|
|
|
|
iommu0(cpu0): base 0x80000000 length 512 pte 0xa80000
|
|
siop(4) a long time ago
'do it' jason@
|
|
that dont have atapiscsi@wdc, fixes zaurus, ok krw@ todd@
|
|
the entry with a scribble page. In the future, we'll use this for
detecting bad device drivers. Page faults are bad in an iommu =)
|
|
is NOT enabled by the BIOS. It's also not hooked in by default yet.
|
|
everyone for the prompt review and ok of this work ;-) Yeah, that includes me
too, or maybe especially me. I am sorry.
Change the sched_lock to a mutex. This fixes, among other things, the infamous
"telnet localhost &" problem. The real bug in that case was that the sched_lock
which is by design a non-recursive lock, was recursively acquired, and not
enough releases made us hold the lock in the idle loop, blocking scheduling
on the other processors. Some of the other processors would hold the biglock though,
which made it impossible for cpu 0 to enter the kernel... A nice deadlock.
Let me just say debugging this for days just to realize that it was all fixed
in an old diff noone ever ok'd was somewhat of an anti-climax.
This diff also changes splsched to be correct for all our architectures.
|
|
|
|
pages a process uses. this is now the userland "data size" value.
ok art deraadt tdeval. thanks testers.
|
|
|
|
|