diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-05-30 06:37:39 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2008-05-30 06:37:39 +0000 |
commit | 82c55930f30197b26bf705b65b3b863d58a3ac62 (patch) | |
tree | 2326adcdb7783075f642ffb8b74491e25d3c9f60 /sys/dev/video_if.h | |
parent | fd998df73c0f8bf83f984240612b494135a5e85e (diff) |
Allocate static buffer for software frame buffer and make sure to not
overflow it.
Diffstat (limited to 'sys/dev/video_if.h')
-rw-r--r-- | sys/dev/video_if.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/video_if.h b/sys/dev/video_if.h index 4003eb5e4f5..eb672e75302 100644 --- a/sys/dev/video_if.h +++ b/sys/dev/video_if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: video_if.h,v 1.4 2008/05/26 17:51:18 mglocker Exp $ */ +/* $OpenBSD: video_if.h,v 1.5 2008/05/30 06:37:38 mglocker Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> * @@ -23,6 +23,7 @@ */ #define VIDEOUNIT(x) (minor(x)) +#define VIDEO_BUF_SIZE 65536 struct video_hw_if { /* open hardware */ |