boot : 压缩相关, 不考虑解读
lib : 底层库相关,咱不考虑解读
---
include : 各种 inline 函数, 各种宏
asm debug generated uapi
kernel :
mm :
mach-s3c :
kernel
linux_simple/arch/arm$ l kernel/
asm-offsets.c devtree.c entry-header.S irq.c ptrace.c signal.h suspend.c time.c
atags.h elf.c head-common.S Makefile reboot.c sigreturn_codes.S sys_arm.c traps.c
atags_parse.c entry-armv.i head.S opcodes.c reboot.h sleep.S tcm.c unwind.c
bugs.c entry-armv.S hyp-stub.S phys2virt.S setup.c smccc-call.S test.i
debug.S entry-common.S io.c process.c signal.c stacktrace.c test.S
entry
linux_simple/arch/arm/kernel$ ls entry* head*
entry-armv.i entry-armv.S entry-common.S entry-header.S head-common.S head.S
linux_simple/arch/arm/kernel$ ls irq* trap* smc* hyp* sys*
hyp-stub.S irq.c smccc-call.S sys_arm.c traps.c
调试
linux_simple/arch/arm/kernel$ ls stack* unwind* ptrace* *bug*
bugs.c debug.S ptrace.c stacktrace.c unwind.c
linux_simple/arch/arm/kernel$ ls opcode*
opcodes.c
include
linux_simple/arch/arm$ tree include/ -d
include/
├── asm
│ ├── hardware
│ ├── mach
│ ├── vdso
│ └── xen
├── debug
├── generated
│ ├── asm
│ └── uapi
│ └── asm
└── uapi
└── asm
生成物
include/generated 目录
调试
include/debug
约定
include/uapi
include/asm
lib
linux_simple/arch/arm$ l lib
ashldi3.S copy_page.S div64.S lib.a strchr.S
ashrdi3.S copy_template.S findbit.S lshrdi3.S strrchr.S
backtrace.S copy_to_user.S getuser.S Makefile testchangebit.S
bitops.h csumipv6.S io-readsb.S memchr.S testclearbit.S
bswapsdi2.S csumpartialcopygeneric.S io-readsl.S memcpy.S testsetbit.S
call_with_stack.S csumpartialcopy.S io-readsw-armv4.S memmove.S ucmpdi2.S
changebit.S csumpartialcopyuser.S io-writesb.S memset.S
clearbit.S csumpartial.S io-writesl.S muldi3.S
clear_user.S delay.c io-writesw-armv4.S putuser.S
copy_from_user.S delay-loop.S lib1funcs.S setbit.S
mm
linux_simple/arch/arm$ l mm
abort-ev6.S cache-v7.S fault.c ioremap.c mmu.c proc-v7-2level.S
abort-ev7.S context.c fault.h Kconfig pabort-v6.S proc-v7-bugs.c
abort-macro.S copypage-v6.c flush.c l2c-common.c pabort-v7.S proc-v7.S
alignment.c dma.h fsr-2level.c l2c-l2x0-resume.S pageattr.c tcm.h
cache-l2x0.c dma-mapping.c idmap.c Makefile pgd.c tlb-v6.S
cache-tauros3.h extable.c init.c mmap.c proc-macros.S tlb-v7.S
cache-v6.S fault-armv.c iomap.c mm.h proc-v6.S
mach-s3c
linux_simple/arch/arm$ l mach-s3c
adc-core.h iic-core.h pm-core.h regs-usb-hsotg-phy-s3c64xx.h
ata-core-s3c64xx.h include/ pm-core-s3c64xx.h s3c6410.c
backlight-s3c64xx.h init.c pm-gpio.c s3c64xx.c
cpu.c irq-pm-s3c64xx.c pm.h s3c64xx.h
cpu.h irq-uart-s3c64xx.h pm-s3c64xx.c sdhci.h
dev-audio-s3c64xx.c Kconfig pwm-core.h setup-fb-24bpp-s3c64xx.c
dev-backlight-s3c64xx.c keypad.h regs-clock.h setup-i2c0-s3c64xx.c
devs.c mach-smdk6410.c regs-clock-s3c64xx.h setup-i2c1-s3c64xx.c
devs.h Makefile regs-gpio.h setup-ide-s3c64xx.c
dev-uart.c map.h regs-gpio-memport-s3c64xx.h setup-keypad-s3c64xx.c
dev-uart-s3c64xx.c map-s3c64xx.h regs-gpio-s3c64xx.h setup-sdhci-gpio-s3c64xx.c
fb.h map-s3c.h regs-irq.h setup-usb-phy-s3c64xx.c
gpio-cfg.h map-s5p.h regs-irq-s3c64xx.h sleep-s3c64xx.S
gpio-cfg-helpers.h onenand-core-s3c64xx.h regs-irqtype.h usb-phy.h
gpio-core.h platformdata.c regs-modem-s3c64xx.h wakeup-mask.c
gpio-samsung.c pm.c regs-srom-s3c64xx.h wakeup-mask.h
gpio-samsung.h pm-common.c regs-syscon-power-s3c64xx.h
gpio-samsung-s3c64xx.h pm-common.h regs-sys-s3c64xx.h
linux_simple/arch/arm/mach-s3c$ tree include/ -d
include/
└── mach
|