L4Re Operating System Framework – Interface and Usage Documentation
Loading...
Searching...
No Matches
goos_fb.h
Go to the documentation of this file.
1
5/*
6 * (c) 2009 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
7 * economic rights: Technische Universität Dresden (Germany)
8 *
9 * This file is part of TUD:OS and distributed under the terms of the
10 * GNU General Public License 2.
11 * Please see the COPYING-GPL-2 file for details.
12 *
13 * As a special exception, you may use this file as part of a free software
14 * library without restriction. Specifically, if other files instantiate
15 * templates or use macros or inline functions from this file, or you compile
16 * this file and link it with other files to produce an executable, this
17 * file does not by itself cause the resulting executable to be covered by
18 * the GNU General Public License. This exception does not however
19 * invalidate any other reasons why the executable file might be covered by
20 * the GNU General Public License.
21 */
22#pragma once
23
24#include <l4/sys/compiler.h>
25#include <l4/re/c/video/goos.h>
26#include <l4/sys/err.h>
27#include <l4/re/c/dataspace.h>
28
30
31typedef struct
32{
33 unsigned long _obj_buf[6];
34} l4re_util_video_goos_fb_t;
35
36L4_CV int
37l4re_util_video_goos_fb_setup_name(l4re_util_video_goos_fb_t *goosfb,
38 char const *name) L4_NOTHROW;
39
40L4_CV void
41l4re_util_video_goos_fb_destroy(l4re_util_video_goos_fb_t *goosfb) L4_NOTHROW;
42
43L4_CV int
44l4re_util_video_goos_fb_view_info(l4re_util_video_goos_fb_t *goosfb,
46
47L4_CV void *
48l4re_util_video_goos_fb_attach_buffer(l4re_util_video_goos_fb_t *goosfb) L4_NOTHROW;
49
50L4_CV int
51l4re_util_video_goos_fb_refresh(l4re_util_video_goos_fb_t *goosfb,
52 int x, int y, int w, int h) L4_NOTHROW;
53
55l4re_util_video_goos_fb_buffer(l4re_util_video_goos_fb_t *goosfb) L4_NOTHROW;
56
58l4re_util_video_goos_fb_goos(l4re_util_video_goos_fb_t *goosfb) L4_NOTHROW;
59
L4 compiler related defines.
Data space C interface.
Error codes.
l4_cap_idx_t l4re_ds_t
Dataspace type.
Definition dataspace.h:39
unsigned long l4_cap_idx_t
Capability selector type.
Definition types.h:358
#define L4_CV
Define calling convention.
Definition linkage.h:44
#define L4_NOTHROW
Mark a function declaration and definition as never throwing an exception.
Definition compiler.h:188
#define EXTERN_C_BEGIN
Start section with C types and functions.
Definition compiler.h:192
#define EXTERN_C_END
End section with C types and functions.
Definition compiler.h:193
View information structure.
Definition view.h:60