Age | Commit message (Collapse) | Author |
|
long" for __off_t. This is a C++ ABI bump, but martynas@ already
bumped libstdc++.
Discussed and requested by many on icb.
|
|
place it was missing. Delete now redundant calls to DIOCGDINFO when
getting physical disk info in disklabel(8) and fdisk(8).
Reminded by a fdisk discussion with Andres Perera on tech@.
ok deraadt@
|
|
link->bus->sc_dev.dv_unit.
|
|
devices must have an OpenBSD MBR partition to install /boot into.
But search anything except floppy devices (e.g. vnd) for such a
partition.
Feedback & ok deraadt@
|
|
a ffs frag size can be less than the d_secsize of the disk. Make
sure amd64 writedisklabel() puts the disklabel where readdoslabel()
will read it. Tweak i386/amd64 installboot/biosboot so sectors are
indeed used where sectors are claimed.
Lets me fdisk, newfs, mount and installboot onto 2048 and 4096
byte sector devices. Other filesystem utilites will still hold
surprises.
Note that actually booting from such devices will await BIOSen that
acknowledge such devices as bootable.
ok guenther@
|
|
i386 disobeys the Nth commandment. Fix this. While here, make i386 and amd64
definitions of iplclock and statclock match.
ok art@, kettenis@
|
|
|
|
|
|
problem has been tracked down. This fixes the sharing of the signal
handling state: shared bits go in sigacts, per-rthread bits goes in
struct proc.
ok deraadt@
|
|
to encourage someone to convert remaining a.out archs to elf. :)
ok deraadt
|
|
ok kettenis guenther tedu
|
|
|
|
|
|
Okay deraadt@, drahn@, kettenis@.
|
|
|
|
|
|
|
|
and might end up with duplicates, but that's not an issue until we're
multi-user. Change the TLB miss code to enter mappings with the right
protection ID. Properly switch pmaps on context switches. This makes the
copyins we do before starting init actually work instead of failing with
EFAULT.
|
|
filled in. Move D_CLONE down to 0x0001 as suggested by thib.
ok deraadt thib
|
|
the MDP_IRET flag in md_proc, then switch sigcode to enter the kernel
via syscall instead of int$80. Rearrange the return paths in both the
sysretq and iretq paths to reduce how long interrupts are blocked and
shave instructions.
ok kettenis@, extra testing krw@
|
|
|
|
ELFCLASS32 since we are building a 32-bit executable. Which is why
we have a custom nlist.c here.
Suggested by drahn@.
ok drahn@ "looks good" deraadt@
|
|
ok yasuoka@
|
|
|
|
libc/gen/nlist.c.
|
|
off_t casts to parameters for pread(). Whitespace and comment sync.
All changes made long ago in libc/gen/nlist.c. More delta reduction.
|
|
|
|
ok and tested yasuoka@
|
|
- delete #include <sys/cdefs.h> because it's unnecessary.
ok brad@
|
|
Allocate a bouncebuffer at boot time and bounce all pages over
0xffffffff through it.
``looks right but not tested'' miod@, ok krw (who watched me test it on
his monster laptop.
|
|
make differences obvious.
|
|
|
|
|
|
else, No
functional change.
|
|
The vm hackers don't use it, don't maintain it and have to look at it all the
time. About time this 800 lines of code hit /dev/null.
``never liked it'' tedu@. ariane@ was very happy when i told her i wrote
this diff.
|
|
map in bus_dmamem_map().
ok miod@
|
|
that's ever used it, and it's long since been changed to use
DVACT_{QUIESCE,SUSPEND,RESUME} instead.
ok deraadt@, dlg@; miod@ also agreed with this idea when I brought it
up a few weeks ago
|
|
the obvious cases to return EINVAL and ENXIO.
ok tedu deraadt
|
|
spinning on a contended lock.
ok kettenis@
|
|
|
|
scsi?" rule, similar to how ethernet PHY drivers attach at mii.
Discussed on icb.
|
|
doesn't work. goodbye. ok miod
|
|
kind of ok deraadt
|
|
ok tedu@, "I won't mourn it" miod@, "no objection" oga@,
"I won't cry" todd@, "fine, even happy" nick@
|
|
If it returns 1, skip calling the handlers further down the list. The
interrupt pin will remain asserted, and the handler will be called on the
next go-around. This makes sparc64 "similar" to other architectures.
ok kettenis jsing
|
|
This results in the higher IPL handlers being run first.
ok deraadt@ kettenis@
|
|
|
|
|
|
b_error. Otherwise a good i/o will appear to have failed. Fixes
problem with dkcsum.c being unable to read data to checksum from
subsequent devices after an i/o fails. And thus failing to find
correct root in some cases.
Introduced at k2k11 with buf flags rectification. Scan of all
biowait() calls finds no other obvious re-use of a buf that could
have error'ed out. Just re-use of bufs that worked. So quick fix
pending closer review of all uses.
Problem noted by Jens A. Griepen.
ok matthew@ deraadt@
|
|
|