Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-15 | No need to create links for xxboot now that MI installboot is the preferred | Miod Vallat | |
way to install boot blocks. | |||
2015-10-15 | Let the rx path of cnmac run without the kernel lock. To avoid the need | Visa Hankala | |
of a mutex, the path no longer cleans up the queue of tx requests. ok mpi@ | |||
2015-10-08 | After replacement alloca() with alloc(), out-of-heap happened when booting | YASUOKA Masahiko | |
on a large block size (32K) partition. Increase the HEAP_LIMIT from 0x90000 to 0xA0000. try this, deraadt | |||
2015-10-08 | 16 years after E801 memprobe was disabled, probably safe to delete it. | Ted Unangst | |
ok deraadt jung kettenis ratchov | |||
2015-10-08 | Remove the sc_soft_req_cnt field because the number of tx requests is | Visa Hankala | |
already tracked in sc_sendq. Replace the sc_flush logic with a simple Fetch-and-Add store that avoids an unnecessary IOBDMA transaction. ok uebayasi@ | |||
2015-10-08 | Simpify some code by noting that DOSBBSECTOR is 0, so "if (n > | Kenneth R Westerback | |
n+DOSBBSSECTOR) ..." is pointless, as is "n = n + DOSBBSECTOR;". | |||
2015-10-08 | Add a per-page flag to indicate that all mappings of that page should be | Mark Kettenis | |
uncached. To be used in the drm code. ok mpi@ | |||
2015-10-05 | Fix efiboot not to use the usual kernel load address. Load the kernel in | YASUOKA Masahiko | |
an allocated region and also move the stack to the end of the heap region. Then move the kernel to the usual place just before run the kernel, after calling ExitBootService(). report/test Toby Slight, Brian Conway | |||
2015-10-05 | alpha ramdisk ran out of space, very slightly. Probably due to the | Theo de Raadt | |
development of tame? option CD9660 and mount_cd9660 are already absent, so remove the cd(4) driver ok miod | |||
2015-10-05 | No need to create {sd,wd}boot links to xxboot anymore. | Miod Vallat | |
2015-10-05 | user land -> userland; from Rob Pierce | Theo de Raadt | |
2015-10-03 | correct a memory leak in error code path. | Sebastien Marie | |
noticed by miod@ ok visa@ | |||
2015-10-01 | Use DOS_LABELSECTOR rather than LABELSECTOR to indicate offset into an | Kenneth R Westerback | |
OpenBSD partition when accessing the disklabel. For these files both are '1', but this makes the usage consistent across all archs. ok guenther@ miod@ | |||
2015-10-01 | Remove yet more blinding whitespace. | Kenneth R Westerback | |
2015-10-01 | Remove more blinding trailing whitespace. | Kenneth R Westerback | |
2015-10-01 | Make the alpha pmap (more) mpsafe by protecting both the pmap itself and the | Mark Kettenis | |
pv lists with a mutex. This should make pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) safe to use without holding the kernel lock. This largely reverts rev. 1.75, but now of course the pmap locks are defined to actually call mtx_enter(9) and mtx_leave(9). ok visa@ | |||
2015-09-30 | Nuke a #if 0/#endif block and a related variable. No plans to ever make | Kenneth R Westerback | |
this work better than it does now. Eliminates a stray use of LABELSECTOR. ok miod@ | |||
2015-09-30 | Use #ifndef _MACHINE_DISKLABEL_H_ everywhere. Replace _ARM_DISKLABEL_H_ | Kenneth R Westerback | |
and _SH_DISKLABEL_H_ with _MACHINE_DISKLABEL_H_. Add the guard to loongson and octeon. The #defines are not used anywhere else in the tree so no functional change. | |||
2015-09-30 | Remove some trailing whitespace. | Kenneth R Westerback | |
2015-09-30 | Use consistant whitespace/comments for #define'ing LABELSECTOR, | Kenneth R Westerback | |
LABELOFFSET and MAXPARTITIONS. Easier on the eye when scanning through all these files. No functional change. | |||
2015-09-30 | enable new asmc(4) driver on amd64 | Joerg Jung | |
"go at it" deraadt@ | |||
2015-09-30 | add a (disabled) driver for the Apple System Management Controller (SMC) as | Joerg Jung | |
found in Apple Intel based devices "go at it" deraadt@ | |||
2009-08-04 | By popular demand and peer pressure, check-in work in progress work to support | Miod Vallat | |
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year. | |||
2015-09-30 | How about I delete _all_ the BITFIELDTYPE comments? | Philip Guenther | |
2015-09-30 | Remove some annoying trailing whitespace. | Kenneth R Westerback | |
2015-09-29 | Add missing prototype for bios_getdiskinfo() to amd64/disksubr.c. | Kenneth R Westerback | |
Include systm.h inside #ifdef DEBUG in i386/disksubr.c, as amd64/disksubr.c. Makes amd64 and i386 disksubr.c identical once more. | |||
2015-09-29 | Use the DMTC0 macro and MTC0_HAZARD in the UPAGES > 1 case. Now R8000 kernel | Miod Vallat | |
have all their m[ft]c0 instructions correctly wrapped. | |||
2015-09-28 | More mechanical switching to readdisksector(), although this is a | Kenneth R Westerback | |
slightly different pattern. hppa/macppc compile and boot so hppa64/aviion surely do too! ok deraadt@ | |||
2015-09-28 | In low-level suspend routines, set cold=2. In tsleep(), use this to | Theo de Raadt | |
spit out a ddb trace to console. This should allow us to find suspend or resume routines which break the rules. It depends on the console output function being non-sleeping.... but that's another codepath which should try to be safe when cold is set. ok kettenis | |||
2015-09-28 | Keep sparc/disksubr.c and sparc64/disksubr.c as close as possible. | Kenneth R Westerback | |
Some whitespace/comment tweaks, fix a memcpy() parameter, use the sparc64 idiom when invoking [iso|udf]_disklabelspoof() functions. ok deraadt@ | |||
2015-09-28 | Oops. sparc64/disksubr.c was overlooked when all the other disksubr.c's | Kenneth R Westerback | |
got 'disk_change = 1;' to keep the DUID cache up to date in Feb. 2011. Bad krw@. ok deraadt@ | |||
2015-09-28 | Mechanical changes from manual buf set up to readdisksector(). | Kenneth R Westerback | |
ok deraadt@ | |||
2015-09-28 | Use readdisksector() instead of manual buf initialization. hppa compiles | Kenneth R Westerback | |
and boots, so the identical hppa64 should too! ok deraadt@ | |||
2015-09-28 | Use readdisksector() instead of manual buf initialization. | Kenneth R Westerback | |
ok deraadt@ | |||
2015-09-27 | Use readdisksector() instead of manual buf initialization. sparc64 | Kenneth R Westerback | |
compiles and boots, so the identical sparc code must too! ok deraadt@ | |||
2015-09-27 | Use readdisksector() instead of manual buf initialization. These are | Kenneth R Westerback | |
identical to the amd64 change already committed. ok deraadt@ | |||
2015-09-27 | Add IP26 kernels and boot blocks to the installation media. | Miod Vallat | |
2015-09-27 | Don't forget to put the necessary MFC0_HAZARD in SAVE_CPU. For some reason I | Miod Vallat | |
had put the MTC0_HAZARD in RESTORE_CPU years ago but forgot their counterparts. | |||
2015-09-27 | Use readdisksector() instead of manual buf initialization. | Kenneth R Westerback | |
ok deraadt@ | |||
2015-09-27 | Tweak a bit of daddr_t goodness and make hppa64 disksubr.c identical to | Kenneth R Westerback | |
hppa disksubr.c. ok kettenis@ | |||
2015-09-27 | Eliminate unneeded 2nd buf (dbp). One is enough for any i/o needed during | Kenneth R Westerback | |
disklabel processing. Especially when the 2nd one was not asking for a disk sector worth of buffer space. ok kettenis@ | |||
2015-09-27 | Store the target CPU in "struct intrhand" and use it in intr_barrier(). | Mark Kettenis | |
Also use it wherever we configure the hardware to direct interrupts to the right CPU. | |||
2015-09-27 | free(x, 0) cleanup: | Sebastien Marie | |
- set size argument of free() - remove pointless if expression around free() call ok guenther@ | |||
2015-09-27 | On R8000, make trap() behave closer to interrupt() when servicing a real | Miod Vallat | |
interrupt by not invoking refreshcreds(), but closer to itsa() when servicing a trap-reported-as-interrupt by invoking userret() in that case. No change on !defined(CPU_R8000) kernels. | |||
2015-09-26 | lint is dead and C99 may be old enough to drive a car: delete LONGLONG | Philip Guenther | |
comments ok millert@ | |||
2015-09-26 | lint is dead: BITFIELDTYPE comments aren't useful | Philip Guenther | |
ok miller@ | |||
2015-09-26 | xheart_splx() has to restore the interrupt mask even on secondary CPUs | Visa Hankala | |
because each core has a separate mask. Otherwise the IPI can be left disabled accidentally on a non-primary CPU when the core uses the rendezvous mutex: 1. splraise(IPL_IPI) soft-masks the IPI. 2. An IPI hits and the CPU enters the interrupt handler. 3. The handler hard-masks the IPI. 4. The interrupt is not processed because of the CPU's current IPL. The IPI is left hard-masked on leaving the handler. 5. splx(s) lowers the IPL below IPL_IPI. However, the interrupt's hardware mask is left unchanged because of the CPU_IS_PRIMARY() check in xheart_splx(). After this, the system will eventually hang because the CPU does not respond to IPI requests of other cores. While here, fix a similar situation with CIU interrupts on octeon. This might save a few moments of debugging once non-primary CPUs are allowed to process CIU interrupts. ok miod@ | |||
2015-09-26 | Let MP-safe interrupt handlers run without the kernel lock on octeon. | Visa Hankala | |
ok kettenis@ | |||
2015-09-26 | Add a spinout check to the mips64 mutex, to aid debugging. | Visa Hankala | |
ok kettenis@ | |||
2015-09-24 | It is no longer necessary to include CR_BERR in CR_INT_MASK if CPU_R8000. | Miod Vallat | |