Age | Commit message (Collapse) | Author |
|
|
|
|
|
OK henning@ benno@
|
|
Sort of a port from freebsd, but I had to write all the interesting bits
myself. Not very complete yet, but good enough to commit over.
ok kettenis@ deraadt@
|
|
|
|
ok kettenis guenther
|
|
|
|
as implemented in the SolidRun Clearfog and Turris Omnia.
ok kettenis@
|
|
|
|
|
|
ok kettenis@
|
|
|
|
controllers.
ok kettenis@
|
|
ok kettenis@
|
|
|
|
extension to the GIC controller, which is represented as subnode in the
device tree. There can be multiple GICv2Ms, so it makes sense to attach
those to ampintc(4) as some kind of simplebus. The GICv2M is simply an
interrupt generator that can be used by PCIe devices to ring the door
bell. There is no need for further configuration, we only need to find
out which SPIs we are allowed to use for MSI and to register an edge
triggered interrupt on a (randomly) allocated SPI.
Implement support for interrupt types. The GIC only seems to support
level triggered active-high or egdge triggered low-to-high interrupts.
We currently always configure them to be level triggered, which is a
sane default for most controllers. Since MSI interupts on the GIC are
edge triggered, we need to be able to parse the type information and to
configure the interrupt correspondingly.
ok kettenis@
|
|
|
|
and then including '[' in the regular expression by prepending a backslash
to it, remove the backslash before feeding the RE to the RE engine, just
like we already do it for other special characters like .^$*+?{(|.
This makes sed 's[\[xy][...[' treat the xy thingy as a char class.
Joint work with martijn@, OK guenther@ martijn@
|
|
will do
|
|
will be used by the PCIe controller to set up the memory regions for the
PCIe devices. Also export the PCIe IO and MEM address regions. These
will be used to setup the PCIe extents.
ok kettenis@
|
|
After the removal of fd-based read/writes I could have trimmed the code
further.
- no socket-based reads so ber_read() doesn't need to loop until it gets
the desired amount of data
- return either the requested amount of data or -1/ECANCELED, the caller
shouldn't have to handle partial reads itself
- inline ber_readbuf() into ber_read()
ok rob@ claudio@ tb@
|
|
OK jmc@
|
|
|
|
OpenBSD coding practices (fork+exec/privsep/pledge/...). It is only
intended to replace the lpd(8) daemon for the moment, not the lpr(1),
lprm(1), lpq(1) and lpc(8) commands.
This is a work in progress. The server part should be fairly functionnal,
but the printer part is not complete: remote printers should work, for
local printers it depends on the setup. Anyway, at this point it's better
in the tree than rotting on my disk.
ok deraadt@
|
|
From David Bern.
|
|
From David Bern.
|
|
the memory in uvm. Another process could use the false 0 then. To
be on the safe side, protect all access to ku_indx and ku_pagecnt
with a mutex. Update ku_indx and ku_pagecnt before calling
uvm_km_free(). Update ksp after uvm_km_free() to keep accounting
correct.
tested by sthen@; OK mpi@ visa@ deraadt@
|
|
ok kettenis
|
|
ok sthen@
|
|
ok mlarkin@ mortimer@
|
|
|
|
ok beck@ deraadt@ guenther@ mpi@
|
|
It was helpfull in the beginning to know which IMSG are flying around
but unusable (and unsused) since slaacd(8) is on the ramdisk.
|
|
in the installer.
from tb@
|
|
a missing NULL check added by jca@ which fixes the segfault in the installer.
ok jca@ tb@
|
|
from OpenSSL, fixing many bugs and polishing many details
|
|
Rename AUTO to AI so "AI" is used consistently throuhout the installer script
for autoinstall releated variables.
OK krw tb
|
|
fixing an awkward wording noticed by tb@.
OK tb@
|
|
Show proper error message if a regular user executes netstart.
Only do the privilege check if the id binary is available,
which might not be the case during diskless system startup.
ok deraadt, jasper, jca, krw, rpe (who wrote the same diff), sthen
|
|
|
|
Turn the ask_until from type Korn shell to Bourne/POSIX mode.
Use : instead of true in the while-loop to be consistent.
OK krw halex tb
|
|
install.sub's ${*:+$*} substitution in addel().
ok jca
|
|
|
|
Discussed with halex@
|
|
|
|
running out of memory.
Next step, be correct *and* consistent.
ok dennis@ tb@ benno@ schwarze@
|
|
|
|
ok benno@ mpi@
|
|
that the domain block really describes a certificate to manage.
from Ross L Richardson <openbsd at rlr dot id dot au>, thanks
with feedback and ok jmc and sthen
|
|
description, to aid searches. ok and reminder for usb(4) and pci(4) jmc@
|