Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144890225
D33221.1776849388.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
763 B
Referenced Files
None
Subscribers
None
D33221.1776849388.diff
View Options
diff --git a/sys/dev/vt/hw/efifb/efifb.c b/sys/dev/vt/hw/efifb/efifb.c
--- a/sys/dev/vt/hw/efifb/efifb.c
+++ b/sys/dev/vt/hw/efifb/efifb.c
@@ -117,6 +117,7 @@
if (efifb == NULL)
return (CN_DEAD);
+ info->fb_type = FBTYPE_EFIFB;
info->fb_height = efifb->fb_height;
info->fb_width = efifb->fb_width;
diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h
--- a/sys/sys/fbio.h
+++ b/sys/sys/fbio.h
@@ -91,7 +91,9 @@
#define FBTYPE_TCXCOLOR 29 /* SUNW,tcx */
#define FBTYPE_CREATOR 30
-#define FBTYPE_LASTPLUSONE 31 /* max number of fbs (change as add) */
+#define FBTYPE_EFIFB 31 /* EFI Graphical Output Protocol (GOP) */
+
+#define FBTYPE_LASTPLUSONE 32 /* max number of fbs (change as add) */
/*
* Frame buffer descriptor as returned by FBIOGTYPE.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 9:16 AM (9 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28404415
Default Alt Text
D33221.1776849388.diff (763 B)
Attached To
Mode
D33221: fb: Add new FBTYPE_EFIFB
Attached
Detach File
Event Timeline
Log In to Comment