summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2006-11-19Handle operations larger than will fit in the buffer we allocate,Tom Cosgrove
by processing in a loop. And bump the size of this buffer (32KB taken by the driver shouldn't be a problem). Also reduce the places we hard-code the AES block size of 16. Still disabled (doing more testing), but I want to commit before the aged hard disk I have in the system here dies. (This commit from the Geode system with the AES enabled.)
2006-11-19Improve the AES acceleration, by allocating a contiguous DMA-ableTom Cosgrove
buffer on attach, and using it for encrypt/decrypt operations. Still disabled, since the driver cannot currently handle an operation larger than supported by this buffer. (Interactive ssh does work with this code, however.) "commit, of course" deraadt@
2006-11-17Add code for AES acceleration. This is currently disabled withTom Cosgrove
`#undef CRYPTO' since it doesn't work properly yet. Committing in order to get it into the tree. "get it in" deraadt@
2006-11-17Fix typo to let this compile.Tom Cosgrove
2006-11-17Make sure we copy the IV back into the session structure, not theTom Cosgrove
softc. Fortunately this branch (when neither CRYPTO_F_IMBUF nor CRYPTO_F_IOV is specified) is not currently used. ok hshoexer@ jason@
2006-11-15Add commented out entries for acpimadt(4) and acpiprt(4).Mark Kettenis
ok deraadt@
2006-11-15do not go processing normal interrupts after ipi.Michael Shalayeff
this is to avoid spins at high spl especialy on cpu0. other local interrupts (timer and softint) still do also pending interrupts processing. niklas@ ok
2006-11-11Get rid of magic isa and eisa bus numbers in mpbios code. Pave the way forMark Kettenis
alternative sources for interrupt information. ok gwk@, brad@
2006-11-06add gem and gentbi; why notTheo de Raadt
2006-11-05Add deduced power state table for 1.00 GHz VIA Eden 90nm 'Esther'.Dimitry Andric
Tested & confirmed by Greg Mortensen, thevision at pobox.com
2006-11-02enable vic(4) now that it works.David Gwynne
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-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-26Driver for the AMD Geode LX series processor security block.Tom Cosgrove
Currently just uses the RNG; AES support to be added later. ok deraadt@
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-22more bits of cleanup before marco gets to playTheo de Raadt
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-19indentTheo de Raadt
2006-10-19Fix the spellings of Cool'n'Quiet and PowerNow! in a couple of places.Tom Cosgrove
ok deraadt@
2006-10-19s/Mhz/MHz/ in comments and printf() stringsTom Cosgrove
ok jsg@
2006-10-19geodesc needed for Geode SC1100/SCx200 machines to reboot; noted by tomTheo de Raadt
2006-10-18Decide whether we need to attach the primary cpu by checking the CPUF_PRESENTMark Kettenis
flag. tested by ckuethe@, ok deraadt@, gwk@
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-18Short-circuit the detection of the FPU by checking the CPUID features,Tom Cosgrove
as done in FreeBSD. Fixes problems on AMD Geode LX-800 where our detection logic doesn't detect the FP exception. ok deraadt@ kettenis@
2006-10-18do not enable watchdog functionality if small kernelTheo de Raadt
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-17Set the Geode SC1100-specific reset function in the geodesc driver,Tom Cosgrove
rather than when CPUID says we're on any Geode. Should avoid reset failure on Nokia IP110s and other non-SC1100 Geode-based systems. Reset should hopefully still work on Soekris Net4801s and PC Engines WRAP systems, but no-one bothered to test and report back in two days. "commit" 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-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-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
ok deraadt@
2006-10-05only take in an account <4g memory for bufcache calculation as the upper ↵Michael Shalayeff
part will not participate anyway; pedro@ ok
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 the mpbios vendor/version strings, smbios provides muchGordon Willem Klok
more informative information. ok in principal deraadt@, krw@, mickey@ this change with newline fixes ok krw@
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-29If we don't find a matching CPU signature using the base CPUID call, tryGordon Willem Klok
matching against the extended CPUID (0x80000001) signature. Problem found by, and patch based on work by jason@. ok jason@
2006-09-29kill trailing some spacesMarco Pfatschbacher