Re: Allow builds on arm64 without DDB

2020-09-04 Thread Matt Baulch
On Fri, Sep 04, 2020 at 08:55:30AM -0600, Theo de Raadt wrote: > Too much ifdef. Can you try a different approach -- leave the ipi code > intact, but wrap the call to db_enter() with #ifdef DDB? The ipi won't > be activated, so it should be fine for it to return 0. Thanks Theo. I just tried to t

Re: Allow builds on arm64 without DDB

2020-09-04 Thread Theo de Raadt
Too much ifdef. Can you try a different approach -- leave the ipi code intact, but wrap the call to db_enter() with #ifdef DDB? The ipi won't be activated, so it should be fine for it to return 0. Matt Baulch wrote: > Currently, it's not possible to build on arm64 without the in-kernel debugge

Allow builds on arm64 without DDB

2020-09-04 Thread Matt Baulch
Currently, it's not possible to build on arm64 without the in-kernel debugger. This patch fixes the two offending files: Index: agintc.c === RCS file: /cvs/src/sys/arch/arm64/dev/agintc.c,v retrieving revision 1.26 diff -u -p -u -p -r