1 /* $OpenBSD: efiboot.h,v 1.8 2022/12/22 15:44:02 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_cleanup(void); 20 void efi_diskprobe(void); 21 void efi_pxeprobe(void); 22 void *efi_makebootargs(char *, int); 23 void efi_cons_probe(struct consdev *); 24 void efi_cons_init(struct consdev *); 25 int efi_cons_getc(dev_t); 26 void efi_cons_putc(dev_t, int); 27 void efi_com_probe(struct consdev *); 28 void efi_com_init(struct consdev *); 29 int efi_com_getc(dev_t); 30 void efi_com_putc(dev_t, int); 31 void efi_fb_probe(struct consdev *); 32 void efi_fb_init(struct consdev *); 33 int efi_fb_getc(dev_t); 34 void efi_fb_putc(dev_t, int); 35