Age | Commit message (Collapse) | Author |
|
Diff generated by Chris Kuethe.
|
|
pages into the queue already containing allocated pages.
breaks i386:setup_buffers() because of this.
|
|
|
|
Testing by Brandon Creighton and Jim Uhl.
|
|
Should also work on Legacy, but tester hasn't reported back yet...
|
|
: date: 2002/09/13 03:00:18; author: chuck; state: Exp; lines: +3 -3
: increase sc_maxxfer from 63K to 64K. otherwise fsck fails for
: file systems with larger block sizes.
|
|
would cause a panic.
To do so, instead of panic'ing in pmap_protect() if the pages which are
supposed to be used for the mapping are out of the affordable pmap limits,
just return, and handle this in pmap_enter, by either returning EFAULT if
pmap_enter has been invoked with PMAP_CANFAIL, or panicing there if there
is no escape.
ok art@
|
|
problems one of my machines was having with phantom scsi luns and no
way to discern which one was the boot device.
|
|
and return a VM_PAGE. This is to allow sparc64 to cheaply record the
VAC color for those pages.
|
|
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.
|
|
- compiles again
- already tested
- less to upgrade later
|
|
ok millert@, rogue ok pjanzen@
|
|
This makes sure it will be regenerated if you run config(8) again.
|
|
|
|
really ELF; necessary for this to compile after the recent <sys/exec_elf.h>
changes. ok deraadt@
|
|
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
|
|
Info from NetBSD, testing by pval and millert.
|
|
consistent with SID/XSID data from Mats O Jansson, Chuck McManis,
Antonio Carlini, Fred van Kempen, and Kees Stravers.
Tested by Fred van Kempen.
|
|
|
|
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@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
do it in those consoles either.
|
|
|
|
|
|
|
|
Some header syncing and a couple network drivers came along for the ride.
Assembly files have been renamed from .s to .S to facilitate diffs.
Kernel is backwards compat - with manual interaction.
OpenBSD features have been preserved.
|
|
|
|
|
|
|
|
|
|
|
|
Use the correct functions everywhere instead.
|
|
that specifies which printf funciton it should use. Implement
db_stack_trace_cmd in MI code.
Thanks to miod@ for all the tests.
|
|
Tested by various people on various platforms, I'm willing to fix any
breakage this causes.
ok niels@ deraadt@ and mickey@ (after his comments were applied)
|
|
we schedule a SIGFPE signal delivery to the faulting process.
However, arithmetic faults come in two flavors: "traps" that are "regular"
exceptions, and "faults" that are restartable exceptions.
In the "fault" case, the frame pc points to the faulting instruction, instead
of the next instruction, in case we could save the world by tweaking memory
and make the instruction not fault again when restarted.
In practice, this led to processes blocked in a SIGFPE loop madness.
To avoid this, add a skip_opcode() routine to compute the address of the
next opcode, effectively skipping the offending instruction ; this routine
is a very stripped-down db_disasm().
While there, enhance the ddb disassembler to correctly recognize and
disassemble two-byte opcodes.
ok hugh@, deraadt@
|
|
is a long-standing problem that recently showed up on vax because
due to some indirection cpp no longer believes the definitions are
equivalent (though they really are). From espie@
|
|
in the SIMH/VAX simulator OK. If anyone has an actual card to test,
a report would be appreciated.
|
|
other architectures and matches NetBSD-current. hugh@ OK
|
|
|
|
|
|
|
|
Currently as no-ops everywhere.
ok art@, deraadt@
|
|
type characteristics.
internal_types.h will contain only settings invisible from standard C, e.g.,
in the __* or _[A-Z]* namespace, and be reused by files like limits.h.
This allows us to shorten machine/limits.h greatly, as all the common defines
are now in sys/limits.h, plus a small stub in internal_types.h.
Tested on all arches as far as I know.
Approved after discussion with art, millert, deraadt, and others.
|
|
|
|
|