summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
AgeCommit message (Collapse)Author
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
2006-10-10Don't spoof a Free/NetBSD MBR partition as the 'a' partition in aKenneth R Westerback
disklabel. Fixes 'double spoofing' of these partitions as both 'a' and something in the 'i' to 'p' range. OpenBSD changed its MBR partition type to 'A6' eight years ago. As a backward compatibility measure NetBSD and FreeBSD MBR partitions were still spoofed as 'a' partitions when no OpenBSD partition could be found. This bit of backward compatibility is no longer required. 'we can get rid of it' deraadt@
2006-10-06Enable pgt cardbus.Marcus Glocker
requested by brad@
2006-10-04More tidying up after bad144. Remove references in comments andKenneth R Westerback
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around.
2006-10-04Zap bad144 bad sector info in disklabels. Sparsely used if at all forKenneth R Westerback
a few obsolete and easily replaced disk models. And didn't work anyway according to Bob, who has tried. ok beck@
2006-10-03Cease printing mpbios vendor/version strings on AMD64 as well.Gordon Willem Klok
2006-10-01Adjust for change of fpu control word.Mark Kettenis
ok deraadt@
2006-10-01Switch fpu control word to the hardware default. This makes us use 64-bitMark Kettenis
precision instead of 53-bit precision, giving us proper support for "long double". ok deraadt@
2006-09-27Enable uath, works for me.Alexander Yurchenko
2006-09-27Fix tags file creating by removing unexisting paths.Alexander Yurchenko
2006-09-27Add Maxim/Dallas DS2490 USB 1-Wire adapter driver.Alexander Yurchenko
2006-09-27Add files.onewire to all our USB archs, it will be used soon.Alexander Yurchenko
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-09-25Martin VĂ©giard <deadbug AT gmail.com> has been kind enough to rescind theGordon Willem Klok
third clause of his license and strike the phrase "All rights reserved", so we can consolidate both license blocks into one. Thanks!
2006-09-19Enable pgt(4) on amd64. Missing entry spotted by brad@.Marcus Glocker
ok deraadt@
2006-09-18boot(8) ``machine memory'' support for > 4G.Marco Pfatschbacher
Convert parser to strtoll(3) and use 64bit printf. With help from mickey@ i386 and amd64 tests by me, alpha test by mickey@ OK mickey@, miod@, deraadt@
2006-09-16Revert new check for DOS partitions running past d_secperunit (e.g.Kenneth R Westerback
r1.54 of i386/disksubr.c). The check incorrectly handled extended partitions. Possibly a symptom of a deeper problem with extended partition offsets that will be addressed post-4.0. Problem reported/fix tested by A. Velichinsky, cause diagnosed by otto@. ok pedro@ mickey@ miod@ deraadt@
2006-08-29enable arc, ok deraadt@Jolan Luff
2006-08-25Be a little less agressive in declaring the change pending bit stuck, increaseGordon Willem Klok
the number of retries by two orders of magnitude wont affect most systems but will make transitions smoother on marginal ones, if people see "change pending bit stuck" printed to the console after this I would like to hear about it. tested by and ok niallo@
2006-08-24Fix a few more cases where we propogate low level errors to userland.Gordon Willem Klok
found by niallo.
2006-08-24Move d_secpercyl test to after setting default size. Missed in earlierKenneth R Westerback
adjustment of other disksubr.c's.
2006-08-22Same change as on i386: use a case-insensitive comparison when checkingTom Cosgrove
for bogus SMBIOS strings. Fixes identification of millert@'s system.
2006-08-22acx(4) seems to work fine on amd64 here also, so enable it.Jonathan Gray
2006-08-20When spoofing an MSDOS disklabel, don't create partitions with a finalKenneth R Westerback
block past d_secperunit. Fixes devices where bogus partitions with a starting offset > d_secperunit were created. e.g. floppies formatted by Caldera DR-DOS. ok pedro@
2006-08-18add ucycom@uhidev and ucom@ucycom on the usb machines (docs are forthcoming)Jason Wright