| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
| |
ok guenther@
|
|
|
|
|
|
|
| |
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@
|
|
|
|
|
|
| |
fixed stack area of the exec'd image, and risking hitting process limits,
should we want to increase stackgap_random, the randomness is applied to the
stack region in the process' vmspace.
|
| |
|
|
|
|
|
|
|
|
|
| |
bufq.
guenther pointed out this is one of the last things using the compat
in struct buf that we still have from the disksort days. not anymore.
ok miod@ guenther@
|
| |
|
|
|
|
| |
in all MD apmvar.h.
|
|
|
|
| |
and if so, force soft carrier mode.
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
| |
now that the disklabel code will reduce MAXDISKSIZE to the real size if a Sun
label is found.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
usually invoked after initdisklabel() which proactively changes a zero disk
size to MAXDISKSIZE, causing this test to fail.
Allow for MAXDISKSIZE too in that test. This makes spoofed disklabels of SMD
disks have a proper `c' slice size.
luna88k disklabel_om_to_bsd() is modified accordingly, to keep diffability,
even though luna88k can't - to the best of my knowledge - sport SMD disk
controllers.
ok deraadt@ krw@
|
|
|
|
|
|
|
|
|
|
|
| |
because it teaches us the drive geometry, but from then on there is no reason
not to implement disklabel spoof support and a proper DIOCGPDINFO ioctl.
As a result, this makes disklabel -A now work on SMD disks.
The drawback of this, is that, since native labels do not have a pcylinders
value, the code will now always assume pcylinders == ncylinders + acylinders.
(this ought to be the case by default for labels produced by SunOS format(8).)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
be sure to adjust the IOPB data pointer before redirecting the I/O for this
particular sector to the replacement location.
Otherwise, the data pointer still points to the first sector of the I/O, which
may not necessarily be the one which failed.
(This is yet another 19 years old bug, making your filesystems self-destruct
even faster than intended)
|
|
|
|
|
| |
further pending requests, since they will be forcefully failed by the reset
routine.
|
|
|
|
| |
member, rather than a global. No functional change.
|
|
|
|
| |
Remove obsolete comments in x[dy]dump().
|
|
|
|
| |
noone wrote an equivalent of SunOS format(8) and noone ever will.
|
|
|
|
| |
asking for the device type upon labeling a freshly formatted disk.
|
|
|
|
|
|
| |
make install
from Simon Nicolussi
ok jsing tedu
|
| |
|
|
|
|
|
|
|
|
| |
- when entering bad144 mode, correctly compute the actual C/H/S values for the
logical block number.
- when leaving bad144 mode and resuming normal I/O operation, when computing
back the C/H/S values for the next logical block number, compute the
sector number correctly.
|
| |
|
|
|
|
|
|
| |
This should catch all the same bad cases, but be a little less aggravating
in circumstances where a prototype isn't necessary
ok deraadt
|
|
|
|
|
|
| |
than the maximum DMA transfer size the PROM reports.
Crank version to 2.9.
|
|
|
|
|
| |
instead of, well, bcopy and bzero. This lets ie@vme transmit packets instead of
panicing due to memset() trying to use 32-bit stores on a device address.
|
|
|
|
| |
a sun4 system - the prom i/o routines depend on it.
|
| |
|
| |
|
|
|
|
|
|
| |
doesn't have all the values and therefore can't be used everywhere.
ok deraadt@ kettenis@
|
|
|
|
| |
ok miod
|
|
|
|
|
|
| |
eliminating the must-be-kept-in-sync UVM_INH_* macros
ok deraadt@ tedu@
|
| |
|
|
|
|
|
|
| |
about types are happy.
ok jsg@
|
|
|
|
|
| |
fashion. Anyways, we don't do MP here yet, so #ifdef it all away.
with miod
|
|
|
|
|
| |
NMI handler; apparently ROSS modules depend upon this to behave correctly.
From NetBSD
|
|
|
|
|
| |
recoverable memory errors no longer panic the kernel.
From NetBSD but the manual page.
|
| |
|
|
|
|
| |
Add the new files to the few md libsa builds which require it.
|
| |
|
|
|
|
| |
used and depended, mimicking new changes by guenther to amd64.
|
| |
|
|
|
|
|
|
|
| |
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h.
PROT_MASK is introduced as the one true way of extracting those bits.
Remove UVM_ADV_* wrapper, using the standard names.
ok doug guenther kettenis
|
|
|
|
| |
sun4m's iommu for bus_dma. (Guess what task just hit my todolist...)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
not have been removed (per the license conditions).
Revert that removal of the BSD license text and conditions. Special thanks to
Aaron Brown who also provided explicit permission to make this change.
ok schwarze@, miod@
|