1/* 2 * Copyright (c) 2007, 2008, 2009, 2010, ETH Zurich. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10interface fb "Framebuffer interface" { 11 rpc get_framebuffer(out errval err, out cap fbcap, out uint32 offset); 12 13 rpc set_videomode( 14 in uint16 xres, 15 in uint16 yres, 16 in uint8 bpp, 17 out errval error); 18 19 rpc get_vesamode(out uint16 mode, out bool linear, out errval error); 20 rpc set_vesamode(in uint16 mode, in bool linear, in bool clear, 21 out errval error); 22 23 rpc save_vesastate(out errval error); 24 rpc restore_vesastate(out errval error); 25 26 rpc vsync(); 27}; 28