summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-07-01Stricter probing: Not only check for an AMD cpu with MSRs, but make sureMarc Balmer
it is an AMD Geode LX before reading the GLD_MSR_CAP register. Problem reported by Paul Irofti, thanks. Tested by me and sthen. ok sthen.
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-30re* at cardbus? 'Put it in' brad@ 'Go for it' deraadt@Ian Darwin
2008-06-29Use DEV_BSIZE (defined as 512) instead of 512 when initializing theKenneth R Westerback
disklabel's d_secsize. ok millert@ marco@
2008-06-29Don't fail compilation if APERTURE is not defined.Anders Magnusson
Also, fail probe if APERTURE is not defined. Ok Marc Balmer.
2008-06-29Split k8_powernow_setperf into two functions, the new function calledGordon Willem Klok
k8pnow_transition handles the actual transition, this change is necessitated by some of the ACPI work which can involve dynamic changes in the available states in response to endogenous events such as removing the AC power. This new code is designed to cope with the current operating point not being among the newly available states in which case we recalculate what the current desired performance level coresponds to among the new states. Also fix a screw up with the acpi_states function (fix originally by Markus Hennecke in a diff to tech@ thanks) which resolves PR 5854. Diff tested by numerous people thanks! ok marco@
2008-06-29Revert 1.8, and reenable branch prediction on swift cpus. Ten years of trap.cMiod Vallat
and locore.s changes have fixed the condition incorrectly blamed on branch prediction, and these processors run fine with it enabled.
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
2008-06-27Add uvideo(4).Brad Smith
ok mglocker@
2008-06-27add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26add bio & bioctl to a couple cd based ramdisksTodd T. Fries
ok deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-26Typo, CMD -> AMDBrad Smith
2008-06-25Move .rodata 512KB further, since kernels will soon reach the address .rodataMiod Vallat
is currently linked at. This should eventually be replaced with a proper alignment construct in the ld script, but it's too hot and too late to do this correctly and I need a kernel that links (containing stuff to reach a cvs tree near you reasonably soon).
2008-06-25Support the Intel G35 which apparently works similarly to the 965.Owain Ainsworth
Initial information, half the diff, and testing from Andrew Lutomirski, thanks!
2008-06-25this diff changes the bootloader to skip the CHS sanity check if LBAReyk Floeter
(EDD) is found and OK. it will also fix chainloading into OpenBSD from grub in a few scenarios where grub doesn't report the CHS correctly but the LBA. and we don't need CHS if there is LBA. this has been in the snapshots for a while. with input from weingart@ ok deraadt@
2008-06-25auglx(4) is an audio(4) driver for the AC'97 audio codec found onMarc Balmer
some AMD Geode LX systems with CS5536 companion chip. It works similar to auich(4) and auixp(4), but the hardware dependent parts are quite different. Tested with various PC-Engines ALIX boards (1B, 3C3) and a WebDT 186 board. feedback many, ok deraadt & jmc (documentation)
2008-06-25allow to install and boot the OpenBSD A6 partition and disklabel in anReyk Floeter
extended DOS partition. the concept of extended partitions is very simple, it is just another mbr at the partition offset (well, the standard "EBR" is a linked list with a few limitations, but this diff works with both variants). this diff has been in the snapshots for a while. with input from weingart@ and krw@ ok deraadt@
2008-06-24On user/kernel shared page table machines, do not let processes map theirTheo de Raadt
own page 0, as discussed with miod (and many others previously, including art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant ok miod tedu
2008-06-23amd64s bus_dma internals use a pointer to a lastaddr variable to keepDavid Gwynne
track of where it was up to when building dmamaps. that lastaddr variable is not initialised every time you start to load a dmamap, so it was using random stack garbage as state when first writing the sg list. fortunately the way it was used meant it was extremely unlikely to cause a problem, but why allow even that possibility? this inits lastaddr to 0 in all the callers of load_buffer. ok miod@
2008-06-22Like alpha, db_stack_dump() on mips and sh needs complete frame informationMiod Vallat
and can not work from a stack address only. Mention this and abort instead of printing a wrong trace. (prefer kern.splassert=3 to =2 on these platforms)
2008-06-22One last forgotten FREE().Miod Vallat
2008-06-20Re-enable amdmsr(4) now that it properly checks for AMD Geode LX CPU andMarc Balmer
the presence of the graphics processor. ok deraadt
2008-06-19comment out the com4 because -- even when disabled -- it shuffles all theTheo de Raadt
other com port numbers and is really really hard to diagnose. spotted by sthen
2008-06-19Add OpenBSD CVS marker, proper type for probe function.Marc Balmer
2008-06-19add ix(4) to GENERIC, enable it on i386.Reyk Floeter
ok deraadt@
2008-06-18Attach amdmsr(4) at mainbus in a way that it can be disabled in UKC or theMarc Balmer
config file, only configure the driver when we have an AMD Geode LX CPU and the graphics processor is available. mainbus part by miod, ok miod, matthieu
2008-06-17totally skip amdmsr until it is fixed for realTheo de Raadt
2008-06-15Disable amdmsr(4) until the match function _ONLY_ lets it work on Geode's,Theo de Raadt
and then, only people who buy them will end up with this insecure hell.
2008-06-15ipmi is working a wee bit better, but still not perfectly. let us re-enableTheo de Raadt
it so that more people run it by default again, and perhaps we will get insight again into what the problem is..
2008-06-15When APERTURE is not defined, always return ENXIO.Matthieu Herrb
Suggested by mk@, ok miod@ deraadt@.
2008-06-15with powerbooks and ibooks, default to adb keyboard for console (and ddb>)Todd T. Fries
ok drahn@
2008-06-15On AMD64 running on Intel processors with EST add support for retreivingGordon Willem Klok
operating points from ACPI. In support of this add evaluation of the _PDC object and give it the capability flags asserting OSPM management of CPU power states. ok marco@, canacar@
2008-06-15this should be a MD include file; discussed with matthieuTheo de Raadt
2008-06-15Don't bypass partition bounds check for RAW_PART. We now guarantee thatKenneth R Westerback
RAW_PART will always be 0 -> disksize, so the bounds check will always pass for i/o's to valid addresses. Now the i/o will be properly truncated if it goes past the end of the device. This prevents various adverse impacts of issuing i/o's for data past the end of the device. Repeatedly requested by todd@. ok weingart@ deraadt@
2008-06-15Ensure that when using the ACPI tables the RVO field is initialized from the ↵Gordon Willem Klok
ctrl value. commit it marco@
2008-06-14Add amdmsr(4), a driver to access model specific registers on AMD CPUs.Marc Balmer
Needed for the upcoming AMD Geode LX graphics processor X11 driver. discussed with, feedback, and ok matthieu and deraadt.
2008-06-14Mask the upper 56 bits of the rx ports when reading them, pckbd_input() willMiod Vallat
rely on this very soon.
2008-06-14Correctly calculate wired_count of pages on i386. Now, pmap->pm_stats is onlyHans-Joerg Hoexer
updated when we actually can commit the pte. With mickey. ok art@ weingart@
2008-06-14defininig NATIVE_EXEC_ELF is mandatory on ELF platforms.Miod Vallat
2008-06-14A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO)Michael Knudsen
conversions that should shave a few bytes off the kernel. ok henning, krw, jsing, oga, miod, and thib (``even though i usually prefer FOO|BAR''; thanks for looking.
2008-06-14Add cmp(4) here too.Mark Kettenis
2008-06-13Add some missing $OpenBSD$ tags.Kenneth R Westerback
ok drahn@ gwk@
2008-06-13Detect if Intel's Safer Mode Extensions (SMX) are present,Jonathan Gray
See http://download.intel.com/technology/security/downloads/31516804.pdf for more information. ok deraadt@ 'looks ok to me' djm@
2008-06-12Add ral(4) at cardbus(4).Mark Kettenis
2008-06-12Add ep(4) at pcmcia(4).Mark Kettenis
2008-06-12Add xl(4) add cardbus(4).Mark Kettenis
2008-06-12Add re(4) add cardbus(4).Mark Kettenis