summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2019-01-10 01:16:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2019-01-10 01:16:30 +0000
commita40de63507918c6dbfe2015104b2c0218c17eeba (patch)
treeadc7029798c9ea38c2b95e5997ff75fe0d916c64 /sys/arch/amd64/include
parenta4e6ae8ff8ad64b8e9c36f838db0fb44f75228cb (diff)
add efifb_stolen() to get the size of the efifb framebuffer
suggested by and ok kettenis@
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/efifbvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/efifbvar.h b/sys/arch/amd64/include/efifbvar.h
index a900cd0238d..0737ea8e5ce 100644
--- a/sys/arch/amd64/include/efifbvar.h
+++ b/sys/arch/amd64/include/efifbvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: efifbvar.h,v 1.8 2018/09/22 17:41:52 kettenis Exp $ */
+/* $OpenBSD: efifbvar.h,v 1.9 2019/01/10 01:16:29 jsg Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -34,4 +34,6 @@ void efifb_cnreattach(void);
int efifb_cb_found(void);
int efifb_cb_cnattach(void);
+psize_t efifb_stolen(void);
+
#endif /* _MACHINE_EFIFB_H_ */