Re: Kill PMAP_UAREA

2017-04-30 Thread Mark Kettenis
> Date: Sun, 30 Apr 2017 21:53:40 +0200 > From: Martin Pieuchot > > We don't run on ARM < v7 anymore, so this can die. > > ok? ok kettenis@ > Index: uvm/uvm_glue.c > === > RCS file: /cvs/src/sys/uvm/uvm_glue.c,v

Remove KGDB leftover in i386/amd64 GENERIC

2017-04-30 Thread Amit Kulkarni
Index: amd64/conf/GENERIC === RCS file: /cvs/src/sys/arch/amd64/conf/GENERIC,v retrieving revision 1.442 diff -u -p -u -p -r1.442 GENERIC --- amd64/conf/GENERIC 12 Mar 2017 21:31:18 - 1.442 +++ amd64/conf/GENERIC 30 Apr

Kill PMAP_UAREA

2017-04-30 Thread Martin Pieuchot
We don't run on ARM < v7 anymore, so this can die. ok? Index: uvm/uvm_glue.c === RCS file: /cvs/src/sys/uvm/uvm_glue.c,v retrieving revision 1.72 diff -u -p -r1.72 uvm_glue.c --- uvm/uvm_glue.c 30 Apr 2017 13:04:49 -

Kill BSD PZERO lie

2017-04-30 Thread Martin Pieuchot
Back in the old CSRG times, in the 80s, before the introduction of PCATCH and tsleep(9), PZERO was a clever hack. The following comment from sleep() in kern/kern_synch.c 3.1 explains it well: * The most important effect of pri is that when * pri<=PZERO a signal cannot disturb

Re: Debugger() -> db_enter()

2017-04-30 Thread Mark Kettenis
> Date: Sun, 30 Apr 2017 16:54:15 +0200 > From: Martin Pieuchot > > I'd like to rename DDB's entry point to be able to filter it out from > the list of symbols to instrument. All Elf symbols prefixed with 'db_' > will be invisible from the dynamic tracing tool I'm working on.

Re: Debugger() -> db_enter()

2017-04-30 Thread Theo de Raadt
Sure. The Mach name has always bothered me.

Debugger() -> db_enter()

2017-04-30 Thread Martin Pieuchot
I'd like to rename DDB's entry point to be able to filter it out from the list of symbols to instrument. All Elf symbols prefixed with 'db_' will be invisible from the dynamic tracing tool I'm working on. This consolidate the approach taken by ddb(4) where having a db_printf() allows you to

Re: Make mainbus(4) recognize early attribute on arm64

2017-04-30 Thread Patrick Wildt
On Sun, Apr 30, 2017 at 03:04:38PM +0200, Mark Kettenis wrote: > Here is a diff that makes mainbus(4) behave in a similar way as > simplebus(4). Needed for the Firefly-RK3399 since it attaches most > devices directly on mainbus(4) and need to control the order a bit. > > I dropped the "no device

Make mainbus(4) recognize early attribute on arm64

2017-04-30 Thread Mark Kettenis
Here is a diff that makes mainbus(4) behave in a similar way as simplebus(4). Needed for the Firefly-RK3399 since it attaches most devices directly on mainbus(4) and need to control the order a bit. I dropped the "no device tree" panic. We really can't get this far without having an FDT. I'll

patch: choose right compiler in ports

2017-04-30 Thread Marc Espie
This is a work-in-progres, now is the time to shoot holes thru it. Basically, clang in base comes with libc++, which tends to not be compatible with stuff compiled with gcc4 or clang from ports. So I tried designing an interface to choose the most appropriate compiler for most cases. The only

Small change to 6.1 upgrade guide

2017-04-30 Thread Edd Barrett
Hi, A friend, who is fairly new to OpenBSD, was having some problems upgrading the packages on his system. The problem was that the upgrade guide doesn't make it totally clear that `pkg_add -u` should be run after applying the configuration changes. This matters for 6.1 as you need to migrate