diff options
author | yokota <yokota@FreeBSD.org> | 1998-10-01 11:39:18 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 1998-10-01 11:39:18 +0000 |
commit | 3d34bf047babbcd0a199d4a7bc2464a62066bc78 (patch) | |
tree | f7fcb33db5f1af78f7a852d912e39a8b0ff77fd5 /sys/i386/include/console.h | |
parent | 5b11e527361dc6279982c78cd72f2438aad9696e (diff) | |
download | FreeBSD-src-3d34bf047babbcd0a199d4a7bc2464a62066bc78.zip FreeBSD-src-3d34bf047babbcd0a199d4a7bc2464a62066bc78.tar.gz |
Yet another round of fixes for the VESA support code.
- Express various sizes in bytes, rather than Kbytes, in the video
mode and adapter information structures.
- Fill 0 in the linear buffer size field if the linear frame buffer
is not available.
- Remove SW_VESA_USER ioctl. It is still experimetal and was not meant
to be released.
- Fix missing cast operator.
- Correctly handle pointers returned by the VESA BIOS. The pointers
may point to the area either in the BIOS ROM or in the buffer supplied
by the caller.
- Set the destructive cursor at the right moment.
Diffstat (limited to 'sys/i386/include/console.h')
-rw-r--r-- | sys/i386/include/console.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/i386/include/console.h b/sys/i386/include/console.h index 638b74b..7f70bca 100644 --- a/sys/i386/include/console.h +++ b/sys/i386/include/console.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: console.h,v 1.39 1998/09/15 18:16:37 sos Exp $ + * $Id: console.h,v 1.40 1998/09/23 09:58:45 yokota Exp $ */ #ifndef _MACHINE_CONSOLE_H_ @@ -531,7 +531,6 @@ typedef struct {int scr_size[3];} scr_size_t; #define M_VESA_64K_1280 0x11a /* 1280x1024, 5:6:5 */ #define M_VESA_FULL_1280 0x11b /* 1280x1024, 8:8:8 */ #define M_VESA_MODE_MAX 0x1ff -#define M_VESA_USER 0x1ff #define SW_VESA_CG640x400 _IO('V', M_VESA_CG640x400 - M_VESA_BASE) #define SW_VESA_CG640x480 _IO('V', M_VESA_CG640x480 - M_VESA_BASE) @@ -561,7 +560,6 @@ typedef struct {int scr_size[3];} scr_size_t; #define SW_VESA_32K_1280 _IO('V', M_VESA_32K_1280 - M_VESA_BASE) #define SW_VESA_64K_1280 _IO('V', M_VESA_64K_1280 - M_VESA_BASE) #define SW_VESA_FULL_1280 _IO('V', M_VESA_FULL_1280 - M_VESA_BASE) -#define SW_VESA_USER _IO('V', M_VESA_USER - M_VESA_BASE) #endif /* !_MACHINE_CONSOLE_H_ */ |