Android对Kernel的改动汇总

来源:互联网 发布:软件研制总结 编辑:程序博客网 时间:2024/05/16 07:16

From: http://www.linuxfordevices.com/files/misc/porting-android-to-a-new-device-p3.html

 

 

Goldfish -- 44 filesChgarch/arm/MakefileAdd CONFIG_ARCH_GOLDFISHNewarch/arm/configs/goldfish_defconfigDefault config file when building a kernel for the goldfish CPUNewarch/arm/mach-goldfish/KconfigAdd kernel config for Goldfish CPU.Newarch/arm/mach-goldfish/MakefileAdd compile board-goldfish.oNewarch/arm/mach-goldfish/Makefile.bootBoot configuration for the goldfish CPUNewarch/arm/mach-goldfish/audio.cAudio input/outputNewarch/arm/mach-goldfish/board-goldfish.cIRQs, io, etc.Newarch/arm/mach-goldfish/pdev_bus.cPlatform device busNewarch/arm/mach-goldfish/pm.cPower managementNewarch/arm/mach-goldfish/switch.cSwitch controlsNewarch/arm/mach-goldfish/timer.cGet and set timersChgarch/arm/mm/KconfigAdd ARCH_GOLDFISH to support list for ARM926TChgdrivers/char/MakefileAdd goldfish_ttyNewdrivers/char/goldfish_tty.cTTY driverChgdrivers/input/keyboard/KconfigAdded config option for Goldfish keyboard eventsChgdrivers/input/keyboard/MakefileAdd goldfish_eventsNewdrivers/input/keyboard/goldfish_events.cGoldfish keyboard driverChgdrivers/mmc/host/KconfigAdd kernel config option for Goldfish MMC cardChgdrivers/mmc/host/MakefileAdd goldfish MMC card driverNewdrivers/mmc/host/goldfish.cMulti Media Card driverChgdrivers/mtd/devices/KconfigAdd kernel config option for Goldfish NAND flash device supportChgdrivers/mtd/devices/MakefileAdd goldfish_nandNewdrivers/mtd/devices/goldfish_nand.cNAND flash driverNewdrivers/mtd/devices/goldfish_nand_reg.hNAND flash driverChgdrivers/power/KconfigAdd kernel config for goldfish battery driverChgdrivers/power/MakefileAdd goldfish_batteryNewdrivers/power/goldfish_battery.cPower and battery status driverChgdrivers/rtc/KconfigAdd kernel config for goldfish rtc driverChgdrivers/rtc/MakefileAdd rtc-goldfishNewdrivers/rtc/rtc-goldfish.cReal-time clock driverChgdrivers/video/KconfigAdd goldfish framebufferChgdrivers/video/MakefileAdd goldfish framebufferNewdrivers/video/goldfishfb.cVideo framebuffer driverNewinclude/asm-arm/arch-goldfish/dma.hNewinclude/asm-arm/arch-goldfish/entry-macro.SNewinclude/asm-arm/arch-goldfish/hardware.hNewinclude/asm-arm/arch-goldfish/io.hNewinclude/asm-arm/arch-goldfish/irqs.hNewinclude/asm-arm/arch-goldfish/memory.hNewinclude/asm-arm/arch-goldfish/system.hNewinclude/asm-arm/arch-goldfish/timer.hNewinclude/asm-arm/arch-goldfish/timex.hNewinclude/asm-arm/arch-goldfish/uncompress.hNewinclude/asm-arm/arch-goldfish/vmalloc.hYAFFS2 -- 35 filesChgfs/KconfigAdd include for YAFFS KconfigChgfs/MakefileAdd yaffsNewfs/yaffs2/KconfigNewfs/yaffs2/MakefileNewfs/yaffs2/devextras.hNewfs/yaffs2/moduleconfig.hNewfs/yaffs2/yaffs_checkptrw.cNewfs/yaffs2/yaffs_checkprtw.hNewfs/yaffs2/yaffs_ecc.cNewfs/yaffs2/yaffs_ecc.hNewfs/yaffs2/yaffs_fs.cNewfs/yaffs2/yaffs_getblockinfo.hNewfs/yaffs2/yaffs_guts.cNewfs/yaffs2/yaffs_guts.hNewfs/yaffs2/yaffs_mtdif.cNewfs/yaffs2/yaffs_mtdif.hNewfs/yaffs2/yaffs_mtddif1.cNewfs/yaffs2/yaffs_mtddif1.hNewfs/yaffs2/yaffs_mtddif2.cNewfs/yaffs2/yaffs_mtddif2.hNewfs/yaffs2/yaffs_nand.cNewfs/yaffs2/yaffs_nand.hNewfs/yaffs2/yaffs_nandemul2k.hNewfs/yaffs2/yaffs_packedtags1.cNewfs/yaffs2/yaffs_packedtags1.hNewfs/yaffs2/yaffs_packedtags2.cNewfs/yaffs2/yaffs_packedtags2.hNewfs/yaffs2/yaffs_qsort.cNewfs/yaffs2/yaffs_qsort.hNewfs/yaffs2/yaffs_tagscompat.cNewfs/yaffs2/yaffs_tagscompat.hNewfs/yaffs2/yaffs_tagsvaliditiy.cNewfs/yaffs2/yaffs_tagsvalidity.hNewfs/yaffs2/yaffsinterface.hNewfs/yaffs2/yportenv.hBluetooth -- 10 filesChgdrivers/bluetooth/KconfigAdd change so kernel config can select new 'HCI UART Debug'Chgdrivers/bluetooth/hci_II.cAdd BT_DBG() macro if 'HCI UART Debug' is defined in kernel configChgnet/bluetooth/KconfigAdd config options for debug of bluetooth L2CAP, generic sockets, HCI_CORE, HCI_SOCK, and voiceChgnet/bluetooth/af_bluetooth.cAdd security checks to bluetooth functions if CONFIG_ANDROID_PARANOID_NETWORK is definedChgnet/bluetooth/hci_event.cFix bugs related to bluetooth encryption and voice supportChgnet/bluetooth/rfcomm/core.cBug fixesChgnet/bluetooth/rfcomm/sock.cBug fixChgnet/bluetooth/sco.cAdd ability to disable SCO connectionsChginclude/net/bluetooth/hci_core.hDisable LMP_ESCO due to apparent eSCO bug in stackChginclude/net/bluetooth/rfcomm.hAdd 'out' parameter to rfcomm_dlc structureScheduler -- 5 filesChgkernel/sched.cAdds NORMALIZED_SLEEPER feature to scheduler features setChgkernel/sched_fair.cModifies kernel scheduling algorithm in various small waysChgkernel/softirq.cModifications for CPU scheduler tuningChgkernel/time/tick-sched.cModifications for CPU scheduler tuningChginclude/linux/tick.hAdd tick_nohz_update_stopped_sched_tick() if CONFIG_NO_HZ definedNew Android Drivers -- 28 filesChgdrivers/KconfigInclude sub-Kconfig filesChgdrivers/MakefileAdd drivers/switch and drivers/androidNewdrivers/android/KconfigAdd BINDER_IPC, POWER, POWER_STAT, POWER_ALARM, LOGGER, RAM_CONSOLE, TIMED_GPIO, PARANOID_NETWORK to configNewdrivers/android/MakefileAdd options to compile binder.o, power.o, alarm.o, logger.o, ram_console.o, timed_gpio.Newdrivers/android/alarm.cSystem alarm clock and real-time clock managementNewdrivers/android/binder.cBinder transactional IPC systemNewdrivers/android/logger.cGoogle's logging APINewdrivers/android/ram_console.cLog console messages to RAMNewdrivers/android/timed_gpio.cGoogle's Timed GPIO driverNewdrivers/switch/KconfigKernel config option for GPIO switch supportNewdrivers/switch/MakefileMakefile inlcude for GPIO switch driverNewdrivers/switch/switch_class.cAllows for userspace monitoring of generic switchesNewdrivers/switch/switch_gpio.cImplementation for GPIO-specific switchesChgdrivers/usb/gadget/KconfigAdd kernel config option for Android Debug Bridge (ADB)Chgdrivers/usb/gadget/MakefileCompile Android Debug Bridge (ADB) based on above kernel config optionNewdrivers/usb/gadget/android_adb.cAndroid Debug Bridge driverNewinclude/linux/android_aid.hAdds AIDs for BT, INET, and networkingNewinclude/linux/android_alarm.hGet and set real-time and other alarmsNewinclude/linux/android_timed_gpio.hStruct definitions for timed GPIOsNewinclude/linux/ashmem.hAndroid shared memory definitionsNewinclude/linux/binder.hBinder IPC API definitionNewinclude/linux/logger.hLogger definitionsNewinclude/linux/switch.hGPIO switch interfaceChgmm/MakefileCompile ashmem.o based on kernel configNewmm/ashmem.cAnonymous SHared MEMory implementationChgdrivers/misc/KconfigAdd kernel config option for LOW_MEMORY_KILLERChgdrivers/misc/MakefileAdd lowmemorykiller.cNewdrivers/misc/lowmemorykiller.cWhen memory is low, selects a process and kills itPower Management -- 5 filesNewinclude/linux/android_power.hAndroid power management API definitionsNewdrivers/android/power.cAndroid power management API implementationChgdrivers/input/evdev.cModified for android power handlingChgfs/inotify_user.cModified for android power handlingChgkernel/power/process.cModified for android power handlingMiscellaneous -- 36 filesNewDocumentation/vm/pagemap.txtChgarch/arm/KconfigAdd HAVE_LATENCYTOP_SUPPORT, ARCH_GOLDFISHChgarch/arm/kernel/process.cAdd dump_task_regs functionChgarch/arm/kernel/signal.cAdd code to deal with system calls that can't be restartedChgarch/arm/kernel/stacktrace.cAdd code to improve debug stacktracesChgarch/arm/mm/abort-ev6.SNot sure. Bugfix?Chgdrivers/char/KconfigAdd "Memory device driver" and "Goldfish TTY driver"Chgdrivers/char/mem.cAdds code to enable compile-out of /dev/kmem and /dev/memChgdrivers/leds/KconfigAdd config to turn LEDS on when CPU is running, but screen is offChgdrivers/leds/MakefileAdd change to compile ledtrig-sleep.o depending on above optionNewdrivers/leds/ledtrig-sleep.cTurns leds on when the screen is off but the CPU still runningChgdrivers/rtc/class.cFix bug related to error accumulation in real-time clockChgfs/fat/dir.cAdd VFAT_IOCTL_GET_VOLUME_ID to fat_dir_ioctl()Chgfs/fat/inode.cAdd code to read FAT BSX from MS-DOS FAT SuperblockChgfs/proc/base.cModify /proc for files related to out-of-memory adjusterChgfs/proc/proc_misc.cChanged kpagecount_read and kpageflags_read to return EINVAL instead of EIO on some errorsChgfs/proc/task_mmu.cSimplify error checking in add_to_pagemap, and add parameter check that returns faster in some casesChginclude/asm-arm/elf.hAdd macro ELF_CORE_COPY_TASK_REGS() that calls dump_task_regs(...)Chginclude/linux/mm.hAdd function prototype for shmem_set_file(...)Chginclude/linux/msdos_fs.hAdd VFAT_IOCTL_GET_VOLUME_ID ioctl macroChgkernel/hrtimer.cApparears to fix a bug in run_hrtimer_pendingChginit/KconfigAdd PANIC_TIMEOUT which defaults to 0Chgkernel/panic.cSets default panic_timeout to PANIC_TIMEOUT from KconfigChgkernel/power/console.cAppears to fix a related to virtual console restore error messageChgkernel/printk.cappears to fix printk bugs from when system is suspended/resumedChgmm/filemap.cAppears to fix bug in filemap_fault, which is used read in file data during a page faultChgmm/shmmem.cRefactor shmem_zero_setupChgmm/tiny-shmem.cRefactor shmem_zero_setupChginclude/linux/sockios.hadd SIOCKILLADDR socket configuration control to 'kill sockets with this local address'Chginclude/net/tcp.hAdd tcp_v4_nuke_addr functionChgnet/ipv4/MakefileCompile sysfs_net_ipv4 if CONFIG_SYSFS setChgnet/ipv4/af_inet_cAdd security checking if CONFIG_ANDROID_PARANOID_NETWORK definedChgnet/ipv4/devinet.cAdd SIOCKILLADDR to kill all sockets on an address to devinet_ioctChgnet/ipv4/sysfs_net_ipv4.cAdd ability to control TCP window lengthsChgnet/ipv4/tcp_ipv4.cAdd tcp_v4_nuke_addr function to kill all sockets on an addressChgnet/ipv6/af_inet6.cAdd security checking if CONFIG_ANDROID_PARANOID_NETWORK definedNetfilter -- 22 filesChgfilesOnly filenames differ (xt_DSCP.c vs xt_dscp.c). Contents are identical.
原创粉丝点击