在linux内核中对S3C2410的定义主要是两大块:
1.在include/asm-arm/arch-s3c2410中有许多关于2410的头文件(.h)
如:
regs-gpio.h regs-**** //相关的寄存器和控制位就定义在这类文件中
map.h
hardware.h
2.在linux/arch/arm/mach-s3c2410/gpio.c 中有许多关于2410的文件(.c .h)
如:
gpio.c
1.在include/asm-arm/arch-s3c2410中有许多关于2410的头文件(.h)
如:
regs-gpio.h regs-**** //相关的寄存器和控制位就定义在这类文件中
map.h
hardware.h
2.在linux/arch/arm/mach-s3c2410/gpio.c 中有许多关于2410的文件(.c .h)
如:
gpio.c
转自:http://hi.baidu.com/excellentderek/blog/item/fbb02edcc830c0a6cd1166a1.html