summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
AgeCommit message (Collapse)Author
2007-01-12Switch some lockmgr locks to rwlocks.Artur Grabowski
In this commit: - gdt lock on amd64 - sysctl lock - malloc sysctl lock - disk sysctl lock - swap syscall lock miod@, pedro@ ok (and "looks good" others@)
2007-01-02Issue the BIOS "check for keystroke" call before "get keystroke", asTom Cosgrove
now required on i386 for Intel Macs. Bump versions of boot, cdboot and pxeboot accordingly. Reminded by deraadt@.
2006-12-29Fix another 'tripple' (not surprising, since this was copied from theTom Cosgrove
i386 code that I fixed earlier). Noticed by Gregory Steuck (greg (at) nest (dot) cx); thanks.
2006-12-24Define PROC_PC. Then, since profiling information is being reported inMiod Vallat
statclock(), do not bother doing this in userret() anymore. As a result, userret() does not need its pc and ticks arguments, simplify.
2006-12-20Decalre extern int cpuspeed in sys/arch/amd64/include/cpu.h like cpuspeedGordon Willem Klok
is declared in the equivalent file on i386 and delete the repeticious declarations already scattered in a few places. Thanks to Will Backman for letting me test this on his machine, ok mk@
2006-12-20acpi fits when we decide that it is more important than ahc(4) adaptecTheo de Raadt
scsi support (note that ahd was never even there...).
2006-12-20rum fitsTheo de Raadt
2006-12-15acpi can fit onto the cd ramdisksTheo de Raadt
2006-12-14Make pci subsystem aware of domains. Each host bridge gets assigned a uniqueMark Kettenis
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@
2006-12-14Swizzle interrupts for devices for which we don't have explicit inetrruptMark Kettenis
routing information.
2006-12-12Complete gwk's previous patch to stop setperf methods from returningDimitry Andric
errors to userland: make all cpu_setperf functions return void. Tested by many, ok gwk@
2006-12-09Like the earlier change to powernow-k7.c check for both the regular cpuidGordon Willem Klok
signature AND the AMD extended cpuid 0x800000001 (%eax). Tested by, krw@, Joerg Niendorf <joerg.bsd AT internode.net.au> and steven mestdagh <steven.mestdagh AT esat.kuleuven.be> ok dim@
2006-12-06starfire ethernet works here nowMartin Reindl
2006-11-29Add commented out ips here as well.Alexander Yurchenko
2006-11-29Remove cpu_swapin() and cpu_swapout(), they are no longer necessary (exceptMiod Vallat
for cpu_swapin() on hppa* which is kept).
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago.
2006-11-29Only establish acpi interrupt if ACPI_ENABLE.Mark Kettenis
2006-11-27Added support to GENERIC for disabled acpiJordan Hargrave
2006-11-27move uberry to a nicer placeTheo de Raadt
2006-11-26leave name simpleTheo de Raadt
2006-11-26Enable malo(4) for amd64. Tested with a Netgear WG311v3 PCI. FurtherMarcus Glocker
testing needed. ok deraadt@
2006-11-25remove dpt(4) because it sucks.David Gwynne
ok deraadt@
2006-11-25sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for ↵Niklas Hallqvist
multi-ioapic systems. ok kettenis
2006-11-17Decide whether we need to attach the primary cpu by checking the CPUF_PRESENTMark Kettenis
flag just like we do on i386.
2006-11-07Timecounters for amd64. Diff by art@, tested by many. ok deraadt@Otto Moerbeek
2006-11-06add gem and gentbi; why notTheo de Raadt
2006-10-31Mention that cdboot won't find boot.conf if you create the CDTom Cosgrove
with 8.3-style filenames. Issue raised by Mikolaj Kucharski, eth0 (at) o2.pl. Jointly written with, and ok, jmc@.
2006-10-30install boot.conf as a section 5 page, not section 8;Jason McIntyre
from mikolaj kucharski; ok mk deraadt krw
2006-10-29The default for swap should be partition 'b' on the same unit as root is,Mark Kettenis
not partition 'b' on unit 0. ok deraadt@
2006-10-29Don't need to 'goto done;' when 'done:' is the next line.Kenneth R Westerback
2006-10-29Remove redundant if (msg) {} block around invocations ofKenneth R Westerback
iso_disklabelspoof() and udf_disklabelspoof(). Use (msg && iso_disklabelspoof()) instead. Makes more arch's textually consistant. No functional change.
2006-10-28We don't currently write a disklabel into an OpenBSD ('A6') DOS MBRKenneth R Westerback
extended partition except on alpha, hppa, hppa64 and mips64. So don't spoof extended partitions as 'a' and try to read a disklabel from them. Make all archs consistant. When we can boot from extended partitions we can change to reading and writing disklabels from them. This means the first OpenBSD ('A6') extended partition will now be ignored during spoofing, just as subsequent ones have always been. Feedback from tom@, weingart@ and deraadt@.
2006-10-28Make sure we call _mcount throught the PLT when generating PIC code.Mark Kettenis
ok drahn@, miod@
2006-10-26Driver for MosChip MCS7703 based USB Serial devices.Jonathan Gray
Support for hardware flow control not yet implemented.
2006-10-24Hook brand new trace function into ddb. Now users can send useful tracesMarco Peereboom
without enabling acpi debug. Usage "machine acpi trace". ok jordan
2006-10-21Don't try to spoof 0 length DOS MBR/EBR partitions. By skippingKenneth R Westerback
partitions with 0 in the length field we don't need to test for and skip partitions that are all zeros. Eliminating that code allows elimination of a local pointer. "0 length partitions are definately dead" deraadt@
2006-10-21enable zydTheo de Raadt
2006-10-21Some KNF cleanup.Kenneth R Westerback
De-register. Move declaration to top of function for DOS MBR processing. Indent nit in macppc. No functional change.
2006-10-21We have a pointer (pp), so use it in the DOSPTYP_UNUSED case ratherKenneth R Westerback
than lp->d_partitions[8+n++]. All other cases already use the pointer. No functional change.
2006-10-20Try again with local variable to avoid alignment issues.Kenneth R Westerback
"The dosparts member of cpu_disklabel was not used for any persistant data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@"
2006-10-19s/Mhz/MHz/ in comments and printf() stringsTom Cosgrove
ok jsg@
2006-10-18back out disksubr changes ... since they violate strict alignment onTheo de Raadt
some architectures (kaboom); that will be fixed in the next iteration hopefully!
2006-10-17The dosparts member of cpu_disklabel was not used for any persistantKenneth R Westerback
data. Eliminate it, and just use the data being read in while processing MBR and EBR records. Should be no functional change. ok weingart@ deraadt@
2006-10-17swap is partition b, not partition after root (wherever root is definedTheo de Raadt
to be); pr 5256
2006-10-16Fix some more "is is"s. ok otto@.Tom Cosgrove
2006-10-15Enable bce.Marco Peereboom
Sortof ok with grumblings deraadt@
2006-10-12Bump versions to note behaviour change of no longer tryingKenneth R Westerback
to boot from NetBSD partitions. Requested by tom@.
2006-10-12Don't try to boot from a NetBSD MBR partition when no OpenBSD MBRKenneth R Westerback
partition is found. Change error message to 'no OpenBSD partition'.
2006-10-12Since we no longer look in FreeBSD or NetBSD partitions for theKenneth R Westerback
disklabel, we shouldn't write the disklabel in such partitions either. Brings amd64, arm, i386, landisk, macppc, mvmeppc (which roll their own MBR search in writedisklabel()) into line with alpha, hppa, hppa64, mips64 (which use readdoslabel() in both reading and writing the disklabel). If all goes well, soon everyone will be using readdoslabel().
2006-10-11udcf works here, so add it, ok mblamerHenning Brauer