Age | Commit message (Collapse) | Author |
|
via flags, using 0x0001.
miod@ ok.
|
|
|
|
-fix several stupid bugs
-get encoding setup correct
-add support for capture
|
|
instead of the pa. Most callers already had it handy and those who didn't
only called it for managed pages and were outside time-critical code.
This will allow us to make those functions clean and fast on sparc and
sparc64 letting us to avoid unnecessary cache flushes.
deraadt@ miod@ drahn@ ok.
|
|
|
|
|
|
|
|
as sparc64 (suggested by fgs@)
|
|
framebuffer found, even if the PROM environment is set to serial console.
Hence, make sure we won't consider this "fb" node as valid until we are
really using a graphics console.
Will makes drahn@'s IPC happy, and ok jason@
|
|
the VSIMM in the dmesg.
|
|
this series.
Thanks to Andrey Smagin (andrey at smagin dot com) for providing a VS10 card.
|
|
|
|
of them.
|
|
|
|
copyout could underflow by one byte and write a \0 where is doesn't
belong.
Don't try to micro-optimize the failure case of copyin and copyout.
It's not worth the bugs.
miod@ ok
|
|
|
|
display. Otherwise, we would panic in wsdisplay_cnattach(). miod@ OK
|
|
is down at the moment.
|
|
by wsconsctl.
ok art@
|
|
For most framebuffers it is faster.
Other changes include:
o 24 bit support in tcx(4) for the S24 framebuffer
o accelerated cgsix(4) text console
o new cgtwelve(4) driver for the GS framebuffer
o improved serial driver code
o better keyboard support
The following framebuffers have not been tested but should work: cgfour,
cgeight and cgfourteen
These changes will require XF4 changes, to use Xwsfb instead of Xsun*, to be
commited later today.
Most of the work by me during the LSM and the week after, with code borrowed
from jason@, NetBSD (new serial code), and feedback from mickey@. Work on
pnozz(4) done by millert@
|
|
vmstat -i works again.
|
|
ddoouubbllyy written characters.
Modeled from the kernel's prom console routines.
|
|
|
|
Loadfile is from alpha, but heaviliy hacked here.
The build is done by building elf versions of boot and bootxx, then
merging the .rodata and .text sections into .text with a horrible hack
and then using objcopy to convert that into a.out.
Maybe someone will want to fix installboot to deal with ELF instead, but
I won't be that someone in the nearest future.
|
|
- _C_LABEL where needed
- Rename syscall to _C_LABEL(_syscall) to avoid name conflict with
_C_LABEL(syscall) (this one was a real nightmare to find).
|
|
|
|
|
|
|
|
|
|
binaries so that we can use objcopy to convert them to a.out.
|
|
|
|
|
|
This makes sure it will be regenerated if you run config(8) again.
|
|
|
|
- try to handle tx ring reclaim in bestart()
- if we pass over the high water mark, enable TX interrupts
- disable them again when the low water mark is passed
Thanks to mickey@ for enduring 4 versions of this =)
|
|
|
|
these check were already OK but have been modified for consistency.
Problem found by Silvio Cesare.
|
|
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas
SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX
(which we already have). deraadt@ OK
|
|
Delete (comment out) 'option NFSCLIENT' in sparc, sparc64, and sun3
RAMDISKs.
This brings the presence of /sbin/mount_nfs in the boot image and the
presence of NFSCLIENT in the RAMDISK kernel into alignment. Except for
sparc64 which will now have mount_nfs removed from the boot image to
save space.
mvme88k RAMDISK did not need to be adjusted as it only *looks* like it
does not have NFSCLIENT. It actually includes the system GENERIC.
Investigation for inconsistancies prompted by todd@.
This solution recommended by deraadt@.
|
|
Pointed out by francisco <frisco@blackant.net>
|
|
|
|
|
|
- support exec traps and deal with them correctly.
- Instead of pretending that the pte permissions are a bit-mask, just
make two stupid 8-entry tables (one for kernel, one for userland) that
provides translation between VM_PROT* masks and pte permissions.
This gives sun4m a non-exec stack.
|
|
|
|
|
|
|
|
an uvm aobj, copy out the signal trampoline into it and share that page
among all processes for the same emulation.
This also requires us to actually be able to tell signal code where the
trampoline is located, so introduce a new field in struct proc - p_sigcode
that is a pointer to sigcode. This allows us to remove all the ugly
calculations of the signal trampoline address done in every sendsig
function in the tree (that's why so many files are changed).
Tested by various people. ok deraadt@
|
|
|
|
|
|
|