Age | Commit message (Collapse) | Author |
|
ok dlg@ deraadt@
|
|
|
|
|
|
|
|
windows it doesn't enable the bus master bit in the command register.
This prevents DMA from working. By providing the address space extents
ppb(4) will automatically configure the bridge and set the bit.
|
|
otherwise it would lead to unaligned memory access. Fixes a panic on my
MACCHIATObin.
ok kettenis@
|
|
Since the stacks for kernel threads are not mapped 1:1 this involves
translating virtual addresses into physical addresses when making
OPAL calls.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
and alternatively XOR'd against TSC. now always run both sequences, and
also support rdseed as a third procedure.
ok kettenis naddy
|
|
|
|
In linux kunmap() has a page struct * argument our kunmap() has a void *
argument which results in uncoverted uses building but doing the wrong
thing. Renaming will catch any codepaths that need to be changed at
compile time.
|
|
Our kunmap() has a void * argument with the address to unmap which
results in unconverted uses compiling but doing the wrong thing.
ok kettenis@
|
|
our version of kunmap() takes a va not a page like linux
problem reported by semarie@ on I945GM
|
|
subsystem and ps_klist handling still run under the kernel lock.
|
|
|
|
this is a first step toward making mcx work with multiple rings and
interrupts. one ring is still hardcoded in the driver, this is just
shuffling the deck chairs.
ok jmatthew@
|
|
|
|
|
|
|
|
Other platforms use libsa's ELFNAME(), e.g., elf64_exec() on amd64,
already to load the kernel's ELF section ".SUNW_ctf".
Adapt ofwboot accordingly to enable ddb(4) on sparc64 as well to utilise
CTF information for commands like "show struct".
Hints from mpi
OK kettenis mpi
|
|
to break-pane, move-window, new-window. GitHub issue 2261.
|
|
going from boot to regular operation, which it indicates by returning a
negative number of pages from the QUERY_PAGES operation. We previously
interpreted this as an unsigned number, causing an allocation failure.
We're not actually retrieving the pages and returning them to UVM yet,
but if the firmware's memory requirements become more complicated, we'll
probably have to do that.
problem reported and fix tested by Hrvoje Popovski
ok dlg@
|
|
and advised by dlg;
|
|
ok kettenis@
|
|
ok kettenis@
|
|
Implements the gensub(), systime() and strftime() functions for
greater gawk compatibility.
|
|
Unlike upstream awk, ours has historically allowed unescaped '/'
inside a bracket expression for compatibility with other awk
implementations but the check was too simple-minded. This improves
the matching to allow things like /[]/]/, /[^]// and '/[abc[:digit:]/@#]/'
To enable strict POSIX compliance, set POSIXLY_CORRECT.
|
|
Copy and adapt db_memrw.c from amd64, so ddb can read and write kernel
memory. It can now insert breakpoints in the kernel text. Change
__syncicache() to prevent an infinite loop when len isn't a multiple
of cacheline_size.
Get breakpoints and single-stepping to work.
Single-stepping uses msr bit PSL_SE (single-step trace enable).
Adapt db_trace.c db_stack_trace_print() from powerpc 32, but without
all its features. For now, powerpc64 trace doesn't print function
arguments and doesn't recognize traps.
"go for it" kettenis@
|
|
amount of text, the ERRORS section, in the previous commit
|
|
|
|
Fixes crashes when USB devices are disconnected, caused by an attempt
to close the already closed device: it was closed once when its ref
counter drops to zero (after the last client is disconnected) and once
with an explicit call to dev_close() on the error code-path.
|
|
|
|
|
|
tricky and using the pre-programmed BAR size should always work.
Using bigger BARs might improve performance but it we probably need
other changes (such as making the driver mpsafe) to benefit from that.
|
|
support digital audio output which we don't support (yet) in OpenBSD.
|
|
noticed by jmc@
|
|
tb@ agrees that it should not be part of the public API
|
|
calling code is fine with this unimplemented function returning an error
ok kettenis@
|
|
|
|
tweaks and OK tb@
|
|
|
|
ok jsg@
|
|
false. In theory somebody could plug an old radeon card into a machine
with a ridiculous amount of memory (or a really old PCI/AGP card in a
machine with >4GB of memory) but supporting that scenario just isn't
worth it.
ok jsg@
|