summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2008-07-05The firmware on the v1280 changes %wstate behind our back. Work around thisMark Kettenis
problem by adopting the same encoding used by Solaris for the kernel windows. Note that this involves rearranging the trap vector tables, both fur sun4u and for sun4v.
2008-07-05Don't play games with %cleanwin when spinning up secondary CPUs. The firmwareMark Kettenis
on the v1280 doesn't like it if we change it behind its back.
2008-07-04Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.Mark Kettenis
2008-07-04Change trapbase from a pointer to a variable-length array such that it canMark Kettenis
actually be used to access trap vectors.
2008-07-04Add a little hack to recognize the boot device on the v1280.Mark Kettenis
2008-07-04Make debug code compile.Mark Kettenis
2008-07-04Add support for ssm nodes as found on the v1280 and bigger machines. For now,Mark Kettenis
we pretend that ssm is mainbus. Perhaps I'l turn it into a real bus driver later.
2008-07-03add rum(4)Todd T. Fries
ok deraadt@
2008-07-03Remove clauses 3 and 4 from NetBSD license.Ray Lai
OK deraadt
2008-07-03Remove NetBSD license which, after removing clauses 3 and 4, isRay Lai
identical to the one above it. OK deraadt
2008-07-02add CRYPTOTodd T. Fries
ok deraadt@
2008-07-02add softraidTodd T. Fries
ok deraadt@
2008-07-02add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-02Enable FFS2.Brad Smith
ok deraadt@
2008-07-02* Dynamically set the rbus start address. from netbsd.Federico G. Schwindt
* For amd64, remove pcibios traces. * make RBUS_IO_START, RBUS_IO_SIZE, RBUS_MIN_START and RBUS_MEM_SIZE (on i386) configurable via kernel options. * Remove unneeded headers. * Some cleanups. originally reported in pr/5829 and tested by viq <viq at viq dot ath dot cx>. fixes ian@ laptop too. kettenis@ and miod@ agrees that although not perfect, this is the right direction.
2008-07-02move to 4.4-betaTheo de Raadt
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01Remove a now unused variable.Marc Balmer
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.