summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2013-03-15Revert "allow multiple aperture opens for kms debugging"Jonathan Gray
This reverts commit 221d1391e48b019d0955bc2e3aa9261e6523afb9.
2013-03-09Add agp_bus_dma_rebind(), and interface to re-enter mappings into the GART/GTTMark Kettenis
when we resume or want to change for example the cachability of the mapping.
2013-01-10allow multiple aperture opens for kms debuggingJonathan Gray
2013-01-07Correctly signal SIGSEGV, instead of SIGBUS, for faults caused by access toMiod Vallat
pages mapped without read (or write) permissions. The existing logic would incorrectly match uvm_fault() returning EACCES with the CMMU fault logic reporting a bus error (which will still cause SIGBUS to be sent).
2013-01-07Move exec() libsa prototype to hp300 stand, now that it can no longer beMiod Vallat
found in libsa.
2013-01-07Fix typos.Kenji Aoyama
"Please commit." miod@
2013-01-06acknowlege -> acknowledgeMartynas Venckus
compatability -> compatibility OK jmc@.
2013-01-05Switch m88k ports to ELF.Miod Vallat
2013-01-02Zero out sbv_maskkey to make it boot when there's a softraid cryptoMartynas Venckus
partition. OK jsing@.
2013-01-02miod let one exec.c slideTheo de Raadt
2013-01-01Remove libsa exec.c, not used by anything anymore; all boot blocks now useMiod Vallat
loadfile or a derivative of.
2013-01-01Switch hp300 boot blocks to MI loadfile code.Miod Vallat
2013-01-01Define _STANDALONE, not STANDALONE, in the hp300 bootblocks, to follow theMiod Vallat
common (and expected) practice. This exposes a flaw, in that mkboot, a host tool, gets built with boot block settings (and won't compile if _STANDALONE is defined). Fix this by using different set of CPPFLAGS for host tools and boot blocks. While there, avoid sourcing ../Makefile.inc twice.
2013-01-01Crank NMBCLUSTERS to 4096 to match other 32-bit platforms.Miod Vallat
2013-01-01Remove unused mem_size global.Miod Vallat
2013-01-01Fix gap value when formatting 1.44MB 3"1/2 floppy disks; from NetBSDMiod Vallat
2013-01-01<machine/aout_machdep.h> is not used anywhere in the tree, move to the Attic.Miod Vallat
2013-01-01Add a "memory" clobber to the flush_pipeline() assembly construct, to make sureMiod Vallat
the compiler won't try to outsmart me.
2012-12-31Switch mvme68k boot blocks to use the MI libsa loadfile routines to loadMiod Vallat
kernel images, instead of their own; gives us the ability to load ELF kernels for free. Fix many warnings, and generally make the code closer to the current mvme88k boot blocks to help diffability. Rewrite bugcrt and bugexec() as a short assembly shim around a compiler-independent C block; this will allow compilers other than gcc2 to be used, and removes the need for bugcrt to be compiled without optimization. Crank all bootblocks versions.
2012-12-31Allow native ELF binaries (none yet) to run.Miod Vallat
2012-12-31Remove emulation errno mapping code from platforms that no longer havePhilip Guenther
non-native emulations. ok miod@
2012-12-31Eliminate orig_errno, which could be uninitialized in one case, by doingPhilip Guenther
the emulation errno mapping directly into the register in the trapframe. Range check the value in that case to guarantee there isn't an out-of-bounds array access. Uninitialized variable issue pointed out by David Hill. Range check suggested by matthew@ ok miod@
2012-12-30Prevent a branch-with-delay-slot instruction to be the delay slot of a previousMiod Vallat
branch-with-delay-slot instruction, in the 88100 exception code path, in kernels configured without DDB. This is undefined behaviour, but we have apparently be lucky enough since RAMDISK is known to work on 88100.
2012-12-26Nuke commons.Miod Vallat
2012-12-25Add GENERIC.MPMiod Vallat
2012-12-22Attach all known U3 AGP bridgesMartin Pieuchot
2012-12-22We already zero out the trapframe, so there is no reason to set individualMark Kettenis
members to zero. Gets rid of a bogus comment as a bonus.
2012-12-17Add a list of alpha systems and their SRM footprint in the linker scriptMiod Vallat
comments, in the discussion about the kernel load address, for reference purpose. While there, admit the current value will not let the kernel boot on a GS160. If you are the happy owner of a GS160, can afford the electricity bill, and want to run OpenBSD on it, please contact alpha@
2012-12-17Unbreak bootblocks on Alpha by fixing the primary load address. AMartynas Venckus
typo crept in in rev. 1.13. "yeah! the as800 netboots" naddy@
2012-12-13iMac G3 grahic cards have a ``misc'' pci subclass that's why they weren'tMartin Pieuchot
attached to vgafb(4) since the use of the generic DEVICE_IS_VGA_PCI macro in r1.26. Correct this and document why we should attach devices with such subclass. Fix a regression introduced in august when adding the glue to attach drm(4) on macppc, reported by brynet@ and nick@ on bugs@, thanks and sorry for the delay!
2012-12-10Correct macobio functions to only read and write one byte of data insteadMartin Pieuchot
of four. This fix a kernel panic on PowerMac G5 present since r1.22 of i2s.c, issue reported by Chris Jackman, thanks!
2012-12-10Implement support for Extended Sequence Numbers for the aesni driverMike Belopuhov
exercising the same approach as in sys/crypto/cryptosoft.c rev1.67.
2012-12-10Add cdce(4).Brad Smith
ok deraadt@
2012-12-09clarify that changes to this module were not done by intelMike Belopuhov
2012-12-09get rid of awkward label names and use simple forward/backwardMike Belopuhov
notation; no binary change
2012-12-09whitespace cleanup that's been due a long timeMike Belopuhov
2012-12-09Recognize 7448 and 970MP processors.Brad Smith
ok mpi@
2012-12-08Make ldomd(8) to control the availability of virtual disks to guest domains.Mark Kettenis
This is done by opening the corresponding /dev/vdspN device file. The virtual disk will remain available until that device is closed, which happens automatically when ldomd(8) exits.
2012-12-08Fix a comment now that PowerPC 970 are recognized, make it clear thatMartin Pieuchot
changing the frequency to a quarter mode is only supported by 970MP.
2012-12-08Recognize PowerPC 970 CPUs present in early PowerMac G5 from 2003 (7,2 andMartin Pieuchot
7,3) and let OpenBSD boot on these machines, yay! The 970 are similar to the 970FX except that they are manufactured in 130nm. Fix an issue reported by Andrew Fresh and kirby@ on misc@
2012-12-08Descriptor rings can be larger than a single page, so add the offset insteadMark Kettenis
of or-ing it in.
2012-12-08Make bus_dmamem_mmap(9) honor BUS_DMA_NOCACHE.Martin Pieuchot
ok kettenis@
2012-12-07Use a timeout to do a delayed handshake if the receive queue of the LDCMark Kettenis
channel transitions into the "up" state.
2012-12-06Implement bus_space_mmap(9).Martin Pieuchot
ok kettenis@
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-04Remove the gcc 2 m88k varargs logic. You gave me a lot of trouble and no pony,Miod Vallat
therefore I don't mind you rotting in the Attic for eternity (scheduled to start on the 21st anyway, according to MayaBSD developers). reminded by deraadt@
2012-12-04Attach the 2nd core of SPARC64-VI and SPARC64-VII CPUs.Mark Kettenis
2012-12-04Implement bus_space_mmap(9).Mark Kettenis
ok miod@, mpi@
2006-04-18Oops, correct import this time.Miod Vallat
2012-12-04Enable agp(4)Martin Pieuchot