Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / alpha / include / asm / console.h
1 #ifndef __AXP_CONSOLE_H
2 #define __AXP_CONSOLE_H
3
4 #include <uapi/asm/console.h>
5
6 #ifndef __ASSEMBLY__
7 extern long callback_puts(long unit, const char *s, long length);
8 extern long callback_getc(long unit);
9 extern long callback_open_console(void);
10 extern long callback_close_console(void);
11 extern long callback_open(const char *device, long length);
12 extern long callback_close(long unit);
13 extern long callback_read(long channel, long count, const char *buf, long lbn);
14 extern long callback_getenv(long id, const char *buf, unsigned long buf_size);
15 extern long callback_setenv(long id, const char *buf, unsigned long buf_size);
16 extern long callback_save_env(void);
17
18 extern int srm_fixup(unsigned long new_callback_addr,
19                      unsigned long new_hwrpb_addr);
20 extern long srm_puts(const char *, long);
21 extern long srm_printk(const char *, ...)
22         __attribute__ ((format (printf, 1, 2)));
23
24 struct crb_struct;
25 struct hwrpb_struct;
26 extern int callback_init_done;
27 extern void * callback_init(void *);
28 #endif /* __ASSEMBLY__ */
29 #endif /* __AXP_CONSOLE_H */