summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-11-08 12:48:01 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-11-08 12:48:01 +0000
commit07299c26efe786b46116fa7b3e53565f4acbf8c0 (patch)
treefbd42b120b1c53a9b2aef670c4e42d01e51ebe82 /sys/arch
parente9808f98302863c9d69ee97622ad5c9b91d73ffe (diff)
Move sparc64-specific ofw prototypes out of the MI header.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/include/openfirm.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/sys/arch/sparc64/include/openfirm.h b/sys/arch/sparc64/include/openfirm.h
index 53bc42d29b6..d005358f93b 100644
--- a/sys/arch/sparc64/include/openfirm.h
+++ b/sys/arch/sparc64/include/openfirm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: openfirm.h,v 1.6 2006/08/31 21:28:34 kettenis Exp $ */
+/* $OpenBSD: openfirm.h,v 1.7 2024/11/08 12:48:00 miod Exp $ */
/* $NetBSD: openfirm.h,v 1.8 2001/07/20 00:07:14 eeh Exp $ */
/*
@@ -47,18 +47,19 @@ typedef u_int64_t cell_t;
#define CELL2HDQ(hi, lo) (lo)
-int OF_test (char *service);
-int OF_test_method (int handle, char *method);
-int OF_getproplen (int handle, char *prop);
+int OF_test(char *service);
+int OF_test_method(int handle, char *method);
-int OF_stdin (void);
-int OF_stdout (void);
-void OF_set_symbol_lookup (void (*s2v)(void *), void (*v2s)(void *));
-void OF_poweroff (void);
-void OF_sym2val (void *);
-void OF_val2sym (void *);
-int OF_milliseconds (void);
-int OF_searchprop (int node, char *prop, void *buf, int buflen);
+int OF_stdin(void);
+int OF_stdout(void);
+void OF_set_symbol_lookup(void (*s2v)(void *), void (*v2s)(void *));
+void OF_poweroff(void);
+void OF_sym2val(void *);
+void OF_val2sym(void *);
+int OF_milliseconds(void);
+int OF_searchprop(int node, char *prop, void *buf, int buflen);
int OF_mapintr(int node, int *interrupt, int validlen, int buflen);
+int OF_instance_to_path(int ihandle, char *buf, int buflen);
+int OF_package_to_path(int phandle, char *buf, int buflen);
void (*OF_set_callback(void (*)(void *)))(void *);