aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/terminal.h
diff options
context:
space:
mode:
authorAleksandr Rybalko <ray@FreeBSD.org>2013-12-23 18:09:10 +0000
committerAleksandr Rybalko <ray@FreeBSD.org>2013-12-23 18:09:10 +0000
commit7a1a32c4ef277b98b9164496091f7d50f203fb81 (patch)
tree8096d9fdebc1dab4523716b5f83ba8d7bb6ff9ec /sys/sys/terminal.h
parentddc31191a463cda5957cb5b2bf606738c074576a (diff)
downloadsrc-7a1a32c4ef277b98b9164496091f7d50f203fb81.tar.gz
src-7a1a32c4ef277b98b9164496091f7d50f203fb81.zip
o Add virtual terminal mmap request handler.
o Forward termianl framebuffer ioctl to fbd. o Forward terminal mmap request to fbd. o Move inclusion of sys/conf.h to vt.h. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=259777
Diffstat (limited to 'sys/sys/terminal.h')
-rw-r--r--sys/sys/terminal.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/sys/terminal.h b/sys/sys/terminal.h
index e76190b500a5..1809c0ac941c 100644
--- a/sys/sys/terminal.h
+++ b/sys/sys/terminal.h
@@ -95,6 +95,8 @@ typedef int tc_cngetc_t(struct terminal *tm);
typedef void tc_opened_t(struct terminal *tm, int opened);
typedef int tc_ioctl_t(struct terminal *tm, u_long cmd, caddr_t data,
struct thread *td);
+typedef int tc_mmap_t(struct terminal *tm, vm_ooffset_t offset,
+ vm_paddr_t * paddr, int nprot, vm_memattr_t *memattr);
typedef void tc_bell_t(struct terminal *tm);
struct terminal_class {
@@ -109,10 +111,11 @@ struct terminal_class {
/* Low-level console interface. */
tc_cnprobe_t *tc_cnprobe;
tc_cngetc_t *tc_cngetc;
-
+
/* Misc. */
tc_opened_t *tc_opened;
tc_ioctl_t *tc_ioctl;
+ tc_mmap_t *tc_mmap;
tc_bell_t *tc_bell;
};