35. Device Driver Interface System Call interface User Program Open Read close write Virtual File System Switch DevX_Open DevX_Read DevX_write DevX_close Hardware
98. ATAG Parameter List Command line to pass to kernel 2(length_of_cmdline + 3) / 4) 0x54410009 ATAG_CMDLINE Initial values for vesafb-type framebuffers 8 0x54410008 ATAG_VIDEOLFB 32 bit board revision number 3 0x54410007 ATAG_REVISION 64 bit board serial number 4 0x54410006 ATAG_SERIAL Describes where the compressed ramdisk image is placed in memory 4 0x54420005 ATAG_INITRD2 Describes how the ramdisk will be used in kernel 5 0x54410004 ATAG_RAMDISK Describes a VGA text display 5 0x54410003 ATAG_VIDEOTEXT Describes a physical area of memory 4 0x54410002 ATAG_MEM First tag used to start list 5 (2 if empty) 0x54410001 ATAG_CORE Empty tag used to end list 2 0x00000000 ATAG_NONE Description Size Value Tag name
115. Kernel Memory Layout on ARM Linux-2 FFFFFFFF FFFF7FFF FFFF0FFF FFFE FFFF FFBF FFFF FEFF FFFF VMALLOC_END-1 VMALLOC_START high_memory-1 PAGE_OFFSET-1 TASK_SIZE-1 0000 0FFF 0000 0000 Free for platform use, recommended. vmalloc() / ioremap() space. Memory returned by vmalloc/ioremap will be dynamically placed in this region. VMALLOC_START may be based upon the value of the high_memory variable. CPU vector page / null pointer trap CPUs which do not support vector remapping place their vector page here. NULL pointer dereferences by both the kernel and user space are also caught via this mapping. User space mappings Per-thread mappings are placed here via the mmap() system call. Kernel module space Kernel modules inserted via insmod are placed here using dynamic mappings. Kernel direct-mapped RAM region. This maps the platforms RAM, and typically maps all platform RAM in a 1:1 relationship. 0xC000 0000 Reserved for future expansion of DMA mapping region. DMA memory mapping region. Memory returned by the dma_alloc_xxx functions will be dynamically mapped here CPU vector page. The CPU vectors are mapped here if the CPU supports vector relocation (control register V bit.) Reserved. Platforms must not use this address range. copy_user_page / clear_user_page use.
179. ARM-Memory Managment Access control hardware ARM Cache and write buffer Cache line fetch hardware TLB Translation table walk hardware Main memory Abort VA PA C,B bits Access bits,domain
207. USER PROCESSES SYSTEM CALL INTERFACE VFS Ext2 Ext3 DOS FS Buffer Cache Device Driver IO REQUEST HARDWARE Kernel
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
226.
227.
228.
229.
230.
231.
Editor's Notes
Asmlinkage Paramters copied from user mode stack to registers before issuing system call Kernel copies paramters from CPU registers to kernel stack before calling routine