Age | Commit message (Collapse) | Author |
|
instead of strdup()'ing multiple values from an already strdup'ed
buffer (none of which were checked for NULL upon return, which is
also fixed in this), just use a buffer attached to the aldap_url
struct.
Add an aldap_search_url() function, which is a wrapper around
aldap_parse_url and aldap_search.
Finally, since the URL bits are unused, wrap them in #if 0 for now.
ok pyr@, whose heart was a little broken by the #if 0 (temporary, I swear!)
|
|
loongson cross-tools to be configured correctly.
|
|
|
|
albeit at a lower quality level than on x86, so that the cpu counter-timer
gets preferred by default.
|
|
|
|
|
|
accelerated console. No regression on Lemote Yeelong.
|
|
|
|
|
|
attaches, and use it to walk the PCI bus to figure out where the onboard
frame buffer device lies, if any; and get the frame buffer memory address
from reading the proper PCI BAR instead of hardcoding it; this should allow
the Gdium Liberty to configure its console correctly.
|
|
is moved to specific files, and a pointer to the key configuration structure
is now kept in struct sys_config.
bonito(4) interrupt handling is split, to allow PCI+Legacy interrupt systems
(Lemote Yeelong) and PCI-only Legacy-free systems (Gdium) to coexist
peacefully.
|
|
|
|
reprogram the existing windows to our needs, in case the PCI->DDR window does
not span the whole memory size.
While there, introduce a function to reprogram a window for code clarity.
|
|
many bits as necessary to match the alignment requirements. This prevents
all the I/O BARs to end up using the same address.
|
|
|
|
|
|
ok beck@ krw@
|
|
from Mark Lumsden.
|
|
|
|
|
|
ok kettenis@ (some time ago)
|
|
|
|
ok otto@
|
|
spaces as word separators. Also add . to the list of word separators for
standard word navigation.
From Micah Cowan, tweaked slightly by me.
|
|
|
|
a diff from Micah Cowan.
|
|
command. From Paul Hoffman, thanks.
|
|
requested by cnst
|
|
|
|
native bootloader exists; ok miod@
|
|
|
|
nat rule. It should check to see if it's in-use (i.e. matches an existing
PF state), if it is, it cycles sequentially through other ports until
it finds a free one. However the check was being done with the state
keys the wrong way round so it was never actually finding the state
to be in-use.
- switch the keys to correct this, avoiding random state collisions
with nat. Fixes PR 6300 and problems reported by robert@ and viq.
- check pf_get_sport() return code in pf_test(); if port allocation
fails the packet should be dropped rather than sent out untranslated.
Help/ok claudio@.
|
|
LINK_STATE* defines in <net/if.h>, which were changed Sep 14. this
fixes link state down being treated as up.
ok claudio@ henning@
|
|
don't get into a situation where we are calling event_set() on an event
that was already added.
ok claudio@
|
|
|
|
|
|
|
|
Does not require additional temporary buffer
|
|
|
|
|
|
|
|
workaround in place, the kernel can make use of the whole memory without
freezing.
|
|
|
|
|
|
is intended to be used when compiling kernel code which will run on a
Loongson 2E or 2F processor, and inserts an explicit BTB clear operation
before every jump through a register (jr or jalr instructions), unless
that register is k0 or k1, or we are in .set noat.
This is a reliable, although aggressive, workaround for the misbehaviour
of the branch prediction engine of many Loongson 2F processors with regard
to the Branch Translation Buffer, for which an official errata has yet
to be published, and for which the Loongson suggested workaround apparently
only works due to pipeline side effects, but requires all the executable
kernel code to be located in CKSEG0/CKSEG1.
These changes are inspired by a backport of the Loongson binutils 2.19 patch
to binutils 2.18; the idea of doing an aggressive BTB clear is mine.
This causes no functional change to code compiled without the
-mfix-loongson2f-btb option.
``looks reasonable'' kettenis@
|
|
|
|
|
|
|
|
mips64 (big endian) code. Endian-specific differences are handled within mips64
code with proper cpp tests.
|
|
** it is necessary to update make(1) before building now **
|