summaryrefslogtreecommitdiffstats
path: root/sys/sys/fbio.h
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2014-08-06 00:35:48 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2014-08-06 00:35:48 +0000
commitcbaedb92a551dcf0d53c325920d9946d9904b379 (patch)
tree79381d4ed06b45321e5f992468e8ed32fc967d32 /sys/sys/fbio.h
parent7ecc74a225ebaa88f5ce1b85a323e3e58fbfa364 (diff)
downloadFreeBSD-src-cbaedb92a551dcf0d53c325920d9946d9904b379.zip
FreeBSD-src-cbaedb92a551dcf0d53c325920d9946d9904b379.tar.gz
Retire various intertwined bits of fbd(4) and vt_fb, in particular the
pixel modification indirection. No actual drivers use it and those that might (e.g. creatorfb) use custom implementations of vd_bitbltchr().
Diffstat (limited to 'sys/sys/fbio.h')
-rw-r--r--sys/sys/fbio.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/sys/fbio.h b/sys/sys/fbio.h
index d1f12dd..a88e305 100644
--- a/sys/sys/fbio.h
+++ b/sys/sys/fbio.h
@@ -115,19 +115,6 @@ struct fb_info;
typedef int fb_enter_t(void *priv);
typedef int fb_leave_t(void *priv);
-typedef int fb_write_t(void *priv, int offset, void *data, int size);
-typedef int fb_read_t(void *priv, int offset, void *data, int size);
-
-/* XXX: should use priv instead of fb_info too. */
-typedef void fb_copy_t(struct fb_info *sc, uint32_t offset_to, uint32_t offset_from,
- uint32_t size);
-typedef void fb_wr1_t(struct fb_info *sc, uint32_t offset, uint8_t value);
-typedef void fb_wr2_t(struct fb_info *sc, uint32_t offset, uint16_t value);
-typedef void fb_wr4_t(struct fb_info *sc, uint32_t offset, uint32_t value);
-
-typedef int fb_ioctl_t(struct cdev *, u_long, caddr_t, int, struct thread *);
-typedef int fb_mmap_t(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr,
- int prot, vm_memattr_t *memattr);
struct fb_info {
/* Raw copy of fbtype. Do not change. */
@@ -138,16 +125,8 @@ struct fb_info {
int fb_cmsize; /* size of color map (entries) */
int fb_size; /* total size in bytes */
- /* Methods. */
- fb_write_t *fb_write; /* if NULL, direct mem write. */
- fb_read_t *fb_read; /* if NULL, direct mem read. */
-
struct cdev *fb_cdev;
- fb_wr1_t *wr1;
- fb_wr2_t *wr2;
- fb_wr4_t *wr4;
- fb_copy_t *copy;
fb_enter_t *enter;
fb_leave_t *leave;
OpenPOWER on IntegriCloud