From: claudio Date: Fri, 10 Mar 2023 11:04:26 +0000 (+0000) Subject: Add the necessary stack offsets for macppc so dt(4). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c5d97e146b0b84b5aaf0732c7ffb8b845cadd04d;p=openbsd Add the necessary stack offsets for macppc so dt(4). Tested on a G5 and G4 macppc. OK miod@ --- diff --git a/sys/dev/dt/dt_dev.c b/sys/dev/dt/dt_dev.c index a6e2a0cfd38..107e972800a 100644 --- a/sys/dev/dt/dt_dev.c +++ b/sys/dev/dt/dt_dev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dt_dev.c,v 1.23 2023/03/10 11:01:52 claudio Exp $ */ +/* $OpenBSD: dt_dev.c,v 1.24 2023/03/10 11:04:26 claudio Exp $ */ /* * Copyright (c) 2019 Martin Pieuchot @@ -59,6 +59,9 @@ #elif defined(__i386__) #define DT_FA_PROFILE 8 #define DT_FA_STATIC 2 +#elif defined(__macppc__) +#define DT_FA_PROFILE 7 +#define DT_FA_STATIC 2 #elif defined(__octeon__) #define DT_FA_PROFILE 6 #define DT_FA_STATIC 2