Age | Commit message (Collapse) | Author |
|
the OpenBSD partition starts at >128G. This restores previous
behaviour but adds the warning.
ok deraadt@ guenther@
|
|
as it causes hangs in some ports, including libsigsegv's configure script
confirmed by krw@, landry@
|
|
|
|
|
|
all these
arch's LABELSECTOR == DOS_LABELSECTOR == 1, and LABELOFFSET == 0. Thus, to quote bob,
"This is a no-op". Makes the expression used when writing label the same as the one
used in readdoslabel().
|
|
|
|
spikes in other developers by making it so that removal of a .d
file without removing the corresponding object will result in the
latter being treated as out of date.
ok beck@ art@ drahn@
|
|
hold the kernel lock, but still need call one function that needs it.
Instead of grabbing the lock all over the place, move the locks into
the affected functions: trapsignal, scdebug*, ktrsyscall, ktrsysret,
systrace_redirect and ADDUPROF. In the cases we already hold the biglock
we'll just recurse.
kettenis@, beck@ ok
|
|
code. Missing chunks of the API are imported from the libc version,
with a few #ifdef's to port it into the kernel environment.
The bootblocks already used the newer code, and should encounter no
surprises since there are so few changes to the existing files. In
the kernel, ipcomp and kernel ppp are changed to the new API.
ipcomp has been tested.
ok tedu the brave
|
|
KERNEL_PROC_LOCK -> KERNEL_LOCK
KERNEL_PROC_UNLOCK -> KERNEL_UNLOCK
oga@ ok
|
|
ok beck deraadt
|
|
delete.
|
|
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@
|
|
|
|
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@
|
|
|
|
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.
|
|
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.
|
|
map in bus_dmamem_map().
ok miod@
|
|
|
|
scsi?" rule, similar to how ethernet PHY drivers attach at mii.
Discussed on icb.
|
|
ok tedu@, "I won't mourn it" miod@, "no objection" oga@,
"I won't cry" todd@, "fine, even happy" nick@
|
|
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@
|
|
|
|
might need network (ie. nfs). Move the call to the MD boot() routines.
This cause for boot hangs diagnosed by kettenis.
|
|
|
|
As discussed on icb: remove the comment,
remove pmap_remove (uvm_km_free does that for us).
ok oga@, deraadt@
|
|
requested by deraadt@
|
|
separate functions and install them as route/unroute functions for the
MIS pseudo-PIC.
|
|
Prodded by deraadt@ and the lack of testers on tech@.
|
|
From Brad.
|
|
triples the number of interrupt vectors that can be handled by the primary
CPU. Important for MSI, but could also fix some issues with large machines
loaded with a lot of devices.
tested by many; ok deraadt@, marco@
|
|
for now; that is unlikely to hit some of the remaining starvation bugs.
Repair the bufpages calculation too; i386 was doing it ahead of time
(incorrectly) and then re-calculating it.
ok thib
|
|
|
|
|
|
|
|
behind a prehistoric Intel host bridge. Disable MSI on these contortion.
|
|
The new world order of pmemrange makes this data completely redundant
(being dealt with by the pmemrange constraints instead). Remove all code
that messes with the freelist.
While touching every caller of uvm_page_physload() anyway, add the flags
argument to all callers (all but one is 0 and that one already used
PHYSLOAD_DEVICE) and remove the macro magic to allow callers to continue
without it.
Should shrink the code a bit, as well.
matthew@ pointed out some mistakes i'd made.
``freelist death, I like. Ok.' ariane@
`I agree with the general direction, go ahead and i'll fix any fallout
shortly'' miod@ (68k 88k and vax i could not check would build)
|