Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-04-06 | Use bdev_decl() to get block device function prototypes instead of rolling | Miod Vallat | |
our own (sometimes incorrect). | |||
2011-04-06 | Give this a chance to compile after iopool changes. | Miod Vallat | |
2011-04-06 | Fix a typo causing a sanity check in m88110_syscall() to never trigger. | Miod Vallat | |
2011-04-06 | Sync cpu_match() and cpu_hardclock() with hppa. | Joel Sing | |
ok kettenis@ | |||
2011-04-06 | Move CPL to struct cpu_info. | Joel Sing | |
ok kettenis@ | |||
2011-04-06 | The various read*label() have stopped returning error strings for quite | Miod Vallat | |
some time, and return errnos instead. Fix or remove out-of-date comments mentioning the error strings, and make their callers check the return value against zero, not NULL. | |||
2011-04-05 | Add support for per-rthread base-offset for the %fs selector on amd64. | Philip Guenthe | |
Add pcb_fsbase to the PCB for tracking what the value for the thread is, and ci_cur_fsbase to struct cpu_info for tracking the CPU's current value for FS.base, then on return to user-space, skip the setting if the CPU has the right value already. Non-threaded processes without TLS leave FS.base zero, which can be conveniently optimized: setting %fs zeros FS.base for fewer cycles than wrmsr. ok kettenis@ | |||
2011-04-05 | Provide macros for ssm/rsm. | Joel Sing | |
2011-04-05 | Implement syscall_return. | Joel Sing | |
"Go ahead" kettenis@ | |||
2011-04-05 | Move PSW in struct cpu_info. Also ensure that we leave interrupts disabled | Joel Sing | |
when switching to virtual mode in the trap handler. Re-enabling interrupts whilst in the trap handler for an interrupt makes life interesting. ok kettenis@ | |||
2011-04-05 | Fix logic bug in debug code and enable spllower()/splraise(). | Joel Sing | |
ok kettenis@ | |||
2011-04-05 | Rename a few xbow global variable names to make them less ambiguous. | Miod Vallat | |
Remember the hub widget number of each node, instead of only the master node. Use this in xbridge to compute the proper direct DMA map configuration register value (it needs to embed the hub widget number matching the physical address range). This should allow us to pick memory from a different node than the one we booted from, as the DMA window, if wanted. | |||
2011-04-05 | Enable wide mode for PSW defaults. | Joel Sing | |
ok kettenis@ | |||
2011-04-05 | Remove unused variable. | Paul Irofti | |
2011-04-05 | Save and restore the PSW value when making a PDC call, rather than blindly | Joel Sing | |
reloading from kpsl. ok kettenis@ | |||
2011-04-05 | Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, no | Philip Guenthe | |
one has been weeding it, and it makes life harder. Toasts of Brennivin for its passing from many; diff ok henning@ | |||
2011-04-05 | Get rid of the ATE code, and do not assume the direct DMA window is set up | Miod Vallat | |
at physical address zero onwards, but instead assume it is controlled by the dma_constraints range. This will eventually allow a different window to be selected. | |||
2011-04-04 | Make sure to clear the upper bits of the segment selectors in ddb_regs | Miod Vallat | |
before entering ddb for real, so that `show registers' displays (what passes for) sane values for them. Noticed & prodded by mlarkin@ | |||
2011-04-04 | Add linux_sys_[g|s]et_set_thread_area() support. Okay guenther@. | Paul Irofti | |
2011-04-04 | Correctly disassemble triadic version of {d,}m[ft]c instructions found on | Miod Vallat | |
more and more mips64 processors. | |||
2011-04-03 | Enable the use of all the memory found on IP27 and IP30 kernels. Committed | Miod Vallat | |
from an IP35 system with half its memory outside the dma_constraint range. | |||
2011-04-03 | Add a consistency check for the value returned by pmap_extract() against the | Miod Vallat | |
dma_constraints range in _dmamap_load_buffer. From and ok beck@ | |||
2011-04-03 | Make sure dma_constraint is listed in uvm_md_constraints[] when it does not | Miod Vallat | |
span the whole physical address space, for the pmemrange magic to operate correctly. | |||
2011-04-03 | In mtx_leave(), make sure resetting mtx_lock is the last operation on the | Miod Vallat | |
struct mutex. Modelled after hppa. | |||
2011-04-03 | Remove the `skip splraise/splx for IPL_NONE mutexes' optimizations. It is not | Miod Vallat | |
always gaining anything, and msleep() implementation depends upon mtx_leave() invoking splx(). | |||
2011-04-03 | Blind but plausible iopoolification. If someone ever compiles a | Kenneth R Westerback | |
kernel we'll hear about problems. | |||
2011-04-03 | Move PPWAIT flag from struct proc to process, so that rthreads in | Philip Guenthe | |
a vforked child behave correctly. Have the parent in a vfork() wait on a (different) flag in *its* process instead of the child to prevent a possible use-after-free. When ktracing the child return from a fork, call it rfork if an rthread was created. ok blambert@ | |||
2011-04-03 | Iopoolification of some less common scsi drivers. | Kenneth R Westerback | |
ok dlg@ ("miod will not object" dlg@) | |||
2011-04-03 | Re-enable bce(4) now that it is fixed. | Claudio Jeker | |
2011-04-02 | just some spaces; no binary change. | Marco Peereboom | |
2011-04-02 | Remove the AMD GART based iommu code. | Owain Ainsworth | |
With current strategies to put memory in the ``correct'' place it isn't needed. There's also the problem that it did not work on all machines, failing completely on some and utterly breaking DMA. So just remove it. If anyone needs it it will be in the Attic. ok deraadt@ | |||
2011-04-02 | Iopoolification. | Kenneth R Westerback | |
ok dlg@ "I'm interested" miod@ | |||
2011-04-02 | Enable bigmem by default on amd64. | Bob Beck | |
ok deraadt@ | |||
2011-04-02 | Constraint checking - ensure that physical addresses for dma are below | Bob Beck | |
the top of the dma constraint range and panic if they are not. ok deraadt@, thib@, oga@ | |||
2011-04-01 | Fix comment: amd64's list of callee-saved registers isn't the same as i386 | Philip Guenthe | |
2011-03-31 | Recognize Loongson 3A processors, but don't accept to run on them yet, the | Miod Vallat | |
cache routines are not ready. This is mostly low-hanging fruit. | |||
2011-03-30 | Use #ifdef TRAPDEBUG and fix indentation. | Joel Sing | |
2011-03-30 | Fix diagnostic by correctly initialising oldcpl. | Joel Sing | |
2011-03-28 | Include mlphy(4) to the kernels that include tl(4). | Claudio Jeker | |
OK sthen@ | |||
2011-03-27 | Save r4-r18. Even though the firmware specification says these registers are | Mark Kettenis | |
preserved, the c3700 firmware corrupts the upper half these registers. | |||
2011-03-27 | Make sure the message buffer area is not zeroed unconditionaly, instead let | Miod Vallat | |
initmsgbuf() decide. This gives up a persistent dmesg. | |||
2011-03-24 | Process interrupts in priority order. Joint work with jsing@. | Mark Kettenis | |
ok jsing@ | |||
2011-03-24 | remove whitespace | Robert Nagy | |
2011-03-23 | Including <sparc64/intreg.h> here is ugly, but intr.h only comes from | Theo de Raadt | |
<machine/cpu.h> if _KERNEL is defined. The bootblocks are stupid, and for now they need this. We need more namespace cleanup, for sure. | |||
2011-03-23 | Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently. | Paul Irofti | |
Discussed and okay drahn@. Okay deraadt@. | |||
2011-03-22 | no need for a xxxpower function; ok drahn | Theo de Raadt | |
2011-03-22 | renegade spaces; no binary change | Marco Peereboom | |
2011-03-20 | When reading MXCSR from userland sigcontext or a ptrace request, | Philip Guenthe | |
mask out invalid bits to prevent a protect fault. Original diff by joshe@; further feedback and ok kettenis@ | |||
2011-03-19 | Make amd64/i386 installboot error out if /boot would cross the | Kenneth R Westerback | |
BOOTBIOS_MAXSEC line. ok deraadt@. | |||
2011-03-18 | Add some delay between a successful keyboard reset sequence and a keyboard | Miod Vallat | |
layout inquiry, as some PS/2 converters (at least the Starview SV 125) need it to behave correctly. Found the hard way and researched by Mike Malopolski, thanks! |