summaryrefslogtreecommitdiff
path: root/sys/dev/dt
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-03-10 11:04:27 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-03-10 11:04:27 +0000
commit13260ee971a526d5f5c026521be274ac56b6f1e5 (patch)
treee2ca9f44264cbd4a4e4cb190b33529b4a3bdf1ba /sys/dev/dt
parent5b66109a181ce91ad08de2a109927f003b852222 (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.c5
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