summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2011-08-16Don't export 'struct pmap' to userland.Mark Kettenis
2011-08-09In pmap_create(), check uvm_pagealloc() return value and uvm_wait() until itMiod Vallat
is non-NULL. Prevents a panic caused by a NULL dereference when physical memory is exhausted at pmap_create() time. ok kettenis@, deraadt@
2011-08-07A few more fixes to the lazy FPU context switching code.Mark Kettenis
2011-08-07Avoid clobbering system call arguments upon system call entry.Mark Kettenis
2011-08-07Enable ssio(4) and com(4).Mark Kettenis
2011-08-07Bring over ssio(4) from hppa for proper serial console support.Mark Kettenis
2011-08-07Recognize 64-bit store instructions.Mark Kettenis
2011-08-07Make sure interrupts are properly masked at the level they're established at.Mark Kettenis
The old code left an interrupt enabled at that level, making spl-protection non functional. Remove __packed from struct hppa_iv. Instead re-order the members to pack things efficient on a 64-bit host. Remove explicit padding.
2011-08-04Make this compile with gcc4. Same fix as for hppa.Mark Kettenis
2011-08-03Fix linux compat breakage: can't copyin() from kernel-space, soPhilip Guenthe
move that out of i386_set_threadbase(), and have clone() pass NULL to fork1() for the child func argument so that it gets the child proc pointer. Report and verification by pirofti@, heavy lifting by matthew@
2011-08-02Add softraid (and option CRYPTO as pointed out by todd).Matthieu Herrb
Tested on my thecus. ok miod@, todd@, deraadt@.
2011-08-02disable mmuagp due to reports it breaks some machines.Theo de Raadt
oga has disappeared
2011-08-01Synch with hppa. Seems to fix at least one of the remaining pmap bugs.Mark Kettenis
2011-07-30Send SIGBUS instead of SIGSEGV for unaligned access which is not emulatedTheo de Raadt
ok kettenis
2011-07-25Disable MSI for now; something is still not quite right on UltrSPARC T2Mark Kettenis
systems.
2011-07-22Fix PMAPDEBUG compileMiod Vallat
2011-07-21Support for the eBenton EBT-700 netbook, which is similar to the LemoteMiod Vallat
Yeeloong, but with a 7" display with a 800x480 resolution, and no webcam. There are still problems to get it booting from disk from PMON (colour me unsurprised), which are being looked at. Loading the boot blocks from a FAT USB stick, to then boot the kernel from the disk, is a reliable workaround in the meantime. Tested by Ban Keong Yee (bankeong dot yee on gmail) who is the ``lucky'' owner of such a machine, thanks for your time!
2011-07-19we need to alias __movstr* as __movmem* for gcc4Jonathan Gray
from NetBSD. ok miod@ drahn@
2011-07-19Warn about but don't prevent installboot from installing /boot whenKenneth R Westerback
the OpenBSD partition starts at >128G. This restores previous behaviour but adds the warning. ok deraadt@ guenther@
2011-07-18take us to 5.0-betaTheo de Raadt
2011-07-17Backout a bunch of my SCSI commits from c2k11. At least one of theseMatthew Dempsky
is causing problems when trying to boot sparc64 from an isp(4). Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
2011-07-16device_register() is called on the scsibus(4) devices beforeMatthew Dempsky
scsibusattach() is called, so saa_sc_link->bus hasn't been initialized to a valid pointer yet. Easy fix: Use dev->dv_unit instead of poking into the attach args. ok krw@, jsing@
2011-07-11Revert art@'s moving around of the KERNEL_LOCK()/KERNEL_UNLOCK() calls,Philip Guenthe
as it causes hangs in some ports, including libsigsegv's configure script confirmed by krw@, landry@
2011-07-11Add hibernate_read_block and fix a couple of typos in the previous commit.Mike Larkin
2011-07-10remove irrelevant commentsTheo de Raadt
2011-07-10remove irrelevant old commentTheo de Raadt
2011-07-10Register the Heart clock as a timecounter on Octane systems.Miod Vallat
2011-07-10Do not register the per-cpu counter as a system timecounter on MULTIPROCESSORMiod Vallat
kernels, as there is no way to sync the counters between all processors.
2011-07-10Move the vax/boot code to vax/stand. A cvs 'mv' with de-tagging has beenTheo de Raadt
done behind the scenes to retain history. Having all the bootblocks in the same architecture sub-directory satisfies several principles. ok miod
2011-07-10bring in more libgcc type thingies for new libzTheo de Raadt
2011-07-10Oops. Copy just the comment about the checkdisklabel() call, notKenneth R Westerback
the checkdisklabel() calls themselves. What's good for hppa/hppa64 is not necessarily good for sgi/macppc. Spotted by deraadt@.
2011-07-10If there is recognized MD disk partitioning info, use it to determineKenneth R Westerback
where to write the OpenBSD disklabel even if there isn't yet a valid OpenBSD disklabel at that location. Alpha/Mac68k/Sparc/Sparc64 to come.
2011-07-09Unbreak hppa boot(8) after zlib update.Joel Sing
ok deraadt@
2011-07-09Repair boot32 build after zlib upgrade.Miod Vallat
2011-07-09Switch to new write function that does range/chunk compression using zlibMike Larkin
2011-07-09Update hibernate_populate_resume_pt to include new ranges that need to beMike Larkin
mapped during resume
2011-07-09Call (temporarily, until we have RLE page encoding) uvm_pmr_zero_everythingMike Larkin
on suspend to ensure we get good zlib compression. Add MI signature block (hibernate_info) comparison routine
2011-07-09syscall() can be a lot simpler on hpaa64.Mark Kettenis
2011-07-09Add an atomic compare and exchange operation dealing with addressesPaul Irofti
from userland for i386. Okay art@, assembly okay mlarkin@.
2011-07-09Extract hibernate_write_signature and hibernate_clear_signature to the MIMike Larkin
hibernate code, and add chunk range overlap checking.
2011-07-09Extract MI pmap function hibernate_enter_resume_mapping, refactor old i386Mike Larkin
resume pmap code to match. Add hibernate deflater and inflater and cache flush routines. Code is not presently called or automatically built.
2011-07-09begone, fucking rotten appletalk shit. ok roomHenning Brauer
2011-07-09Add zlib reset, alloc, and free functions for hibernate image compressionMike Larkin
2011-07-09Separate some MD and MI bits and a bit of refactoring to make subsequentMike Larkin
commits easier. Work in progress, hibernate will still not work for you. ok deraadt@
2011-07-08Cleanup calculation of OpenBSD disklabel location on DPME partitions. The labelsKenneth R Westerback
should go in the first block of the OpenBSD partition. Don't try to fake this out by tweaking the partition offset, which just confused other disklabel consumers. Problem noted on ppc@ by Mathieu Olivier some time ago. ok drahn@
2011-07-08Don't accidentally mask off the T_USER bit before calling trap().Mark Kettenis
At least mickey was as confused by the backwards hppa bit numbering as I am.
2011-07-08First batch of converting SCSI HBAs from setting saa_targets andMatthew Dempsky
saa_luns instead of adapter_buswidth and luns in the prototype link. ok dlg@, miod@
2011-07-08Remove useless labels from copyin and copyout.Paul Irofti
Noticed by matthew@, `go for it' guenther@.
2011-07-08Only compile hibernate_machdep if option hibernate is set.Ariane van der Steldt
Unbreaks i386 kernel build. ok mlarkin@
2011-07-08Unbreak macppc bootloader due to libz changes.Dale Rahn