summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2012-11-04Switch mvme68k to timecounters.Miod Vallat
2012-11-03Let this build again. diff from deraadt "Sure you can commit that" deraadt@Brandon Mercer
2012-11-02typoMiod Vallat
2012-11-02uvm_km_alloc() allocs bytes rounded up to the nearest page not pages.Jonathan Gray
Problem spotted by and diff to fix this (and convert to km_alloc) from oga ok deraadt@
2012-11-01Switch alpha to per-process astpending.Miod Vallat
2012-11-01In cpu_fork(), correctly set up the stack of the new process if required. ThisMiod Vallat
repairs tfork_thread() operation.
2012-11-01When possible, send multiple characters per packet. Also, stop sending whenMark Kettenis
the transmit queue is full. If the transmit queue is full, set a timeout to get things going again.
2012-11-01Fix merge errors.Joel Sing
Found the hard way by deraadt@
2012-10-31Unbreak build on !i386.Joel Sing
Pointed out by deraadt@
2012-10-31Bump version numbers.Joel Sing
2012-10-31Enable softraid boot support for cdboot(8) and pxeboot(8).Joel Sing
2012-10-31Make cdboot(8) and pxeboot(8) work correctly when it is larger than 64KB inJoel Sing
size. When relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-31Save and restore %ebx across the call to read. Otherwise we load the firstJoel Sing
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000.
2012-10-31Bump i386 boot(8) version.Joel Sing
2012-10-31Enable softraid boot support for i386 boot(8).Joel Sing
2012-10-31Bring softraid support to i386/stand/libsa.Joel Sing
2012-10-31Add support for Intel's Supervisor Mode Access Prevention (SMAP) feature.Jonathan Gray
When enabled SMAP will generate page faults on the kernel attempting to read/write user data pages unless an override flag is set. Instructions that modify the flag are patched into copyin/copyout and friends on boot if SMAP is enabled. Those with access to hardware with SMAP can contact me for a test case. joint work with deraadt@ ok miod@ deraadt@
2012-10-30Apply a bunch of style(9) and whitespace fixes to i386/amd64 libsa, makingJoel Sing
the code actually diffable. No binary change.
2012-10-30Actually remove the Makefiles.Joel Sing
2012-10-30Remove the now unused i386 libsa/libz Makefiles.Joel Sing
ok deraadt@
2012-10-29Set the type of a processed MSI data record to 0, and check that the typeMark Kettenis
is non-zero before handling them, like we do in pyro(4). Seems to fix issues with MSIs on sun4v, so enable them again.
2012-10-29On UltraSPARC T1/T2, block the current strand while spinning in the hopeMark Kettenis
other strands can do some useful work. Idea stolen from Linux. Results in a small, but measurable speedup doing a kernel build and reduces the system time by almost 10%.
2012-10-29add (consistent) STANDARDS;Jason McIntyre
2012-10-29Build i386 cdboot(8) and pxeboot(8) using the same method as the amd64Joel Sing
versions. Compile all required sources directly, rather than linking against uninstalled libraries. Discussed with deraadt@
2012-10-29Bump version.Joel Sing
2012-10-29Enable softraid boot support in pxeboot(8).Joel Sing
2012-10-29Make pxeboot(8) work correctly when it is larger than 64KB in size. WhenJoel Sing
relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-29Bump version.Joel Sing
2012-10-29Enable softraid boot support in cdboot(8).Joel Sing
2012-10-29Make cdboot(8) work correctly when it is larger than 64KB in size. WhenJoel Sing
relocating use blocks that are a maximum of 32KB in size and increment the segment registers after relocating each block. This keeps us within the confines of the %cx register and the real mode segmented addressing.
2012-10-28Use the same (shorter) error message as the i386 version.Joel Sing
2012-10-28Save and restore %ebx across the call to read. Otherwise we load the firstJoel Sing
64KB segment at 0x7c00 and any additional 64KB segments over top of each other at 0x10000.
2012-10-27Also attach to channels name "ldom-<guestname>" (but not "ldom-primary").Mark Kettenis
2012-10-27Make polling work.Mark Kettenis
2012-10-27Move the code for softraid boot into separate files, leaving only minimalJoel Sing
hooks that are called from the normal code path. This allows softraid boot support to be completely enabled or disabled at compile time. For boot(8) all softraid boot support is now enabled by default, including support for booting from crypto volumes. Disable softraid boot support for fdboot, which further shrinks the binary.
2012-10-26Turns out that for devices that attach to cbus(4), it is better to disableMark Kettenis
interrupts up-front and explicitly enabling them later than the other way around.
2012-10-26Previous revision would prevent grtwo(4) boards from being recognized.Miod Vallat
Make sure that what seems to be a 8-bit ID register of value zero does not match as an expansion board, which it can't be, and continue with the specific frame buffer test logic.
2012-10-26Properly clear trap frame in setregs() to avoid leaking registers across exec.Mark Kettenis
ok jsing@
2012-10-25Some LIBC_SCCS found lurking in the shadowsTheo de Raadt
2012-10-22Stop passing around PS_STRINGS in %g1. The ELF ABI reserves this registerMark Kettenis
for passing around a pointer to a cleanup function and we'd like to use it for that purpose in the near future. ok miod@
2012-10-22Stop passing around PS_STRINGS in %g1. The ELF ABI reserves this registerMark Kettenis
for passing around a pointer to a cleanup function and we'd like to use it for that purpose in the near future. ok miod@
2012-10-22missing headerMiod Vallat
2012-10-21Fix thinko in previous.Mark Kettenis
2012-10-21Make sure that there is enough room in the transmit queue to send a VIOMark Kettenis
message. Sleep if necessary.
2012-10-21I want msdos filesystem support on the big bsd.rdTheo de Raadt
2012-10-21Clear a pending channel reset when a device is opened.Mark Kettenis
2012-10-21Needs <sys/device.h> nowMiod Vallat
2012-10-20move sio_intr_shutdown() from being a shutdownhook, and do it directly inTheo de Raadt
boot() as required. ok miod
2012-10-20off-by-one in device number check; found the hard way and reported by J Sisson.Miod Vallat
2012-10-19add an #ifdef HIBERNATE for diffability with amd64Mike Larkin