Re: remove pre-486 code from i386 platform

2022-07-29 Thread Tomasz Rola
On Fri, Jul 29, 2022 at 02:46:26AM -0400, Daniel Dickman wrote: > [...] > > Should we add defines for the 286 too? I do not think OpenBSD ever ran on 286, right? Adding defines for 286 would thus be rather pointless. Keeping some #define lines is easier than explaining every now and then why nu

Re: remove pre-486 code from i386 platform

2022-07-28 Thread Daniel Dickman
> On Jul 29, 2022, at 2:18 AM, Tomasz Rola wrote: > > On Thu, Jul 28, 2022 at 08:06:28PM -0400, Daniel Dickman wrote: >>> On Thu, Jul 28, 2022 at 3:37 AM Jeroen Massar wrote: >>> > [...] >>> >>> I personally would not touch the .h definitions: >>> Index: i386/include/cputypes.h

Re: remove pre-486 code from i386 platform

2022-07-28 Thread Jonathan Gray
On Fri, Jul 29, 2022 at 06:58:08AM +0200, Tomasz Rola wrote: > On Thu, Jul 28, 2022 at 08:06:28PM -0400, Daniel Dickman wrote: > > On Thu, Jul 28, 2022 at 3:37 AM Jeroen Massar wrote: > > > > [...] > > > > > > I personally would not touch the .h definitions: > > > > > > > > > > > Index: i386/inclu

Re: remove pre-486 code from i386 platform

2022-07-28 Thread Tomasz Rola
On Thu, Jul 28, 2022 at 08:06:28PM -0400, Daniel Dickman wrote: > On Thu, Jul 28, 2022 at 3:37 AM Jeroen Massar wrote: > > [...] > > > > I personally would not touch the .h definitions: > > > > > > > > Index: i386/include/cputypes.h > > > [..] > > > > > > -#define CPUCLASS_3860 > > > #def

Re: remove pre-486 code from i386 platform

2022-07-28 Thread Jonathan Gray
On Wed, Jul 27, 2022 at 10:18:55PM -0400, Daniel Dickman wrote: > The diff below removes support for 386SX/DX processors. We already claim > we don't support anything older than a Pentium so there's no point to keep > this code. > > The main code change is in locore0.S and is to stop checking if

Re: remove pre-486 code from i386 platform

2022-07-28 Thread Daniel Dickman
On Thu, Jul 28, 2022 at 3:37 AM Jeroen Massar wrote: > > > > > On 28 Jul 2022, at 04:18, Daniel Dickman wrote: > > > > The diff below removes support for 386SX/DX processors. We already claim > > we don't support anything older than a Pentium so there's no point to keep > > this code. > [..] > >

Re: remove pre-486 code from i386 platform

2022-07-28 Thread Mike Larkin
On Wed, Jul 27, 2022 at 10:18:55PM -0400, Daniel Dickman wrote: > The diff below removes support for 386SX/DX processors. We already claim > we don't support anything older than a Pentium so there's no point to keep > this code. > > The main code change is in locore0.S and is to stop checking if th

remove pre-486 code from i386 platform

2022-07-27 Thread Daniel Dickman
The diff below removes support for 386SX/DX processors. We already claim we don't support anything older than a Pentium so there's no point to keep this code. The main code change is in locore0.S and is to stop checking if the CPU we're on has the alignment check (PSL_AC) flag. The rest of the