]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/alpha/include/asm/console.h
Merge tag 'for-4.2' of git://git.infradead.org/battery-2.6
[mirror_ubuntu-focal-kernel.git] / arch / alpha / include / asm / console.h
CommitLineData
1da177e4
LT
1#ifndef __AXP_CONSOLE_H
2#define __AXP_CONSOLE_H
3
96433f6e 4#include <uapi/asm/console.h>
1da177e4 5
1da177e4
LT
6#ifndef __ASSEMBLY__
7extern long callback_puts(long unit, const char *s, long length);
8extern long callback_getc(long unit);
9extern long callback_open_console(void);
10extern long callback_close_console(void);
11extern long callback_open(const char *device, long length);
12extern long callback_close(long unit);
13extern long callback_read(long channel, long count, const char *buf, long lbn);
14extern long callback_getenv(long id, const char *buf, unsigned long buf_size);
15extern long callback_setenv(long id, const char *buf, unsigned long buf_size);
16extern long callback_save_env(void);
17
18extern int srm_fixup(unsigned long new_callback_addr,
19 unsigned long new_hwrpb_addr);
20extern long srm_puts(const char *, long);
21extern long srm_printk(const char *, ...)
22 __attribute__ ((format (printf, 1, 2)));
23
24struct crb_struct;
25struct hwrpb_struct;
26extern int callback_init_done;
27extern void * callback_init(void *);
28#endif /* __ASSEMBLY__ */
1da177e4 29#endif /* __AXP_CONSOLE_H */