Age | Commit message (Collapse) | Author |
|
and tweaking appropriately)
- add support for VADDR->PADDR mappings expected by the X server
- fix attachment error handling (it depended on bus_space_vaddr() working
for non-linear mappings).
|
|
|
|
ok deraadt
|
|
them available via sysctl (doc update in a bit); ok millert.
|
|
both a "next" pointer for a singly-linked list and as an in-use flag.
This obviously does not work all that well. This change adds a separate
ih_busy flag to mark the handler as in-use, leaving ih_pending for use by
the list code.
Testing by *many* (thanks).
ok miod jason
|
|
|
|
try to use short cuts, and would not correctly initialize its channel if a
keyboard is connected to it, which might have been done on purpose.
It would then become impossible to run X11 on this machine afterwards.
Fix this by being more cautious during the probe, at the extent of a couple
of seconds if no keyboard is present.
Tested by various, ok deraadt@
|
|
- handle openfirmware error reports correctly
ok pb
|
|
on faster systems under heavy network load. This replaces some of the
unreadable iommu functions with something a little less dense and a lot
less crash prone.
The bus_dma function pointer/cookie handling was broken. Change them
to work like the stacked bus_space drivers (where "work" is the key
word).
Tested my many (thanks).
ok jason@ deraadt@
|
|
PCI configuration space is actually one "0" larger. Noticed on an
E450 with all 10 PCI slots populated.
ok jason@
|
|
(based on a larger diff from henric).
|
|
|
|
|
|
|
|
pointed out by henric
|
|
|
|
doesn't crash.
|
|
when attaching the pcibus... Still working on it =)
|
|
|
|
- fix debugging code so it doesn't generate crashes itself
|
|
Reduce the size of a GENERIC kernel by ~190k
Remove the nasty pointer/bus_space_handle_t casts
Adds debug bus_space code including the ability to trace
bus operations (it actually works now).
The following rules are now followed (and verfified by the debug
code):
1. A "bus_space_handle_t" may only be used with the
"bus_space_tag_t" that created it.
2. Only "bus_space_map()" may create "bus_space_handle_t"s.
3. A "bus_space_handle_t" may not be modified after it has
been created (other than being destroyed by "bus_space_unmap()").
Thanks to help from mcbride, marc, jason, drahn, to anyone that might
have slipped my mind at the moment.
ok jason@, deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
too small
|
|
the msgbuf on this box either.
ok jason@ (a very, very long time ago)
|
|
Doesn't change how the kernel layout occurs, and is required for upcoming
binutils/ld change.
|
|
|
|
store function pointers in the pci_chipset_tag_t (ie. fix an ugly hack
I did during the hackathon last year).
|
|
|
|
remaining instances of them with appropriate copy(9) usage.
ok art@, tested on all arches unless my memory is non-ECC
|
|
doesn't blow up. This is a hack but is better than compiling sha1.c
with -O0 on sparc64. From NetBSD (mrg).
deraadt@ OK
|
|
|
|
set from <sys.mk>
|
|
from incorrect values, and restore it after X11 use (from macppc).
|
|
the keyboard (oops). This also fixes a bad interaction with wskbd_cnattach
that would hose the underlying sabtty device.
|
|
Instead of allocating a static amount of memory for the data
structures via valloc() in allocsys(), allocate things dynamically
using pool(9) when possible and malloc(9) when not. The various
members of struct seminfo and struct shminfo are in kern.seminfo
and kern.shminfo respectively (not all members of kern.seminfo are
changable).
The data structures used still leave something to be desired but
things are not made worse in that respect by this commit.
|
|
frame buffers, and produces less confusing dmesg output.
|
|
|
|
altq is merged into pf and handled through pf.
|
|
|
|
endian modes. This makes ti now work on macppc and sparc64.
While we're at ti, clean up a bit of the code:
Use SLIST instead of LIST
Remove register
Use bus_space instead of bcopy/bzero
Don't use bitfields since it makes dealing with endianness annoying.
ok jason@, deraadt@
|
|
be necessary soon); from henric@
|
|
interrupt map matches; from FreeBSD.
|
|
attack protection scheme, into gcc.
This protection is enabled by default. It can be turned off by using the
-fno-stack-protector flag.
Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific
integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and
myself; beer drinking by myself.
Please note that system upgrades with this new code will require a new
libc and ld.so to be build and installed before the propolice-enabled
compiler can be installed.
|
|
attach it with the appropriate keymap table, rather than the default KB_US
table.
If this is not the expected behaviour, users can still revert to US layout
via "kbd us" or "wsconsctl -w keyboard.encoding=us".
As the installation media uses the prom console, which will honor the
international keyboard layout, this will definitely help users with
international keyboards and fancy characters in their passwords...
Note that there is still some Sun keyboard tables missing at the moment.
|