From 4fc15d372550e4beea5b820f98bd19d998583a03 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 25 Oct 2015 14:15:10 +0000 Subject: [PATCH] graphics: add EXG operator --- Kernel/include/graphics.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/include/graphics.h b/Kernel/include/graphics.h index 324bec8c..1e96a9b4 100644 --- a/Kernel/include/graphics.h +++ b/Kernel/include/graphics.h @@ -43,6 +43,7 @@ struct display { to run the command on */ #define GFX_WRITE 256 /* Supports writing a buffer */ #define GFX_AWRITE 512 /* Supports writing an attribute buffer */ +#define GFX_EXG 1024 /* Simultaenous GFX_READ/GFX_WRITE to swap */ /* We may want to add some hardware ones as we hit machines that have them */ }; @@ -91,4 +92,5 @@ struct videomap { #define GFXIOC_SETMODE 0x0312 /* Set video mode */ #define GFXIOC_WRITE 0x0313 /* Write to screen direct */ #define GFXIOC_AWRITE 0x0314 /* Write to attributes direct */ +#define GFXIOC_EXG 0x0315 /* Exchange a block */ #endif -- 2.34.1