Mercurial > hg > Members > kono > Cerium
annotate Renderer/Engine/fb.h @ 914:05696567d1d2
0 is filled on the spe side.
author | yutaka@localhost.localdomain |
---|---|
date | Thu, 22 Jul 2010 00:23:37 +0900 |
parents | 3d19bc6424d0 |
children | a193a851b5e3 |
rev | line source |
---|---|
507 | 1 #ifndef FB_H |
2 #define FB_H | |
3 | |
283 | 4 #if defined(__linux__) |
507 | 5 |
283 | 6 #include <unistd.h> |
7 #include <stdio.h> | |
8 #include <fcntl.h> | |
9 #include <linux/fb.h> | |
10 #include <linux/fs.h> | |
11 #include <sys/mman.h> | |
12 #include <sys/ioctl.h> | |
13 #include <stdlib.h> | |
14 #include <iostream> | |
15 using namespace std; | |
16 | |
17 | |
18 /* function prototype */ | |
19 void send_current_error_msg(const char *ptr); | |
20 void send_current_information(const char *ptr); | |
21 | |
896 | 22 #endif |
23 | |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
24 typedef struct screen_info { |
283 | 25 int xres,yres,vbpp,line_len; |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
26 char *fbptr; |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
27 } ScreenInfo , *ScreenInfoPtr; |
283 | 28 |
29 | |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
30 extern ScreenInfo get_fbdev_addr(void); |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
31 |
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
507
diff
changeset
|
32 #endif |