diff options
author | Joshua Stein <jcs@cvs.openbsd.org> | 2016-06-21 15:24:56 +0000 |
---|---|---|
committer | Joshua Stein <jcs@cvs.openbsd.org> | 2016-06-21 15:24:56 +0000 |
commit | 7e69dbfca45ff61a2865b4132a3ba615e1291693 (patch) | |
tree | 10294d88c5d035c46acffffa0117f63115f4089d /sys/arch/amd64/include | |
parent | f289116dee91e153bf3291145614fa0bda8ee9b1 (diff) |
add support to efifb for drawing a console on a coreboot framebuffer
if coreboot's memory table is found, it has a framebuffer entry, and
there is no previously attached efi, vga, or serial console.
useful on chromebooks that have no legacy vga device to get an early
console before inteldrm(4) attaches or, for newer chipsets, a full
console and X with wsfb(4).
ok kettenis
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r-- | sys/arch/amd64/include/efifbvar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/efifbvar.h b/sys/arch/amd64/include/efifbvar.h index 67bfdb33ecd..f5e2bb26cae 100644 --- a/sys/arch/amd64/include/efifbvar.h +++ b/sys/arch/amd64/include/efifbvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: efifbvar.h,v 1.3 2015/10/30 11:21:01 kettenis Exp $ */ +/* $OpenBSD: efifbvar.h,v 1.4 2016/06/21 15:24:55 jcs Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net> @@ -29,4 +29,7 @@ int efifb_cnattach(void); int efifb_is_console(struct pci_attach_args *); void efifb_cndetach(void); +int efifb_cb_found(void); +int efifb_cb_cnattach(void); + #endif /* _MACHINE_EFIFB_H_ */ |