CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - INT 1
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - INT 1 - List
[
Linux driver
]
vector
DL : 0
使用vector 模拟二维数组的复习,举例: 可以定义vector 的元素仍然是一个vector 比如, vector <vector <int> > 即表示一个二维int 数组,里层的vector <int> 表示第一维, 外层的vector 表示第二维:-Vector to simulate a two-dimensional array of review, for example: you can define the vector elements is still a vector such as, vector <vector <int> > Means that a two-dimensional array of int, the inner layer of the vector <int> For the first dimension, the outer layer of the vector represents the second dimension:
Date
: 2026-01-07
Size
: 1kb
User
:
熊韬
[
Linux driver
]
printf.c
DL : 0
Unix原版输出函数printf int printf(const char*, va_list) -Unix original output functions int printf(const char*, va_list)
Date
: 2026-01-07
Size
: 2kb
User
:
cyztuo
[
Linux driver
]
NS73
DL : 0
liunx驱动NS73驱动程序 //#include "fmtrans.h" #include <linux/i2c.h> #include <linux/delay.h> // // #define FM_TRANS_ADDR 0xCC #define AMD_DEBUG 0 // // extern int au1xxx_i2c_write(unsigned char addr, unsigned char reg, unsigned char *val, unsigned char len) extern int au1xxx_i2c_read(unsigned char addr, unsigned char reg, unsigned char *val, unsigned char len) -FM Transmitter driver for liunx
Date
: 2026-01-07
Size
: 122kb
User
:
张绪礼
[
Linux driver
]
HelloJni.tar
DL : 0
1、每个被加载的模块,无论是可执行程序还是共享库,均有自己独立的PLT和GOT表。所以拦截这个模块的对外调用的GOT,不影响其他模块。 2、本文只实现了拦截模块的调出到其他模块的动作,其他模块的调入没有涉及到(可能还涉及到比较复杂的重定位操作)。 3、system_server是system用户,不是有权限写所有名字的Property,这里用了persist.sys.开头的属性名,而persist.sys.开头的属性会保存至磁盘,因此性能会差点儿。 4、ioctl虽然实质声明是个可变参数:int new_ioctl (int __fd, unsigned long int __request, /*void * arg*/ ...),这种声明的函数要直接透明地将参数从旧函数传递给新函数似乎还不可行,搜了很多资料也没找到。幸好搜了一把libbinder.so源码,里头对ioctl的调用参数均是仨,干脆就不处理变长形式了。 5、如果不以root身份运行注入程序,则ptrace附加时会失败。 6、Andriod系统的大部分Service都运行在system_server进程中,可以拦截到。但部分自定义的用户Service在用户进程中,如需要拦截,则要ptrace到那个用户进程才行,拦截方法也类似。-so inject
Date
: 2026-01-07
Size
: 357kb
User
:
konglingjiao
[
Linux driver
]
gpio
DL : 0
hi3516a的gpio驱动,已修改可用-gpio driver,must be used int hi3516a
Date
: 2026-01-07
Size
: 17kb
User
:
盛文杰
[
Linux driver
]
gpio-int-test.c
DL : 0
Program to test Linux GPIO drivers. This can test the interrupt implementation in the driver is working properly as well.-Program to test Linux GPIO drivers. This can test the interrupt implementation in the driver is working properly as well.
Date
: 2026-01-07
Size
: 2kb
User
:
Todd Fischer
[
Linux driver
]
cape-fxx
DL : 0
FXO/FXS cape driver for BeagleBone board FXX_DRV_VER 0.1 AM335 interface functions: int ioctrl_init(void) int ioctrl_cleanup(void) uint32_t *ioctrl_remap(uint32_t *addr_ptr, size_t block_len) int ioctrl_unmap(uint32_t *addr_ptr, size_t block_len) int ioctrl_set(uint8_t mode) GPIO fuctions: int gpio_init(void) int gpio_cleanup(void) int gpio_set_input_mode(void) int gpio_set_output_mode(void) gpio_t *gpio_pin_claim(const char *pin_name) int gpio_pin_release(gpio_t *gpio_ptr) int gpio_set_pin_input(gpio_t *gpio_ptr) int gpio_set_pin_output(gpio_t *gpio_ptr) int gpio_pin_out(gpio_t *gpio_ptr, pin_t val) int gpio_pin_out_once(const char *pin_name, pin_t val) gpio_module_t *gpio_module_claim(int num) int gpio_module_release(gpio_module_t *module_ptr) int gpio_module_out(gpio_module_t *module_ptr, uint32_t data) int gpio_module_out_once(int num, uint32_t data)
Date
: 2026-01-07
Size
: 82kb
User
:
Andrey
[
Linux driver
]
int
DL : 0
嵌入式LINUX操作系统内核初始化源代码jz2440开发板-linux kernel init source code
Date
: 2026-01-07
Size
: 12kb
User
:
your name
[
Linux driver
]
LCD
DL : 0
可以把系统的所有图片搜索出来,然后依次显示在lcd屏幕上-the program can show all the picture that find int the running system,also,that include the picture about bmp or jpeg.
Date
: 2026-01-07
Size
: 1.57mb
User
:
李振德
[
Linux driver
]
unsigned_long_long_int
DL : 0
c11 test int, long int, long long int size
Date
: 2026-01-07
Size
: 1kb
User
:
xxu
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.