OpenBSD cvs log

created 2022-10-16T03:04:34Z
begin 2022-10-12T00:00:00Z
end 2022-10-13T00:00:00Z
path src/sys
commits 6

date 2022-10-12T02:39:16Z
author deraadt
files src/sys/kern/kern_exec.c log diff annotate
message The sigaltstack() MAP_STACK re-map mechanism is incompatible with immutable
regions, so immutable stack isn't viable yet. There are configure programs
which create sigstacks upon their own stacks, and there is no simple fix for
the sigaltstack mechanism...
discovered by sthen and tb

date 2022-10-12T09:23:45Z
author kn
files src/sys/arch/macppc/stand/ofdev.c log diff annotate
message Fix -Wreturn-type

OK miod

date 2022-10-12T10:48:33Z
author kn
files src/sys/arch/macppc/stand/Makefile log diff annotate
src/sys/arch/macppc/stand/Makefile.inc log diff annotate
message Remove powerpc left-overs

There since the powerpc -> macppc move/rename.

KERN_AS usage disappeared in
commit 5b7db11d478192c5908038bb1345e7d51cc35c8e
Author: rahnds <[email protected]>
Date: Mon May 5 16:47:15 1997 +0000

only build one version of the libraries.

REAL_VIRT usage disappeared in
commit 08e027d6bb9ca863bfc44a1aa6957ff3a242e2f4
Author: rahnds <[email protected]>
Date: Thu Apr 27 12:36:29 2000 +0000

Fixes to xcoff bootloader to allow it to execute and load kernels for OpenBSD.

Make agrees that these are defined but not used:

$ make -p | grep -e KERN_AS -e REAL_VIRT
KERN_AS = library
REAL_VIRT = -v
$ make -C ofwboot -p | grep -e KERN_AS -e REAL_VIRT
KERN_AS = library
REAL_VIRT = -v

No object change.
Feedback OK miod

date 2022-10-12T11:29:53Z
author jsg
files src/sys/arch/arm64/dev/apldma.c log diff annotate
message use correct type with sizeof
ok miod@ kettenis@

date 2022-10-12T13:39:50Z
author kettenis
files src/sys/arch/arm64/dev/aplpmu.c log diff annotate
src/sys/arch/arm64/dev/aplsmc.c log diff annotate
src/sys/arch/arm64/dev/efi_machdep.c log diff annotate
src/sys/arch/loongson/dev/mcclock.c log diff annotate
src/sys/arch/octeon/dev/octrtc.c log diff annotate
src/sys/arch/powerpc64/dev/opal.c log diff annotate
src/sys/arch/sparc64/dev/prtc.c log diff annotate
src/sys/arch/sparc64/dev/rtc.c log diff annotate
src/sys/arch/sparc64/dev/sbbc.c log diff annotate
src/sys/arch/sparc64/dev/vrtc.c log diff annotate
src/sys/dev/clock_subr.h log diff annotate
src/sys/dev/fdt/dapmic.c log diff annotate
src/sys/dev/fdt/plrtc.c log diff annotate
src/sys/dev/fdt/rkpmic.c log diff annotate
src/sys/dev/fdt/sxirtc.c log diff annotate
src/sys/dev/i2c/m41t8x.c log diff annotate
src/sys/dev/i2c/pcf85063.c log diff annotate
src/sys/dev/i2c/pcf8523.c log diff annotate
src/sys/dev/i2c/pcf8563.c log diff annotate
src/sys/dev/i2c/rs5c372.c log diff annotate
src/sys/dev/ic/mk48txx.c log diff annotate
src/sys/kern/kern_time.c log diff annotate
message Extend struct todr_chip_handle with a todr_quality member. This allows us
to assign a quality to RTC implementation and pick the "best" RTC if a
system has multiple RTCs (or multiple interfaces to an RTC). This allows
us to prefer a battery-backed I2C RTC over an RTC that is part of the SoC
which is only running of the SoC is powered. It also allows us to
work around issues with firmware RTC interfaces that may lie to us or
even crash the system.

This change makes sure the todr_quality member of the struct is always
initialized. In most cases the quality will be set to zero; further
adjustments of the quality for specific subsystems/architectures will follow.

ok cheloha@, patrick@

date 2022-10-12T23:11:33Z
author krw
files src/sys/sys/disklabel.h log diff annotate
message Nuke D_BADSECT and disktab's 'sf'.

DEC standard 144 bad sector information is no longer a thing. As
evidenced by bad144(8) moving to the attic 16 years ago.

ok miod@, who points out that badsect(8) is now the nail sticking
out.