summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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
2008-06-12Add malo(4) at pcmcia(4).Mark Kettenis
2008-06-12enable uvideo(4) video(4)Robert Nagy
2008-06-12Enable /dev/video* for all USB capable archs. MAKEDEV bits will followMarcus Glocker
shortly. OK todd@
2008-06-12theo says: enable, enable, enable uvideo(4)Robert Nagy
Some of the cams are fairly working now and we want to see more of them in dmesgs.
2008-06-12wdc(4) at pcmcia(4)Mark Kettenis
2008-06-12Enable com(4) at pcmcia(4).Mark Kettenis
2008-06-12Add dc(4) at cardbus(4).Mark Kettenis
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11When reading a GPIO pin, first determine if it is programmed for inputMarc Balmer
or output and then read the value from either the GPIO[x]_READ_BACK or GPIO[x]_OUT_VAL register. This allows to read back LED (output) states as well as input states (buttons). Problem noticed by Rolf Sommerhalder, fix by me.
2008-06-11Fix GART enabling by using segment end address instead of totalTobias Weingartner
physmem. This should be more correct than earlier code. Thank you to Markus Hennecke <markus-hennecke -at- markus-hennecke.de> for reminding me.
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-11actually unbreak RAMDISK. double plus minus cookie for mePeter Hessler
2008-06-11unbreak RAMDISKPeter Hessler
no cookie for me
2008-06-11Synchronize the MTRR API with i386, and enablePeter Hessler
"just commit it" deraadt@
2008-06-11Match the Altera EBus found on the Tadpole SPARCLE.Mark Kettenis