diff options
Diffstat (limited to 'protos.h')
-rw-r--r-- | protos.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 */ |