summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
AgeCommit message (Collapse)Author
2005-08-07ati ixp audio; ported form ntbsd in <4h of boretime; testing by krw@ and ian@Michael Shalayeff
2005-08-06We do not need a char machine_arch[] constant.Miod Vallat
ok deraadt@
2005-08-03Smart ARRAY comment fixes.Brad Smith
2005-08-03ciss can fit onto the large RAMDISKSTheo de Raadt
2005-08-03enable ciss; deraadt@ okMichael Shalayeff
2005-08-03enable safte and ses on all archs that appear to have real scsi bussesDavid Gwynne
ok deraadt@ beck@ marco@
2005-08-01Increment version so we can distinguish this in the future.Tobias Weingartner
2005-08-01kernal->kernel;Jason McIntyre
from netbsd pr #30872 (anonymous post); ok deraadt@ krw@
2005-08-01Fiddle with dkcsum output. Improve verbiage and grouping of messages.Kenneth R Westerback
Clean up code. ok weingart@ tom@ 'go for it' deraadt@
2005-08-01enable amdgart if > 4GB of memoryTheo de Raadt
2005-08-01Kill more "memory might be 2MB or less" checks in bufpages computation.Miod Vallat
ok deraadt@ otto@
2005-08-01do not include boot.c since cdboot.c is a copy of it; shrink 1k off the cdbootMichael Shalayeff
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-31remove the config glue between the /dev entry for ses and its driverDavid Gwynne
sure deraadt@
2005-07-30remove a driver because someone bloated the kernelTheo de Raadt
2005-07-30Need moddi3.c qdivrem.c for libzTodd C. Miller
2005-07-28Add viasio(4), a driver for VIA VT1211 LPC Super I/O found onAlexander Yurchenko
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@
2005-07-26Instead of juggling around with cr4 and enabling parts of it sometimes,Artur Grabowski
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.
2005-07-26Microoptimizations.Artur Grabowski
- Use cmov instead of jmp in mtx_enter - Don't spllower in mtx_leave unless we really have to. tested by many.
2005-07-26In splraise, change an:Artur Grabowski
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)
2005-07-26Add _PROF_PROLOGUE to Xspllower since it's so common in kernel profiles.Artur Grabowski
Doesn't hurt, since we don't use spls in _mcount. ok toby@ and miod@ (who doesn't admit to having an amd64)
2005-07-26Reduce verbosity during dkcsum by moving open/read/close errorKenneth R Westerback
messages inside #ifdef DEBUG/#endif sections. Helps with usb card readers and such that will often have no media. ok weingart@ tom@
2005-07-23Fix a few typos. Set 'error' variable before using it in message.Kenneth R Westerback
Makes i386 and amd64 dkcsum.c identical. ok weingart@ tom@
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-07-15kill trailing whitespace;Jason McIntyre
2005-07-15- add /bsd.rd to FILESJason McIntyre
- for amd64/i386 add /bsd.mp to FILES ok tom@
2005-07-12fix comment, describe the VA hole correcltyHans-Joerg Hoexer
ok art@
2005-07-06url fitsTheo de Raadt
2005-07-06ural works; pedro@ironchicken.am-gen.orgTheo de Raadt
2005-07-06smartarray 5* raid controller; does io but needs more work; commented out in ↵Michael Shalayeff
configs for now
2005-06-28add xl@pciBrad Smith
2005-06-25the local macro _id was removed before this code was even imported from NetBSDBrad Smith
when it was replaced with PCI_ID_CODE.
2005-06-23Dead code.Artur Grabowski
2005-06-17uipaq/ucom support; written by isis@www.cs.umd.eduTheo de Raadt
2005-06-17- remove old debugging codeMarco Peereboom
- 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@
2005-06-08revert enabling iommu on amd64 as it breaks at least one MP host.Marco S Hyman
OK deraadt@
2005-06-07make it prettier; jason okTheo de Raadt
2005-06-06enable iommu on all systems where we support it. We'll support it on moreJason Wright
systems in a week or two (hey, getting a machine is taking me longer than I expected =)
2005-06-02Start on a basic ACPI framework -- does not do much more than read out theThorsten Lockert
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@
2005-06-02- wish there was a better way to do this... put splhigh() around theJason Wright
extent_* functions to ensure they stay consistent - also remove some debugging crap
2005-06-01as Jason requested, be gone vtophys().Brad Smith
ok deraadt@ marco@
2005-06-01disable sf* too, until it is vtophys cleanTheo de Raadt
2005-05-31spelling corrections in comments;Jason McIntyre
from charlie root;
2005-05-31Lock the apic with a mutex, not a SIMPLE_LOCK.Artur Grabowski
markus@ ok miod@ tried to ok, but he doesn't officially have an amd64.
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-28*slightly drunk*Tobias Weingartner
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.
2005-05-28If irq-sharing happens over different ioapics, we must not overwrite setup ↵Niklas Hallqvist
info for one of them
2005-05-27oops, need to get the boundary from the map when allocating gart addressesJason Wright
(fixes borked pciide chipsets)
2005-05-27 - Use the direct map for mapping the PTEs.Artur Grabowski
- Actually allocate the right number of softcs.
2005-05-27Stop pretending that amd64 is i386. We're insulting the cpu by not evenArtur Grabowski
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.