xref: /openbsd/sys/arch/arm64/stand/efiboot/efiboot.h (revision 4bdff4be)
1 /*	$OpenBSD: efiboot.h,v 1.6 2022/04/06 21:27:03 kettenis Exp $	*/
2 
3 /*
4  * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
5  *
6  * Permission to use, copy, modify, and distribute this software for any
7  * purpose with or without fee is hereby granted, provided that the above
8  * copyright notice and this permission notice appear in all copies.
9  *
10  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17  */
18 
19 void	*efi_acpi(void);
20 void	efi_cleanup(void);
21 void	efi_diskprobe(void);
22 void	efi_pxeprobe(void);
23 void	*efi_makebootargs(char *, int);
24 void	efi_cons_probe(struct consdev *);
25 void	efi_cons_init(struct consdev *);
26 int	efi_cons_getc(dev_t);
27 void	efi_cons_putc(dev_t, int);
28 void	efi_com_probe(struct consdev *);
29 void	efi_com_init(struct consdev *);
30 int	efi_com_getc(dev_t);
31 void	efi_com_putc(dev_t, int);
32 void	efi_fb_probe(struct consdev *);
33 void	efi_fb_init(struct consdev *);
34 int	efi_fb_getc(dev_t);
35 void	efi_fb_putc(dev_t, int);
36