linuxdriver_code_tool
所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:24529KB
下载次数:360
上传日期:2009-01-30 12:29:33
上 传 者:
FX100
说明: LINUX设备驱动开发详解(光盘源码)。
(Detailed LINUX device driver development (CD-ROM source).)
文件列表:
linuxdriver_code_tool (0, 2009-01-14)
linuxdriver_code_tool\關於X86平台LINUX移植問題!.txt (3309, 2008-07-31)
linuxdriver_code_tool\22 (0, 2009-01-14)
linuxdriver_code_tool\22\内核调试工具 (0, 2009-01-14)
linuxdriver_code_tool\22\内核调试工具\ddd-3.3.11.tar.gz (7564005, 2005-03-16)
linuxdriver_code_tool\22\内核调试工具\gdbmod-2.4.bz2 (3301852, 2007-04-13)
linuxdriver_code_tool\22\内核调试工具\kdb-v4.4-2.6.15-rc5-common-1.bz2 (99992, 2005-12-04)
linuxdriver_code_tool\22\内核调试工具\kdb-v4.4-2.6.15-rc5-common-2.bz2 (100332, 2005-12-06)
linuxdriver_code_tool\22\内核调试工具\kdb-v4.4-2.6.15-rc5-i386-1.bz2 (85388, 2005-12-04)
linuxdriver_code_tool\22\内核调试工具\linux-2.6.15.5-kgdb-2.4.tar.tar (136838, 2007-04-27)
linuxdriver_code_tool\22\范例代码 (0, 2009-01-14)
linuxdriver_code_tool\22\范例代码\proc范例 (0, 2009-01-14)
linuxdriver_code_tool\22\范例代码\proc范例\sim_proc.c (2794, 2007-10-11)
linuxdriver_code_tool\22\范例代码\oops范例 (0, 2009-01-14)
linuxdriver_code_tool\22\范例代码\oops范例\oops_example.asm (2113, 2007-07-26)
linuxdriver_code_tool\22\范例代码\oops范例\oops_example.c (1957, 2007-11-13)
linuxdriver_code_tool\21 (0, 2009-01-14)
linuxdriver_code_tool\21\PCI骨架程序 (0, 2009-01-14)
linuxdriver_code_tool\21\PCI骨架程序\pci-skeleton.c (52594, 2007-11-13)
linuxdriver_code_tool\21\PCI驱动范例 (0, 2009-01-14)
linuxdriver_code_tool\21\PCI驱动范例\i810_audio.c (104493, 2007-10-11)
linuxdriver_code_tool\20 (0, 2009-01-14)
linuxdriver_code_tool\20\usb主机控制器驱动范例 (0, 2009-01-14)
linuxdriver_code_tool\20\usb主机控制器驱动范例\ohci-s3c2410.c (10922, 2007-10-11)
linuxdriver_code_tool\20\usb主机控制器驱动范例\usb-control.h (1214, 2007-10-11)
linuxdriver_code_tool\20\USB工具 (0, 2009-01-14)
linuxdriver_code_tool\20\USB工具\usbview-1.0.tar.tar (305802, 2007-08-04)
linuxdriver_code_tool\20\USB骨架程序 (0, 2009-01-14)
linuxdriver_code_tool\20\USB骨架程序\usb-skeleton.c (9845, 2007-10-11)
linuxdriver_code_tool\20\USB串口驱动 (0, 2009-01-14)
linuxdriver_code_tool\20\USB串口驱动\usb-serial.c (32022, 2007-10-11)
linuxdriver_code_tool\20\USB串口驱动\usb-serial.h (12119, 2007-10-11)
linuxdriver_code_tool\20\USB键盘驱动 (0, 2009-01-14)
linuxdriver_code_tool\20\USB键盘驱动\input.h (25775, 2007-10-11)
linuxdriver_code_tool\20\USB键盘驱动\usb_input.h (642, 2007-10-11)
linuxdriver_code_tool\20\USB键盘驱动\usbkbd.c (10291, 2007-10-11)
linuxdriver_code_tool\19 (0, 2009-01-14)
linuxdriver_code_tool\19\yaffs&yaffs2源代码 (0, 2009-01-14)
linuxdriver_code_tool\19\yaffs&yaffs2源代码\yaffs.tar.gz (146724, 2007-10-15)
linuxdriver_code_tool\19\yaffs&yaffs2源代码\yaffs2.tar.gz (127130, 2007-10-15)
... ...
fb_display()
Simple, cruel library function to display pictures on a framebuffer device.
SYNOPSIS:
extern void fb_display(unsigned char *rgbbuff,
int x_size, int y_size,
int x_pan, int y_pan,
int x_offs, int y_offs);
extern void getCurrentRes(int *x,int *y);
#define DEFAULT_FRAMEBUFFER "/dev/..."
or set FRAMEBUFFER="/dev/..." environment variable (takes precedense)
fb_display recives:
rgbbuff - (Red Green Blue) triples in an unsigned char[] table,
x_size - x picture size,
y_size - y picture size,
x_pan - x panning in picture,
y_pan - y panning in picture,
x_offs - x offset on screen,
y_offs - y offset on screen.
getCurrentRes sets:
*x - x screen size,
*y - y screen size.
It uses some code from fbset utility, which I think is GPL'ed,
so this code has to be GPL'ed too - and it is ;)
And one more - if You use it, You have to mention You used it. ;)
smoku / Stellar Technologies '2000
, http://s-tech.linux-pl.com
近期下载者:
相关文件:
收藏者: