aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/fbio.h
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2015-01-05 00:50:16 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2015-01-05 00:50:16 +0000
commitf1d2752f31eed1c8621701f975cf29438cf32a26 (patch)
treea6079bd7c84498b3d26796ae91a513b26590491d /sys/sys/fbio.h
parente97b30d8792905ea178f5c8a8bf83da3fc0d5b8b (diff)
downloadsrc-f1d2752f31eed1c8621701f975cf29438cf32a26.tar.gz
src-f1d2752f31eed1c8621701f975cf29438cf32a26.zip
Make PS3 work with the userspace kboot loader. loader.ps3 will disappear
from the tree in the near future. Done at: Hackathon
Notes
Notes: svn path=/head/; revision=276679
Diffstat (limited to 'sys/sys/fbio.h')
-rw-r--r--sys/sys/fbio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h
index a88e305a4455..c47304ac9661 100644
--- a/sys/sys/fbio.h
+++ b/sys/sys/fbio.h
@@ -135,9 +135,10 @@ struct fb_info {
void *fb_priv; /* First argument for read/write. */
const char *fb_name;
uint32_t fb_flags;
+#define FB_FLAG_NOMMAP 1 /* mmap unsupported. */
+#define FB_FLAG_NOWRITE 2 /* disable writes for the time being */
int fb_stride;
int fb_bpp; /* bits per pixel */
-#define FB_FLAG_NOMMAP 1 /* mmap unsupported. */
uint32_t fb_cmap[16];
};