summaryrefslogtreecommitdiff
path: root/protos.h
diff options
context:
space:
mode:
Diffstat (limited to 'protos.h')
-rw-r--r--protos.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/protos.h b/protos.h
index 53bf401..b765083 100644
--- a/protos.h
+++ b/protos.h
@@ -21,6 +21,11 @@
#ifndef PROTOS_H
#define PROTOS_H 1
+#include <stdint.h>
+#include <stdbool.h>
+#include <stddef.h>
+
+
/*
* Call_Pal functions.
*/
@@ -167,4 +172,20 @@ extern unsigned long crb_fixup(unsigned long vptptr, unsigned long hwrpb);
extern void do_console(void);
extern void entInt(void);
+/*
+ * Utils
+ */
+
+extern void ndelay(unsigned long nsec);
+
+static inline void udelay(unsigned long msec)
+{
+ ndelay(msec * 1000);
+}
+
+/*
+ * Initialization
+ */
+extern void ps2port_setup(void);
+
#endif /* PROTOS_H */