Age | Commit message (Collapse) | Author |
|
in_pcb.h header file.
OK mpi@ visa@
|
|
rdomain. Move the printf to the end of the pcb lookup functions.
OK tb@ mpi@ visa@
|
|
So in in_pcbresize() the variant without _SAFE of the TAILQ_FOREACH
macro is sufficient.
OK tb@ mpi@ visa@
|
|
clock controller.
|
|
an inserted fp.
OK mpi@
|
|
|
|
|
|
setup.
LARVAL fd still exist, but they are no longer marked with a flag and no
longer reachable via `fd_ofiles[]'. This allows us to simplifies a lot
code grabbing new references to fds.
All of this is now possible because dup2(2) refuses to clone LARVAL fds.
Note that the `fdplock' could now be release in all open(2)-like syscalls,
just like it is done in accept(2).
With inputs from Mathieu -, visa@, guenther@ and art@
ok visa@, bluhm@
|
|
bootstrap so allocate page tables for the first GB.
ok deraadt@
|
|
calculating the base clock. Also explicitly set the clock if a
clock-frequency property is present as documented in the device tree
bindings.
|
|
|
|
|
|
pointer behind.
OK visa@
|
|
evidence that it doesn't work reliably yet for the Rockchip RK3288 and I
can't test that myself right now.
|
|
|
|
in ddb. This avoids invoking the output pager by accident and keeps
the output somewhat readable in case multiple cores trigger a warning
simultaneously.
|
|
pointer behind.
Pointed out by visa@, thanks!
OK visa@
|
|
Requested by deraadt@
|
|
goto unlock when leaving this block.
OK sashan@ henning@
|
|
ok deraadt@
|
|
variable.
While there, remove TODO about bitching. We haven't felt the need to bitch
since the driver was commited, and we do not bitch in aesni_setup() either.
OK visa@
|
|
ok patrick@
|
|
OK visa@
|
|
Tested on a Lemote Yeeloong 8101B.
OK visa@
|
|
|
|
Some more code shuffling to get rid of one switch in in_ioctl().
This way there is one case for each of SIOCSIFBRDADDR, SIOCSIFDSTADDR
and SIOCSIFNETMASK, starting with a privilege check before any global
data is modified.
ok visa
|
|
Requested by deraadt@
|
|
|
|
From Mathieu <naabed at poolp.org>, ok visa@, tb@
|
|
the serial port speed can be done through the device tree and these days
everybody uses 8N1 for the mode.
ok patrick@, visa@, jsg@
|
|
the serial port speed can be done through the device tree and these days
everybody uses 8N1 for the mode.
ok patrick@, visa@, jsg@
|
|
and in_ioctl_change_ifaddr(). This way there is one case per ioctl
starting with a privilege check before any global data is modified.
The code paths are now straightforward. Some code duplication between
SIOCSIFADDR and SIOCAIFADDR, but that can be addressed later.
tested by hrvoje
ok visa
|
|
sleep_finish_timeout(), and sleep_finish_signal() with error preferencing,
and then use it in five places.
ok mpi@
|
|
previously the ioctl code checked that prio was an int less than
UCHAR_MAX, but the rest of the kernel (and priq code in particular)
expects it to be between 0 and 7 inclusive.
ok krw@ tb@
|
|
From Jan Klemkow, ok mpi@ tb@, ok/bugfix bluhm@
|
|
OK deraadt@, visa@
|
|
sdmmc_io_rw_extended() function and loading the passed buffer
using the bus dma API akin to the SDMMC memory card code. The
2-byte and 4-byte accessors continue to use PIO.
ok kettenis@
|
|
to send/receive data. This basically means that we cannot use any
malloc(9)'d buffer. For this, use dma_alloc(9) to allocate a buf
that can fit a whole SDIO frame (unfortunately without headers).
Keep note that we need to round up the transfer sizes to block-
sized (for TX packets) or 4-byte alignment, since some DMA con-
trollers truncate the request size. If there's anything wrong,
the KASSERTs will catch it.
ok kettenis@
|
|
From Mathieu <naabed at poolp.org>, ok visa@
|
|
SDHC controllers get confused if the ADMA bit is set even though we
don't set the DMA enable flag. This can happen with the SDIO stack
which uses PIO for 4 byte read/writes but DMA for larger transfers
and thus switches from one mode to the other.
ok kettenis@
|
|
This removes the (no-op) -1 and -9 kernel boot arguments.
ok visa@
|
|
just as is done in ffs_reload().
Requested by and OK bluhm@
|
|
KERNEL_LOCK().
Otherwise a deadlock can occur as found the hardway by tb@.
ok tb@, kettenis@, visa@
|
|
are not initialized by U-Boot.
|
|
- name gdt explicitly in struct cpu_info_full
- identfiy ARCH_CAPABILITIES_RDCL_NO and print in identifycpu()
- in pmap.c build U-K table, handle PG_G accordingly
- in pmap_switch() do not unmap the kernel, yet; but all pieces
are in place
- pmapae.c: on boostrap transfer pmap to pmapae tables, build
U-K table and wire it, handle PG_G
from hshoexer@; OK mlarkin@
|
|
ok drahn@
|
|
ok drahn@
|
|
ok drahm@
|
|
include. Reduces the diffs to the amd64/i386 version of this code.
ok drahn@
|
|
Wanted for tentative clock_nanosleep(2) diff, but maybe useful
elsewhere in the future.
ok mpi@
|