diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-03-10 11:04:27 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-03-10 11:04:27 +0000 |
commit | 13260ee971a526d5f5c026521be274ac56b6f1e5 (patch) | |
tree | e2ca9f44264cbd4a4e4cb190b33529b4a3bdf1ba /sys/dev/dt | |
parent | 5b66109a181ce91ad08de2a109927f003b852222 (diff) |
Add the necessary stack offsets for macppc so dt(4).
Tested on a G5 and G4 macppc.
OK miod@
Diffstat (limited to 'sys/dev/dt')
-rw-r--r-- | sys/dev/dt/dt_dev.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <mpi@openbsd.org> @@ -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 |