linuxdriver_code_tool
所属分类:嵌入式Linux
开发工具:Unix_Linux
文件大小:24475KB
下载次数:126
上传日期:2008-08-18 22:56:14
上 传 者:
scofield1025
说明: linux驱动开发详解光盘代码及工具,非常棒的linux驱动开发学习工具
(explain the development of CD-ROM drive linux code and tools, a great learning tool linux-Driven Development)
文件列表:
linuxdriver_code_tool\03\2.6内核升级工具\device-mapper-1.00.19-2.i386.rpm (264287, 2007-04-28)
linuxdriver_code_tool\03\2.6内核升级工具\lvm2-2.00.25-1.01.i386.rpm (772098, 2007-04-28)
linuxdriver_code_tool\03\2.6内核升级工具\mkinitrd-4.2.0.3.tar.tar (63317, 2007-02-05)
linuxdriver_code_tool\03\2.6内核升级工具\module-init-tools-3.2.2.tar.bz2 (169182, 2007-02-04)
linuxdriver_code_tool\03\2.6内核升级工具\modutils-2.4.5-1.src.rpm (252089, 2007-02-04)
linuxdriver_code_tool\04\内核模块参数范例\book.c (1651, 2007-10-11)
linuxdriver_code_tool\04\内核模块导出符号\export_symb.c (949, 2007-10-14)
linuxdriver_code_tool\04\最简单的内核模块\hello.c (750, 2007-10-11)
linuxdriver_code_tool\05\udev源代码\udev-114.tar.gz (243918, 2007-08-18)
linuxdriver_code_tool\06\globalmem驱动\globalmem.c (5725, 2007-10-11)
linuxdriver_code_tool\06\包含2个globalmem设备的驱动\globalmem_two.c (6035, 2007-11-13)
linuxdriver_code_tool\07\含并发控制的globalmem驱动\globalmem_lock.c (6229, 2007-10-11)
linuxdriver_code_tool\08\globalfifo驱动\globalfifo.c (7629, 2007-10-11)
linuxdriver_code_tool\08\poll应用程序范例\pollmonitor.c (1330, 2007-10-11)
linuxdriver_code_tool\09\异步通知应用程序范例\asyncmonitor.c (1017, 2007-10-11)
linuxdriver_code_tool\09\支持异步通知的globalfifo\globalfifo_async.c (8095, 2007-10-11)
linuxdriver_code_tool\10\S3C2410实时钟驱动\s3c2410-rtc.c (13538, 2006-03-20)
linuxdriver_code_tool\10\秒设备驱动与应用程序\second.c (3574, 2007-10-11)
linuxdriver_code_tool\10\秒设备驱动与应用程序\second_test.c (932, 2007-10-11)
linuxdriver_code_tool\11\DMA范例\3c505.c (49764, 2006-03-20)
linuxdriver_code_tool\11\DMA范例\3c505.h (6568, 2006-03-20)
linuxdriver_code_tool\11\DMA范例\dma.h (9830, 2007-10-15)
linuxdriver_code_tool\11\静态映射范例\mach-smdk2440.c (5445, 2006-03-20)
linuxdriver_code_tool\12\NVRAM驱动\generic_nvram.c (3045, 2007-10-11)
linuxdriver_code_tool\12\平台设备\devs.c (10705, 2007-10-11)
linuxdriver_code_tool\12\看门狗驱动\s3c2410_wdt.c (12456, 2007-10-11)
linuxdriver_code_tool\12\触摸屏驱动\作为input设备\s3c2410_ts.c (8976, 2007-11-13)
linuxdriver_code_tool\12\触摸屏驱动\作为input设备\s3c2410_ts.h (667, 2007-10-15)
linuxdriver_code_tool\12\触摸屏驱动\作为普通字符设备\s3c2410-ts.c (9380, 2007-10-15)
linuxdriver_code_tool\13\IDE驱动\ide-disk.c (36322, 2007-10-11)
linuxdriver_code_tool\13\IDE驱动\ide-h8300.c (2352, 2007-10-11)
linuxdriver_code_tool\13\RAMDISK驱动\rd.c (14438, 2007-10-11)
linuxdriver_code_tool\14\S3C2410串口驱动\regs-gpio.h (39356, 2007-10-11)
linuxdriver_code_tool\14\S3C2410串口驱动\regs-serial.h (6563, 2007-10-11)
linuxdriver_code_tool\14\S3C2410串口驱动\s3c2410.c (41908, 2007-10-11)
linuxdriver_code_tool\14\串口核心层\serial_core.c (57718, 2007-10-11)
linuxdriver_code_tool\14\串口核心层\serial_core.h (13868, 2007-10-11)
linuxdriver_code_tool\15\S3C2410 I2C主机驱动\i2c-s3c2410.c (20553, 2007-10-11)
linuxdriver_code_tool\15\S3C2410 I2C主机驱动\iic.h (1029, 2007-10-11)
linuxdriver_code_tool\15\S3C2410 I2C主机驱动\regs-gpio.h (39356, 2007-10-11)
... ...
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
近期下载者:
相关文件:
收藏者: